This shows you the differences between two versions of the page.
ep:labs:03:contents:tasks:ex5 [2020/07/30 21:08] gheorghe.petre2608 [06. [30p] RAM disk] |
ep:labs:03:contents:tasks:ex5 [2022/10/24 00:11] (current) andrei.mirciu [03. [30p] RAM disk] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== 06. [30p] RAM disk === | + | ==== 03. [30p] RAM disk ==== |
Linux allows you to use part of your RAM as a block device, viewing it as a hard disk partition. The advantage of using a RAM disk is the **extremely low latency** (even when compared to SSDs). The disadvantage is that all contents will be lost after a reboot. | Linux allows you to use part of your RAM as a block device, viewing it as a hard disk partition. The advantage of using a RAM disk is the **extremely low latency** (even when compared to SSDs). The disadvantage is that all contents will be lost after a reboot. | ||
Line 14: | Line 14: | ||
$ df -Th | $ df -Th | ||
</code> | </code> | ||
- | The result is: | + | The result should look like this: |
<code> | <code> | ||
Filesystem Type Size Used Avail Use% Mounted on | Filesystem Type Size Used Avail Use% Mounted on | ||
Line 56: | Line 56: | ||
Look at the elapsed time and average transfer speed. What conclusion can you draw? | Look at the elapsed time and average transfer speed. What conclusion can you draw? | ||
+ | |||
+ | :!: Put one screenshot with the tmpfs partition in df output and one screenshot of both pv commands and write your conclusion. | ||
+ |