Siduction Forum

Siduction Forum => Free Speech => Topic started by: devil on 2014/10/11, 00:06:27

Title: Updated tutorial on usage of SSD with linux
Post by: devil on 2014/10/11, 00:06:27
http://news.siduction.org/2014/10/revisting-an-article-on-how-to-set-up-solid-state-disks-with-linux/


greetz
devil

Title: Re: Updated tutorial on usage of SSD with linux
Post by: michaa7 on 2014/10/11, 00:46:07
Hehe, it doesn't seem any smaller, but at least it is up to date.

Thanks to both of you.
Title: Re: Updated tutorial on usage of SSD with linux
Post by: absolut on 2014/10/11, 01:00:06
with regard to fstab mount options in the article

1) i am missing the "defaults" option, or can it be left out?
2) would it not also make sense to use "nodiratime", too?

best
absolut
Title: Re: Updated tutorial on usage of SSD with linux
Post by: devil on 2014/10/11, 01:45:26
default incorporates the options rw, suid, dev, exec, auto, nouser and async. You can either use default or explicetly add all the options you need. Noatime includes nodiratime, as you can read in man mount (2) (http://linux.die.net/man/2/mount)


greetz
devil
Title: Re: Updated tutorial on usage of SSD with linux
Post by: GoinEasy9 on 2014/10/11, 02:12:36
Thanks for this update devil.
Title: Re: Updated tutorial on usage of SSD with linux
Post by: absolut on 2014/10/11, 09:31:41
thanks for the clarification!
Title: Re: Updated tutorial on usage of SSD with linux
Post by: sunrat on 2014/10/14, 05:00:17
Nice update.
I have seen recommendations to set AHCI mode in BIOS for SSD. I never did get round to it though.
Title: Re: Updated tutorial on usage of SSD with linux
Post by: vilde on 2014/10/14, 11:59:47
Maybe this is a stupid question but I don't know better.

Would it be possible to incorporate this in the siduction installer?

To be able to choose "sdd" as option during install and get all or the most of this optimizations done by the installer. 
Title: Re: Updated tutorial on usage of SSD with linux
Post by: vilde on 2014/10/14, 12:35:09
Trying to follow this tutorial I got to this:
Quote
Multiple sources that you can find with a google search indicate that, for SSDs, the “deadline” and “noop” schedulers perform better than the default “cfq” scheduler, with deadline getting the most recommendations. Set the scheduler in /etc/sysfs.conf as so:
I can't find that file, I have a file called  sysctl.conf in /etc. Shall the sysfs.conf be created?

Under part 6 of the tutorial there are som things that needs to be changed:
Code: [Select]
dd if = /dev/urandom of=tempfile bs=512k count=100 oflag=direct take away the spaces around "=" to get it to work dd
Code: [Select]
if=/dev/urandom of=tempfile bs=512k count=100 oflag=direct and
Code: [Select]
hdparm - fibmap tempfile shall be
Code: [Select]
hdparm --fibmap tempfile similar to
Code: [Select]
hdparm -read-sector 1234567 /dev/sdx shall be
Code: [Select]
hdparm --read-sector 1234567 /dev/sdx
Just tell me if I'm wrong, please
Title: Re: Updated tutorial on usage of SSD with linux
Post by: dibl on 2014/10/14, 13:50:24
I can't find that file ...

You need to install the sysfsutils package (https://packages.debian.org/wheezy/sysfsutils).  Sorry, I did not realize everyone does not already have it.

I think your other corrections are all correct.