public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ramfs or ramdisk
@ 2007-09-05 13:40 Saravanan Chanemouganandam
  0 siblings, 0 replies; 3+ messages in thread
From: Saravanan Chanemouganandam @ 2007-09-05 13:40 UTC (permalink / raw)
  To: linux-arm; +Cc: linux-mtd

Hi all,

I would like to know which rootfs files system is best for the embedded 
systems, ramfs rootfs or ramdisk rootfs ?Can anyone point me interms of 
memory advantage.

Thanks
Sara

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: ramfs or ramdisk
@ 2007-09-05 15:06 Michael Langford
  2007-09-06 16:15 ` Mo, Vincent
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Langford @ 2007-09-05 15:06 UTC (permalink / raw)
  To: Saravanan Chanemouganandam, linux-arm; +Cc: linux-mtd

-----Original Message-----
Subject: ramfs or ramdisk

I would like to know which rootfs files system is best for the embedded 
systems, ramfs rootfs or ramdisk rootfs ?Can anyone point me interms of 
memory advantage.

Thanks
Sara

---------------------------

Timesys has a website(https://linuxlink.timesys.com/docs/initramfs) and
podcast talking about the differences at their website. I believe the
pertinent discussions of the different filesystems and the boot time
tradeoffs are in the following episodes:

http://www.timesys.com/podcasts/mp3/Episode_011_LinuxLink_Radio.mp3
http://www.timesys.com/podcasts/mp3/Episode_012_LinuxLink_Radio.mp3

     --Michael

PS: I have no affiliation with them, just listen to their podcast.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: ramfs or ramdisk
  2007-09-05 15:06 Michael Langford
@ 2007-09-06 16:15 ` Mo, Vincent
  0 siblings, 0 replies; 3+ messages in thread
From: Mo, Vincent @ 2007-09-06 16:15 UTC (permalink / raw)
  To: Michael Langford, Saravanan Chanemouganandam, linux-arm; +Cc: linux-mtd

>From "Embedded Linux System Design and Development":


RAMDISK:
Implemented as a block device in RAM, need to create a file system on
top of it.

Needs to be preallocated in RAM before use.

2 copies of program pages are maintained: in ramdisk and in the kernel
page cache when any program is executed out of ramdisk.

Slower because any data access needs to go through the file system and
block device driver.



RAMFS:
Is a file system implemented directly in RAM.

No preallocation necessary.  Dynamic growth based on requirement.

Whenever a program is executed from a RAMFS, only one copy that is in
the kernel cache is used.  No duplication.

Is relatively faster as actual file data and metadata are in kernel
cache and no file system and block device driver overheads are involved.

  

 

 
 
 
 

Vincent Mo
Software Engineer
EADS NA Defense

>-----Original Message-----
>From: linux-arm-bounces@lists.arm.linux.org.uk [mailto:linux-arm-
>bounces@lists.arm.linux.org.uk] On Behalf Of Michael Langford
>Sent: Wednesday, September 05, 2007 8:06 AM
>To: Saravanan Chanemouganandam; linux-arm@lists.arm.linux.org.uk
>Cc: linux-mtd@lists.infradead.org
>Subject: RE: ramfs or ramdisk
>
>-----Original Message-----
>Subject: ramfs or ramdisk
>
>I would like to know which rootfs files system is best for the embedded
>systems, ramfs rootfs or ramdisk rootfs ?Can anyone point me interms of
>memory advantage.
>
>Thanks
>Sara
>
>---------------------------
>
>Timesys has a website(https://linuxlink.timesys.com/docs/initramfs) and
>podcast talking about the differences at their website. I believe the
>pertinent discussions of the different filesystems and the boot time
>tradeoffs are in the following episodes:
>
>http://www.timesys.com/podcasts/mp3/Episode_011_LinuxLink_Radio.mp3
>http://www.timesys.com/podcasts/mp3/Episode_012_LinuxLink_Radio.mp3
>
>     --Michael
>
>PS: I have no affiliation with them, just listen to their podcast.
>
>
>-------------------------------------------------------------------
>List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
>FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
>Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-06 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 13:40 ramfs or ramdisk Saravanan Chanemouganandam
  -- strict thread matches above, loose matches on Subject: below --
2007-09-05 15:06 Michael Langford
2007-09-06 16:15 ` Mo, Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox