Hey all-
I’ve just gotten a 250 GB Samsung SSD for my IBM/Lenovo T61 laptop and want to install openSuse 13.1.
What are the recommended FSTAB entries for our OS? What files should I put in tmpfs other than /tmp?
I’d like to do this right and would appreciate any suggestions. Thanks in advance…
Nearly everything in the slide deck is still relevant for openSUSE 12.1, 12.2. 12.3, 13.1 (as of this writing).
The only thing that has changed is whether to implement the nVidia driver (if you even have one).
In a nutshell, the slide deck descrbes what I consider the most important changes which should be made. There are a number of new optimizations in the referenced Arch Wiki since I created the presentation, but those optimiztions have minimal effect compared to the recommendations in my slide deck.
As for tmpfs, I recommend just letting the openSUSE install set things up for you, it does a very good job. The only issue I’d mention is in 13.1, making /tmp tmpfs is fine for speed but can and will be a problem on a system with limited memory. Remember, normal file move/copy will create a temporary copy of the file in /tmp, so if for example you only have 2GB of free RAM and you’re downloading a 4GB file, that can be a problem. The simple solution is to place /tmp back on the HDD.
Not in swap leave that line alone ie remove noatime and discard off that line they only apply to ext4 partitions and swap uses a different file system method
Thanks Gogolthorp for catching this.
Question: If I insert the following line in FSTAB using a text editor,
tmpfs /home/william/.thumbnails tmpfs defaults,noatime,mode=1777 0 0
will I need to do anything else in order for future .thumbnails to route properly to tmpfs? Anything else?
Reducing writes will increase the life of an SSD but remember they are designed with extra memory and write leveling software to spread the writes so should last for years even if you don’t do anything. My point is you can over do a good thing.
On Sun 29 Dec 2013 05:26:01 AM CST, gogalthorp wrote:
Reducing writes will increase the life of an SSD but remember they are
designed with extra memory and write leveling software to spread the
writes so should last for years even if you don’t do anything. My point
is you can over do a good thing.
Hi
My OCZ Vertex4 is rated at 20GB of writes a day and a 5 year warranty,
have not even worried about switching stuff to tmpfs. I do have 8GB of
ram, and set the swappines, plus added the io scheduling.
@OP, what are the tech specs for your drive (URL)?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
On 2013-12-28 22:16, portsample wrote:
>
> Thanks Gogolthorp for catching this.
> Question: If I insert the following line in FSTAB using a text editor,
> tmpfs /home/william/.thumbnails tmpfs
> defaults,noatime,mode=1777 0 0
>
> will I need to do anything else in order for future .thumbnails to route
> properly to tmpfs? Anything else?
Thumbnails are only written once, I don’t see why bother. :-?
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Elessar))
how to setup deadline i/o scheduler permanently for SSD? im on 13.1, i added elevator=deadline to grub2 also added script set deadline on boot but when i look “cat /sys/block/sda/queue/scheduler” it showed CFQ in result… also my SSD shows some errors on smartctl (ATA Error Count: 23)
errors like this, what u think? i know smart is not working very good on SSDs… my SSD also brand new not used much…
Error 23 occurred at disk power-on lifetime: 79 hours (3 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 10 e8 fc e1 40 Error: ICRC, ABRT at LBA = 0x00e1fce8 = 14810344
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 40 28 68 fd e1 40 08 14:32:46.673 READ FPDMA QUEUED
60 18 20 40 fd e1 40 08 14:32:46.673 READ FPDMA QUEUED
60 10 18 28 fd e1 40 08 14:32:46.673 READ FPDMA QUEUED
60 38 10 e8 fc e1 40 08 14:32:46.672 READ FPDMA QUEUED
60 10 08 d0 fc e1 40 08 14:32:46.672 READ FPDMA QUEUED