Best kind of hard drive for heavy use?

Ralf Mardorf ralf.mardorf at rocketmail.com
Thu Sep 15 09:34:37 UTC 2016


On Thu, 15 Sep 2016 11:27:57 +0200, Ralf Mardorf wrote:
>On Thu, 15 Sep 2016 08:36:04 +0100, Shamim Shahriar wrote:
>>On 15 Sep 2016 00:39, "Ralf Mardorf via freebsd-questions" <
>>freebsd-questions at freebsd.org> wrote:  
>>>
>>> On Wed, 14 Sep 2016 22:19:54 +0100, RW via freebsd-questions
>>> wrote:    
>>> >IIRC with 4 GiB RAM you can have up to 16 GiB of swap, so you could
>>> >support up to about 19 GiB of tmpfs if you want.    
>>>
>>> Ok, but I guess than tmpfs could use the whole memory and cause
>>> issues with other software running at the same time. It would be
>>> nice, if here would be a possibility to assign 3 GiB of 4 GiB to
>>> tmpfs and if the 3 GiB are reached swap should be used. Perhaps it
>>> does exist, I might be just to lazy to find out.
>>>    
>>
>>Yes it does, and yes you are :P
>>man fstab  
>
>I will take a look at freebsd man fstab soon. However, on Linux it
>doesn't work if I have much swap and comment out the fstab line ...
                                      ^^^^^^^^^^^
                                      This should red "uncomment" :D.

>
>[rocketmouse at archlinux ~]$ cat /etc/fstab 
># 
># /etc/fstab: static file system information
>#
># <file system>	<dir>	   <type> <options>
><dump> <pass> # UUID=f386221b-fc9c-434b-b4e7-b3b1b97be8aa
>LABEL=archlinux /dev/sda9       /           ext3
>rw,relatime,data=ordered 0 1
>
># UUID=3e19b702-30ed-4574-91d7-1594fad71842
>/dev/sdb7       none        swap  defaults  	           0 0
>
># UUID=4b65ccbf-2219-4734-98fa-16c58d4f60fa
>#/dev/sda10     none        swap  defaults,pri=-2	       0 0
>/dev/sda10      none        swap  defaults                 0 0
>
>#/dev/sda11		/mnt/music	ext3
>noatime,defaults         0 2
>#/dev/sdb12		/home/music	ext4
>noatime,defaults         0
>2 /dev/sda11		/mnt/music	ext3
>defaults,noatime         0
>2 /dev/sdb12		/home/music	ext4
>defaults,noatime         0 2
>
>#tmpfs          /tmp        tmpfs nodev,nosuid,size=3G     0 0
>
>... and on Linux man fstab isn't very helpful. Btw. the default on
>Linux is half of the RAM, in my case 1.9 GiB, even without the fstab
>line.
>
>Regards,
>Ralf


More information about the freebsd-questions mailing list