A file of 5 MB on tmpfs file system uses 5 MB of RAM or more?

DI BACCO ANTONIO - technolabs Antonio.DiBacco at technolabs.it
Sat Jan 19 00:15:02 EST 2008


I have a linux-2.6.19.2 board with an MPC880 with 16MB ram and 16 MB
flash. 
Normally I have 9-10 MB of free RAM.
 
If I allocate 5 MB of ram memory, the system continues to work normally,
but if, instead of allocating 5 MB directly, I fill the /tmp directory
(that has a tmpfs file system) with a 5MB file the system becomes slow
and after some minutes the oom_killer is invoked. Before it dies I had
the time to see that mtdblockd is taking a lot of CPU (20%), what could
be the problem?
 
Any hint will be appreciate,
Bye,
Antonio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080118/9014aaa2/attachment.htm 


More information about the Linuxppc-embedded mailing list