|
uclinux and MMU Printed from: Neuros Forums Topic: Topic author: JoeBorn
Subject: uclinux and MMU This was from an email conversation that I found interesting.
Replies:
Reply author: spudmonkey
quote: Well, we should also allow that an MMU also buys you security and protection from rogue programs. Security is usually not too important in handheld devices with no network. But protection from other programs gives better system reliability and avoids some very difficult-to-debug problems. In the context of the above comment, we were discussing only performance issues. quote: This should have a caveat as well: Because you have a single address space with uClinux, you don't have to flush the caches on process context switches. This is true and it makes the uClinux context switching time an order of magnitude faster than the Linux context switching time. But let's not forget the good performance benefits of the MMU: It can eliminate many forms of memory fragementation. In a streaming system, the page cache will be used a lot and will tend to fragment memory. uClinux will periodically try to recover memory and this can cause small hiccups in performance. With the MMU, Linux gives the possibility of eliminating hiccups to out-of-memory-due-to-fragementation problems. Hmmm... with 2.6, uClinux and Linux have been merged. They are not separate things any more -- they are both just Linux now. So, to be accurate, perhaps we should say "Linux with a flat address space" instead of "uClinux?" Greg Neuros Forums : http://www.neurosaudio.com/community/forum/ © Copyright ©2002-05 Neuros Technology International, LLC all rights reserved. |