[Ilugc] why embedded Linux not having swap partition.

  • From: bharathi.list@xxxxxxxxx (Bharathi Subramanian)
  • Date: Sun, 1 Apr 2012 18:36:50 +0800

On Wed, Mar 28, 2012 at 5:13 PM, Arun Venkataswamy <arun289 at gmail.com> wrote:

Arun pointed out the main reason for not including the Swap in
Embedded device. I will try to add some more info

? - From a design perspective, the design team will know how much RAM is
? required for a purpose built embedded device. This amount of RAM would have
? been provisioned physically.

Embedded System is for a specific set of task and designer can roughly
estimate the memory utilization. So most of the time, system will be
having enough RAM to do the core functions. If not enough RAM,
unwanted application will be kicked-out of the RAM. Read about Android
Low Memory Killer.

? - For a general purpose device, we can safely assume permanent storage
? would typically be on board flash or memory cards. Any flash based
? permanent storage has a fixed `life` or write cycles after which it is
? likely to fail. Continuous use of swap file will reduce the effective life
? of the device.

Read http://en.wikipedia.org/wiki/Wear_leveling

Bye :)
-- 
Bharathi Subramanian

Other related posts: