Linus Torvalds' post to comp.os.minix newsgroup.
Linus Torvalds' post to comp.os.minix newsgroup.
What has that to do with Minix now?
Linux caches in RAM pages of files it reads. It will evict them at the drop of a hat if it needs to.
Sadly, no matter how many blog entries appear on the subject, people still expect to see free ram, and think linux is bloated when they don't see any.
If you don't like that behavior, I don't know if any OSes leave "free" ram untouched. They might call it free though, even when it's used by the OS for caching.
On the issue of microkernels vs monolithic, I prefer microkernels for their elegance in theory. If one appears with performance in the ballpark of linux, that glibc supports and that will run linux userland with no problems, I'll switch. I will not, however, give up functionality in the name of ideology.
$ free -m
total used free shared buffers cached
Mem: 2009 1491 518 0 466 363
-/+ buffers/cache: 661 1348
Swap: 1992 0 1992
Here, you want the number 1348, which is the "free" memory you have, not the number "518" which at first glance is the "free" memory."It was only with the third version, MINIX 3, and the third version of the book, published in 2006, that the emphasis changed from teaching to a serious research and production system, especially for embedded systems. A few of the many differences between MINIX 2 and MINIX 3 are given here.
Going forward, we are making a serious effort to turn MINIX 3 in an industrial-grade system with a focus on the embedded market, especially for those applications that need high reliability and availability."
But I'm fairly skeptical about how much use (if any) Minix is getting outside research and education. Aren't there already widely deployed HR/HA OSs that target the embedded market? What real advantages does Minix have over something like VxWorks?
Does VxWorks come with source code? I guess this might be critical to some type of applications.
For me the positive is to see more microkernel architectures getting spread.