Category Block Ram Device

Block Ram Device

Block Ram Device

#Ram Disk mit 256 MB erstellen
modprobe brd rd_size=256000	
ls -al /dev/ram*
mkfs.btrfs /dev/ram0
mount /dev/ram0 /root/temp/ram_disk 

dd if=/dev/random of=/root/temp/ram_disk/testfile.txt bs=1M count=10

free -m

Performance Test 0815 Laptop
#Normale root Partition auf lokaler 3.5 Zoll Spindel KEIN SSD
hdparm -t /dev/sda1
	/dev/sda1:
	 Timing buffered disk reads: 170 MB in  3.01 seconds =  56.57 MB/sec

#RAM Disk über iSCSI / 1GB/s
hdparm -t /dev/sdb
	/dev/sdb:
	 Timing buffered disk reads: 320 MB in  3.02 seconds = 106.06 MB/sec

#RAM Disk lokal
hdparm -t /dev/ram0
	/dev/ram0:
	 Timing buffered disk reads: 250 MB in  0.33 seconds = 755.77 MB/sec
/pre>
Read More