Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on SSD. Any tricks I should know of?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
erikderzweite
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2006
Posts: 143

PostPosted: Fri Nov 13, 2009 12:59 pm    Post subject: Gentoo on SSD. Any tricks I should know of? Reply with quote

I am planning to install Gentoo on a Verbatim 16Gb ExpressCard SSD.
The drive will be used solely to increase boot process and startup time of programs, i.e. / will be on SSD, while swap, /home, /var, /usr/games, /usr/portage and /usr/local/portage (because of layman overlays) stay on HDD and /tmp will be on tmpfs.
After doing some research, I came to the conclusion that ext4 without journal will be the FS that suits my needs best.

I still have a question about drive partitions. Obviously, the SSD will be a single-partitioned drive. Are there any tricks I should apply while partitioning -- I don't really need cylinders and blocks on SSD, was thinking about GPT (as I don't dual-boot and grub seems to understand GPT).
Can anyone give me some advice on that? Any other SSD tricks you know of?
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Fri Nov 13, 2009 4:12 pm    Post subject: Reply with quote

Hi,

Personally on my SSD I try to minimise writes to drive by:

1) mount /tmp as tmpfs
2) mount /vat/tmp/portage as tmpfs
3) mount /usr/portage from server over nfs (if you have hdd - leave it there)
4) point distdir to tmpfs
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Nov 13, 2009 5:35 pm    Post subject: Reply with quote

I think IO disk scheduler should be noop
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
erikderzweite
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2006
Posts: 143

PostPosted: Sat Nov 14, 2009 8:53 pm    Post subject: Reply with quote

Thanks for the noop tip, albright.

Daggen, have you made any custom partitioning on your SSD to optimize reads/writes etc., so that the partitions will be aligned to 128KiB boundaries?
What should I do if I intend to use the disk as a whole? Would it be wise to format e.g. /dev/sdb instead of creating partitions there?
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Mon Nov 23, 2009 3:22 pm    Post subject: Reply with quote

erikderzweite wrote:
Thanks for the noop tip, albright.

Daggen, have you made any custom partitioning on your SSD to optimize reads/writes etc., so that the partitions will be aligned to 128KiB boundaries?
What should I do if I intend to use the disk as a whole? Would it be wise to format e.g. /dev/sdb instead of creating partitions there?


Nope - didn't go that far.
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
erikderzweite
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2006
Posts: 143

PostPosted: Mon Nov 23, 2009 4:05 pm    Post subject: Reply with quote

didn't matter, actually, because I only have one partition on that SSD.

Well, it works reasonably well (for a driver that's in staging) -- boot time has improved to about 30 seconds from previous 1:10. And there is room for improvement, 'cause the phison driver is a bit buggy and takes about 8 seconds to start. App boot times have improved as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum