[ / / / / / / / / / / / / / ] [ dir / ancient / arepa / ausneets / bflo / leftpol / lewd / soyboys / sw ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 587766d73413130⋯.png (393.57 KB, 600x720, 5:6, love.png) (h) (u)

[–]

 No.918910>>918914 >>918919 >>918926 >>918985 >>919050 >>919073 >>919499 >>919815 [Watch Thread][Show All Posts]

Hi! ^.^

This is a happy little thread about microkernels OSes!

I love them so much conceptually but sadly they aren't really usable full time yet. ;_;

I can see them getting more popular soon though! We'll definitely see a paradigm shift.

Ok so theres Minix3 which has a cute raccoon logo and was also used by (((Intel))) for the ME.

It has coreutils and a lot of stuff taken from NetBSD. Same pkgsrc too!

It could a l m o s t be used as a little server OS, as it supports ftp, httpd, bind dns, dhcpd, and could even be an email server, but it has no packet filtering firewall like pf or iptables so it lacks security in that sense. I couldn't get most graphical environments to compile nor could I get a browser (outside of w3m or links) or sound, so definitely not desktop-capable. Also only 32-bit.

HURD is a similar story, only it can actually filter packets. Also it's a dead project that will never get anywhere at this point >_<

Anyway those are the old ones that are just kinda dead/dying. Theres 3 big new ones that are really exciting OwO

First is Genode OS. This is an "OS Framework" that supports pretty much the entire L4 series of microkernels, including seL4. They have been talking big about this thing based on it called sculpt, and I heard from some anon that QtWebkit or something like that got ported to it, so it seems it's progressing nicely. Can't wait to see more from this! Maybe they'll release an iso at some point? they stopped doing those years ago.

Next is Redox. Its made in Rust, and apparently takes inspiration from Plan9. They already have a GUI system which is amazing for how new this is. Sadly you can't do much with it yet but hopefully soon as it develops.

Finally, Google is making one called Fuchsia. I dont like this already because (((Google))) but it does mean a lot of things. First since they apparently want this to be put on phones, that kinda disproves the "microkernels have bad performance" maymay. If it's good enough for phones it's good enough for desktops or anything else. second is that it means we are definitely gonna see a rise of microkernels no matter what. Just kinda sucks that it had to be Jewgle that caused it. Hopefully we get a debotneted fork.

OMG I typed so much! Anyway what do u guys think? Long live the superior microkernel design!!

 No.918914>>918916 >>918918

>>918910 (OP)

What's the smallest practical kernel size possible on a modern (((x86))) desktop?

AmigaOS' Exec got by with 13kb in the late 80s.


 No.918916

>>918914

idk about compiled size, but minix3's kernel according to them is 12k lines. seL4 is probably even less.


 No.918918>>919315

File (hide): 733f819e688e607⋯.png (14.61 KB, 378x262, 189:131, ClipboardImage.png) (h) (u)

>>918914

ok heres what I got for minix3.


 No.918919>>918924 >>918925

>>918910 (OP)

>but sadly they aren't really usable full time yet

Yes they are. They are used commercially all the time. The big one is called QNX.

>superior microkernel design!

Microkernels are slower because of context switching cost. Having to go through 3 or 4 different programs for one task is very slow. Note that this is NOT the same thing as IPC limits which have gotten much faster.

Microkernels are good for some things that require stability and security but not speed.


 No.918924

File (hide): 882f263ea9241f8⋯.jpg (57.27 KB, 431x437, 431:437, AbsolutelyProprietary.jpg) (h) (u)


 No.918925

>>918919

QNX was pretty fast though. And most computationally expensive stuff isn't syscall bound (see what was and what wasn't impacted by the spectre fixes).


 No.918926>>918929 >>918985

>>918910 (OP)

How many little boys have your greasy fat hands touched?


 No.918927>>918928 >>918929 >>919316 >>922264

Microkernels are generally a good thing, but microkernels written in C and/or emulate UNIX all suck. Microkernels are supposed to reduce costs and development time, but C and UNIX increase costs and development time instead. If the Hurd didn't have to emulate UNIX, it would have been completed the same year it started and it would have been faster than UNIX and use much less code overall. Even better is not needing a kernel.

Anyway, you have to have hard links to your kernel file in
both root directories. Then since mach is not a kernel but
a microkernel (the micro kernel binary with symbol tables,
debugger, etc is a svelte 950k on a MIPS box, unix emulation
is only another 1500k; I actually *needed* the extra 10 megs
on the root partition) you have to create a mach_servers
directory and populate it with various programs that mach
uses to emulate unix.

   Try the case where the interpreter specified on the #!
line is *itself* implemented by an interpreted
script. Now if a reasonable person were implementing
this, it would just work. Recursion is a concept
understood by most 18-year-old CS majors. Apparently
this notion escaped the notice of the BSD/SunOS guys,
because on my Unix, one level is all you get.

You Just Don't Understand. Writing Code To Run Inside
Kernels Is A Hard Problem. (That's why we have
microkernels; so you can have programmers of average ability
writing system software and not necessarily crashing
everything when it breaks.) You can't just allow unbounded
recursion inside the Kernel. You might overflow your Kernel
stack which is of course set at some small wired in constant
in keeping with unix tradition (Simple!). And of course, No
One Would Ever Want To Specify Another Shell Script In The
#! Line.

I have a machine named EXXON-VALDEZ on my desk. This was
from when I nominally worked in fault tolerant computing; I
figured it would be good karma to name the machine after a
huge disaster as a precautionary measure. (I'm quite
superstitious in strange ways.) Now the hardware has been
replaced and I'm about to name the machine something else.
I'm thinking of the name MBUF. I suppose it wouldn't be
such a big change; the machine would still be named after a
huge disaster...


 No.918928

File (hide): 17129b7d82a99ca⋯.jpg (45.53 KB, 410x498, 205:249, DX3ptTgXUAEHoG3.jpg) (h) (u)

>>918927

> If the Hurd didn't have to emulate UNIX, it would have been completed the same year

HAHAHAHAHAA


 No.918929

>>918927

well at least we can agree on microkernels being good, mister lisp meanie!

>>918926

zero of course!


 No.918985

>>918910 (OP)

OwO

microkernels are nice

gas the jews with mk-powered robots

>>918926

6 gorillion


 No.919050>>919051 >>919060

>>918910 (OP)

Why are microkernels so consistently unpopular in server and desktop use? Other than being the ME botnet OS (Minix) they haven't really taken off. The idea sounds good to me, but it it also seems like it's universally hard to implement (see HURD).


 No.919051>>919056

>>919050

Because they are slow.


 No.919056

>>919051

See the thingy I wrote about Fuchsia. As botnet as it’s likely to be given its creator being Jewgle, the fact that one of its platforms will be mobile phones is proof to me that the performance decrease can’t be that bad. Also see what others in this thread mentioned about QNX.


 No.919060>>919385

>>919050

I’d attribute it to Windows, MacOS, and GNU/Linux getting popular first, and also the FUD about performance.


 No.919062>>919191

File (hide): dc5038783fc49a4⋯.jpeg (35.82 KB, 400x400, 1:1, RZdTwK6X_400x400.jpeg) (h) (u)

>that trapboi UwU typing style

Alex, is that you.


 No.919073>>919191


 No.919191

>>919062

UwU who's alex?

>>919073

Yeah ive seen that. Tried HURD already and like I said its kinda not great in terms of usability for full-time.


 No.919315

>>918918

>du -k /boot/minix_latest

HAHAHAHA retarded faggotposter can't into du -s

protip: du -k counts the size of the directory entry, not the files inside LOL


 No.919316

>>918927

>it's the fucking retard whose only arguments are in the form of copypastas from obscure 9000-year-old texts


 No.919385>>919388 >>919420

>>919060

>and also the FUD about performance.

Remember guys anything thats shit about your favorite thing is always FUD. Everything is free, they are better in every way.


 No.919388>>919420

>>919385

Do you not understand the FUD going around that's directed towards microkernels? The FUD says that microkernel overhead is too large to be usable. That is the definition of fear, uncertainty and doubt.


 No.919420>>919424

>>919388

You tell him!! ^_^

>>919385

I won't deny they are slower, but not to the point of it actually mattering, at least with modern ones.


 No.919424

>>919420

kill yourself, obnoxious tripfag


 No.919499>>920224

>>918910 (OP)

don't forget about MirageOS, HalVM, and OSv. They're excellent.


 No.919815

>>918910 (OP)

>tripfag thread

sage


 No.920224

>>919499

umm those are the exact opposite of what im talking about. Those are unikernels, silly!


 No.920289

