|
Ashwin Patwekar
05/07/2009 10:28 AM
post28921
|
Hi ,
I am using devb-ram to create a ramdisk. After loading the devb-ram a lot of memory seems to be used. The following is
the output when I create a default ramdisk of 2M
# pidin info
CPU:PPC Release:6.3.0 FreeMem:47Mb/64Mb BootTime:May 07 19:10:12 UTC 2009
Processor1: 80822014 8280 266MHz FPU
# devb-ram
# DINIT
Path=0 -
target=0 lun=0 Direct-Access(0) - ram Rev:
# pidin info
CPU:PPC Release:6.3.0 FreeMem:35Mb/64Mb BootTime:May 07 19:10:12 UTC 2009
Processor1: 80822014 8280 266MHz FPU
which is way way more than 2M. An overhead of 10M is a lot for a 2M ramdisk.
With blk option cache=128k the numbers are good. Since its a ram based file system and access would be fast what would
be the ideal cache size for a ram based filesystem ?
Thanks and Regards,
Ashwin
|
|
|
|
|