Siduction Forum

Siduction Forum => Free Speech => Thema gestartet von: devil in 2014/10/11, 00:06:27

Titel: Updated tutorial on usage of SSD with linux
Beitrag von: devil in 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

Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: michaa7 in 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.
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: absolut in 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
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: devil in 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
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: GoinEasy9 in 2014/10/11, 02:12:36
Thanks for this update devil.
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: absolut in 2014/10/11, 09:31:41
thanks for the clarification!
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: sunrat in 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.
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: vilde in 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. 
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: vilde in 2014/10/14, 12:35:09
Trying to follow this tutorial I got to this:
ZitatMultiple 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: dd if = /dev/urandom of=tempfile bs=512k count=100 oflag=direct take away the spaces around "=" to get it to work dd if=/dev/urandom of=tempfile bs=512k count=100 oflag=direct and hdparm - fibmap tempfile shall be hdparm --fibmap tempfile similar to hdparm -read-sector 1234567 /dev/sdx shall be hdparm --read-sector 1234567 /dev/sdx

Just tell me if I'm wrong, please
Titel: Re: Updated tutorial on usage of SSD with linux
Beitrag von: dibl in 2014/10/14, 13:50:24
Zitat von: vilde in 2014/10/14, 12:35:09
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.