Results 1 to 3 of 3

Thread: 15Mb for /ramdisk is waste mem for my 22Mb RAM

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    1

    15Mb for /ramdisk is waste mem for my 22Mb RAM

    Hello everyone !!
    I wish ask about /ramdisk which is mountpoint for /dev/shm.Is it possible to reduce size from 15Mb (22Mb full memory) to, let say 7 or 8 Mb ? 15Mb is such a waste of memory since I use only 1 or 2 Mb of space in /ramdisk.
    Is it possible to reduce size after boot(I mean not to hav write a new "special changed" CD).
    Any advise are wellcome.Thank You for listening me.
    p.s. i wrote this message with links so if something is wrong: sorry :)

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Posts
    5
    Quite agree.

    tarring off a complete partition for backup, drive 1 to drive 2 ... was unusually slow.

    Has the fact that the ramdisk has gone & eaten vast majority of ram anything to do with this??

    My system has a knoppix.img "partition" for home on disk, so I don't see why of 512M ram on my PC the ramdisk home needs over 400M. top says that ram is very full with less then 5M free whilst the tar was running.

    Can't see any boot time parameter to set or limit ramdisk size. Very odd given that a home partition CAN be defined. Shouldn't the ramdisk rules be different if there IS a home partition??

    Of course, if unused ramdisk was swapped out, releasing ram - that would be good (but rather complex) & leave me barking up the wrong tree.

    Whats the skinny on this??

    ?:^)brodders

  3. #3
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22
    Don't trust top when it comes to memory usage. Top counts the diskcache as memory in use and because linux tries to cache as much as it can, for performance reasons, memory is allmost allways "full"

    try "free -m" and look at the second row

Similar Threads

  1. "Remaster From Hd Install HowTo" - Don't waste you
    By roguesupport in forum Customising & Remastering
    Replies: 8
    Last Post: 04-13-2005, 06:38 PM
  2. /ramdisk
    By joshuabok in forum General Support
    Replies: 4
    Last Post: 10-01-2004, 05:55 PM
  3. How to copy k3b to ramdisk?
    By Knoppixerin in forum General Support
    Replies: 0
    Last Post: 02-11-2004, 01:57 PM
  4. Installing with apt-get on ramdisk
    By henrique in forum Customising & Remastering
    Replies: 5
    Last Post: 09-14-2003, 05:26 AM
  5. How to get rid of the ramdisk /dev/shm?
    By glukorizon in forum General Support
    Replies: 2
    Last Post: 05-05-2003, 08:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •