The tag has no usage guidance.

learn more… | top users | synonyms

6
votes
1answer
286 views

Can you throttle the bandwidth to a tmpfs based ramdisk?

I created a ramdisk using tmpfs as follows: sudo mount -t tmpfs -o size=1024m tmpfs /myramdisk I was looking into cgroup blkio subsystem bandwidth limits "read_bps_device" and "write_bps_device" ...
1
vote
1answer
264 views

Kernel's cached memory can't be freed, even dropping caches

All host's memory is cached and there's no way it can be freed. /dev/ram1 is used for storing testing files, but after each build we run freeramdisk. $ freeramdisk /dev/ram1 $ echo 3 > ...
0
votes
1answer
39 views

Under guest virtual machine, Debian hangs when loading initial ramdisk

I am new to Linux, and recently installed Debian 8 to a guest virtual machine running under Virtual Box on a Windows 8 laptop (Asus x552cl). When I try boot up the Debian system, the virtual machine ...
0
votes
1answer
207 views

Requiring a script to sync ramdisk before and after reboot

On a specific machine I use a lot of RAM to serve websites really fast directly from RAM (which by the way is working amazingly well). For this I have mounted a ramdisk in /etc/fstab (in debian 7, via ...
0
votes
1answer
54 views

Attaching a phram mtd0 device to gadget serial mass storage

I'm using a Atmel SAMA5D3, I have created two phram devices /dev/mtd0 and /dev/mtd1 I am trying to attach them to a gadget mass storage module. insmod g_acm_ms.ko file=/dev/mtd0,/dev/mtd1 The ...
1
vote
0answers
10 views

Tmpfs with overflow on disk?

I'm looking for a way to have a tmpfs-like file system that can be unlimited in size, but will use a specified amount of RAM after which the "oversize" data will be stored on another disk-backed ...
1
vote
0answers
53 views

htop showing less memory usage

I'm currently trying to benchmark performance improvements when using a RAM disk. So I've been giving my VM 24 of the total 32 GB RAM, and created a 16GB RAM Disk inside. It's beeing used, ...
1
vote
0answers
23 views

switching to ramdisk root

My application is to do a secure erase on my system disk (an SSD) using hdparm from a shell script. So my thoughts were: create a ramdisk copy the linux OS to the ramdisk unmount the original system ...
1
vote
0answers
160 views

Display boot splash on ramdisk only system

I'm working on a kiosk system with the root file system loaded into RAM. One of the requirements is that the boot process output should be completely hidden from the user. I've already managed to set ...
0
votes
0answers
59 views

How can writing speed equal to reading's over nbd and ram disk

My testing is under two nodes whose communication is over nbd,and each node uses ram disk as local storage.The result is that reading speed can reach the bandwidth 6GB/s,while writing speed is only ...
0
votes
0answers
57 views

why writing under ram disk is slower than reading?

I have been running a test to verify the performance improvement with ram disk. I used tmpfs provided by Linux kernel,but writing speed is slower than reading. Who had run similar tests and what's ...