--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?
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
--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?
Originally Posted by glukorizon
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
Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives
$24.99
832514-B21 HPE 1TB SAS 12Gb/s 7.2K SFF SC HDD 832984-001
$129.00
### MZ-7KE1T0 Samsung 850 Pro Series 1TB 2.5 inch SATA3 SSD ###
$105.00
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$27.25
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
1TB/2TB Lenovo USB Flash Drive Metal Memory Stick Pen Thumb Disk Storage
$27.90