jump in


 No.920932>>920940 >>921877

microkernels are 50% slower than monolithic. let that sink in

50%


 No.920940>>920976 >>921869

>>920932

1. [Citation needed]

2. This is offset quite a bit by increased modularity. If you look at HURD they have filesystem translators for all kinds of protocols like ftp/gopher/xml/etc. Having standard components like this allows user applications to be far less bloated. Instead of having a dozen monolithic applications each using their own libraries you can have a couple translators and a dozen thin client programs served by the translators.


 No.920976>>921857

>>920940

>2. This is offset quite a bit by increased modularity

>Microkernel speed penalty is mitigated by turning it into a monolithic kernel

really makes you think


 No.921857

>>920976

>modular == monolithic

You're a moron.


 No.921869>>921875 >>921909 >>922017

>>920940

>This is offset quite a bit by increased modularity.

Remember guys modular means good. Increased modularity in no way means more bloat.


 No.921875>>921876

>>921869

> Increased modularity in no way means more bloat.

Yes and no, the hurds way of doing things reduces a lot of needs that ask for their own project, for example most of the mess that is docker isn't necessary anymore thanks to subhurds and neighborhurds isolation, same thing for debugging you can live debug the microkernel thanks to that system, init systems becomes trivial etc...


 No.921876>>921879

>>921875

>he hurds way of doing things

Ah yes if there is something GNU code is known for its not bloating shit up for supporting random shit no one uses.


 No.921877>>921909

>>920932

>50%

Nope more like 10~20% and that was a understandable to not want that in the 90s but nowadays it's stupid.

To completely remove the performance problem hardware must be adapted to support the hurds microkernels design.


 No.921879>>921880

>>921876

Yes because other OS are known to no insert the blob bloat or support proprietary software.

> shit no one uses

If it's in there then someone used it at some point.


 No.921880

>>921879

>If it's in there then someone used it at some point.

Yes anon if literally anyone ever used it, it should be included forever on everyones system and never deleted from the source.


 No.921909>>921913 >>921946

File (hide): a02ad39573b12a4⋯.jpg (49.58 KB, 600x600, 1:1, UwU.jpg) (h) (u)

>>921869

*giggles* you're silly! Modularity doesn't make stuff bloated at all! ^.^

After all, if it did, then poetteringd would be the most /minimal/ thing out there, but clearly its not.

Ive probably said this before, but microkernel design takes the most memorable and loved part of the unix philosophy, "do one thing and do it well", and takes it even further than the people who came up with that intended, expanding the concept to the kernel itself.

I mean if you're gonna have a super-modular and separated out toolset, why not do that to the kernel too?

OwO it makes me excited that this OS design may get popular soon!

>>921877

idk about hurd, I think its a dead meme, but I agree that the performance thing is FUD and you're right that it's probably more like 10% these days. Things have gotten a lot better since the days of mach.


 No.921913>>921917 >>922275

>>921909

The "eunuch philosophy" for software design is an abject failure, as is the C language.


 No.921917

>>921913

hi mister lisp meanie!


 No.921946>>922223

>>921909

>After all, if it did, then poetteringd would be the most /minimal/

<If something is not modular that makes it minimal

retarded


 No.922017

>>921869

>i have no idea how the unix philosophy works


 No.922223>>922225

>>921946

Thats what you said!

You sarcastically said "Remember guys modular means good. Increased modularity in no way means more bloat."

which to me implies that you believed that reduced modularity means less bloat. But clearly thats not the case.


 No.922225

>>922223

Only if you are an idiot and interpret what I said as "If you make something non modular it cannot also be bloated".


 No.922264>>922273

>>918927

Why do you keep posting?, we don't need you to post anymore, we can already predict with precision where you are going to post and what you're going to post an hour before you do it, you're like that one guy who insist in blurting out the obvious joke that is so obvious noone wated to say it because they knew everyone was thinking of the same thing. Keep lurking if you want, but there's no point in you to keep posting anymore when we already know exactly what you're thinking.


 No.922273

>>922264

I see the block quote and don't even read them at this point


 No.922275>>922287

>>921913

But it works today. Wake me up when I can buy a multi-user, multi-processing general purpose computer that doesn't rely on either a Unix-like or C.


 No.922287




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
49 replies | 7 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / ancient / arepa / ausneets / bflo / leftpol / lewd / soyboys / sw ][ watchlist ]