@uis@lemm.ee avatar

uis

@uis@lemm.ee

Don’t be worse than Russia. Please fix.

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

uis , an linuxmemes in Comment on a YT video about Windows on ARM
@uis@lemm.ee avatar

Also horses in Gentoo

uis , an linuxmemes in Comment on a YT video about Windows on ARM
@uis@lemm.ee avatar

Compiles in Gentoo

uis , an Memes in WYM I'M UNQUALIFIED?!
@uis@lemm.ee avatar

College favours the rich, who can afford it and I don't think people with higher education are better at planning their future.

I'll rephrase it to show flaw: Schools favours the rich, who can afford it and I don't think literate people are better at planning their future.

uis , an Memes in WYM I'M UNQUALIFIED?!
@uis@lemm.ee avatar

Higher education is being sold dreams and taking on debt to learn to be a better employee. Sounds about right.

Don't be worse than Russia. Please fix.

uis , an Memes in WYM I'M UNQUALIFIED?!
@uis@lemm.ee avatar

The original idea behind school isn't to educate the masses. Why would a factory worker need to know calculus and Shakespeare? He needs to read the clock and timetables, be on time, wake up in the morning early enough to be punctual, ...

In certain country reading clock and timetables was deemed not enough for factory worker.
https://lemm.ee/pictrs/image/5831096d-865c-4f2e-9bb5-23ebaf73175b.jpeg

uis , an Memes in Arrrrrr
@uis@lemm.ee avatar

If by streaming you mean watch as it loads, then you can stream torrent.

uis , an Memes in Arrrrrr
@uis@lemm.ee avatar

Do I have to wait till the whole season is out or do I torrent each episode separately? Neither sounds fun. I can just click the episode I want to watch and watch it. Why bother to download it as a whole?

What does this has to do with anything? You just download and watch. You can even download and watch at the same time. Or download and watch later even without internet.

uis , an Memes in Arrrrrr
@uis@lemm.ee avatar

In Russian law only sharing is illegal, not downloading. And proving your intent is impossible if you don't have formal education. Basically "I didn't know" is rock-solid defence.

uis , an Memes in Arrrrrr
@uis@lemm.ee avatar

Germany is relatively strict with torrents

Don't be worse than Russia. Please fix.

uis , an linuxmemes in No Mercy
@uis@lemm.ee avatar

First, this is an argument that derived from first generation microkernels, and in particular, MINIX, which - as a teaching aid OS, never tried to play the benchmark game.

Indeed, first generation microkernels were so bad, that Jochen Liedtke in rage created L3 "to show how it's done". While it was faster than existing microkernels, it was still slow.

One paper notes that, once the working code exceeds the L2 cache size, there is marginal advantage to the monolithic structure.

  1. The paper was written in pre-meltdown era.
  2. The paper is about hybrid kernels. And gutted Mach(XNU) is used as example.
  3. Nowdays(after meltdown) all cache levels are usually invalidated during context switch. Processors try to add mechanisms to avoid this, but they create new vulnreabilities.

A second paper running benchmarks on L^4^Linux vs Linux concluded that the microkernel penalty was only about 5%-10% slower for applications than the Linux monolithic kernel.

    1. Waaaaay before meltdown era.

I'll mark quotes from paper as doublequotes.

a Linux version that executes on top of a first-
generation Mach-derived µ-kernel.

  1. So, hybrid kernel. Not as bad as microkernel.

The corresponding penalty is 5 times higher for a co-located
in-kernel version of MkLinux, and 7 times higher for a user-
level version of MkLinux.

Wait, what? Co-located in-kernel? So, loadable module?

In particular, we show (1) how performance can be
improved by implementing some Unix services and variants
of them directly above the L4 µ-kernel

  1. No surprise here. Hybrids are faster than microkernels. Kinda proves my point, that moving close to monolithic improves performance.

Right now I stopped at the end of second page of this paper. Maybe will continue later.

this blog entry

Will read.

uis , an linuxmemes in No Mercy
@uis@lemm.ee avatar

Well, even monolithic Linux can restart fs driver if it dies. I think.

uis , an linuxmemes in No Mercy
@uis@lemm.ee avatar

Can you elaborate? I am not an OS design expert, and I thought microkernels had some advantages.

Many people think that microcernels are only way to run one program on multiple machines without modyfing them. Counterexample to such statement is Plan 9, which had such capability with monolithic kernel.

uis , (Bearbeitet ) an linuxmemes in No Mercy
@uis@lemm.ee avatar

This particular issue could be solved in most cases in a monolithic kernel. That it isn't, is by design.

It was(see CLONE_DETATCHED here) and is(source)

Create a program that is guaranteed to become a zombie. Run it within a filesystem mounted by an in-kernel module, like a remote nfs mount. You now have a permanently mounted NFS mount point.

Ok, this is not really good implementation. I'm not sure that standard requires zombie processes to keep mountpoints(unless its executable is located in that fs) untill return value is read. Unless there is call to get CWD of another process. Oh, wait. Can't ptrace issue syscall on behalf of zombie process or like that? Or use vfs of that process? If so, then it makes sense to keep mountpoint.

Every module is killable, crashable, upgradable - all without forcing a reboot or affecting any processes not using the module.

except without the benefits of actually being a microkernel.

Except Linux does it too. If graphics module crashes, I still can SSH into system. And when I developed driver for RK3328 TRNG, it crashed a lot. Replaced it without reboot.

Microkernels are better. Popularity does not prove superiority, except in the metric of popularity.

As I said, we live in post-meltdown world. Microkernels are MUCH slower.

uis , an linuxmemes in No Mercy
@uis@lemm.ee avatar

take a look at FreeRTOS

AFAIK FreeRTOS always ran drivers in kernel.

As long as there's some processing RAM and sufficient ROM, I'm sure that it can be crammed in there via firmware

You can't even emulate MPU without MPU. The only way is running bytecode, which is still not context switching.

Some madlads forked Linux to get it to work without an MMU, even getting it merged into the mainline kernel: https://en.m.wikipedia.org/wiki/%CE%9CClinux

You are correct here. Should have said MPU instead.

uis , an Memes in priorities
@uis@lemm.ee avatar
  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine