Results 1 to 3 of 3

Thread: How to get rid of the ramdisk /dev/shm?

  1. #1
    Junior Member
    Join Date
    May 2003
    Location
    Delft, the Netherlands
    Posts
    2

    How to get rid of the ramdisk /dev/shm?

    Hello,

    I am using Knoppix 3.2, running from CD-ROM, on a laptop with 32 MB RAM.
    According to the command df, the ramdisk /dev/shm, mounted on /ramdisk, is
    using 20 MB, leaving only 12 MB for the real work (not entirely true; I also
    have a swap partition). This makes the whole setup terribly slow.
    I notice that this ramdisk is only used marginally for hosting /home and
    /var (through symlinks). What I tried to do to make things faster, is to use
    a small ext2 partition on hard disk. I have copied the contents of
    /ramdisk/home and /ramdisk/var to the hard disk and changed the symlinks
    accordingly. Then I unmounted the ramdisk (using the -f option).
    But this action did not released any additional RAM (checked with the
    command free). What can I do to make full use of the available RAM?

    Thanks for any help
    Luc Soethout

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to get rid of the ramdisk /dev/shm?

    --The ramdisk itself is dynamic. It doesn't actually take up all that space unless something is actually written to it.

    --Did you check the cheat codes?

    Quote Originally Posted by glukorizon
    Hello,

    I am using Knoppix 3.2, running from CD-ROM, on a laptop with 32 MB RAM.
    According to the command df, the ramdisk /dev/shm, mounted on /ramdisk, is
    using 20 MB, leaving only 12 MB for the real work (not entirely true; I also
    have a swap partition). This makes the whole setup terribly slow.
    I notice that this ramdisk is only used marginally for hosting /home and
    /var (through symlinks). What I tried to do to make things faster, is to use
    a small ext2 partition on hard disk. I have copied the contents of
    /ramdisk/home and /ramdisk/var to the hard disk and changed the symlinks
    accordingly. Then I unmounted the ramdisk (using the -f option).
    But this action did not released any additional RAM (checked with the
    command free). What can I do to make full use of the available RAM?

    Thanks for any help
    Luc Soethout

  3. #3
    Junior Member
    Join Date
    May 2003
    Location
    Delft, the Netherlands
    Posts
    2

    Re: How to get rid of the ramdisk /dev/shm?

    Thanks Dave,

    You are probably right. I copied a large file to /ramdisk, and indeed, the used space on the swap partition increased by that amount. And vice versa.
    Apparently, normal system operation already uses all the available 'real' RAM memory (approximately 29 MB of the available 30 MB).

    What do you mean by your comment regarding the cheats? I don't see any code to bypass the ramdisk.

    Regards
    Luc Soethout

Similar Threads

  1. ramdisk
    By sampo in forum Hardware & Booting
    Replies: 1
    Last Post: 05-06-2005, 12:23 AM
  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. Ramdisk failure
    By Nedly in forum Hardware & Booting
    Replies: 5
    Last Post: 04-05-2003, 02:12 AM

Posting Permissions

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


Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w

$359.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w picture

Dell Poweredge T420 SFF 2x E5-2430 v2 2.5Ghz / 64gb / H710 / 8x Trays / 2x 495w

$394.99



Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid picture

Dell R640 Diskless Servers 2x Gold 18-Cores 6254 3.10GHz CPU, 32gb RAM, No Raid

$699.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99