SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-05-10 21:35:40

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

HOWTO - Optimize #! statler for use with a solid state drive

UUID=f4e8fefd-e4f1-4763-b7ab-a6fa291f0837 /               ext4    errors=remount-ro 0       1

Last edited by mynis01 (2013-09-07 18:18:13)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-05-11 00:28:25

rabbitofdeath
#! Member
From: Texas
Registered: 2010-11-10
Posts: 83
Website

Re: HOWTO - Optimize #! statler for use with a solid state drive

Thank you! I just got an ssd for my laptop and while its blazing fast - you can't have too much speed. I'll report back with results smile

Offline

#3 2011-05-11 01:35:07

bobrossw
#! Die Hard
Registered: 2011-02-08
Posts: 521

Re: HOWTO - Optimize #! statler for use with a solid state drive

I set up my own new SSD a little while ago, and started following guides like this one.  At some point I came across some stuff that said effectively that modern SSD drives don't have the same limitations as early ones, which could burn out in a week if not configured properly and that most modern SSDs should last somewhere on the order of 50 years even with the most grueling of usage.  I'm not an expert by any means, so I'd like to hear from anyone here that knows better.  Can anyone confirm or deny this?

Offline

#4 2011-05-11 02:11:47

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: HOWTO - Optimize #! statler for use with a solid state drive

I'm definitely no expert either, but you would be correct that the life of a drive is not nearly as big a concern now. You could just install #! on an SSD just like you do a normal drive, and it will most likely last you 10+ years. The guide is meant more as a means to increase read/write performance, and the more you reduce unnecessary reads/writes the faster the ones you depend on will be.

Offline

#5 2011-05-11 02:17:15

bobrossw
#! Die Hard
Registered: 2011-02-08
Posts: 521

Re: HOWTO - Optimize #! statler for use with a solid state drive

glad to hear it...I did some optimizations but not all.  Just wanted to make sure people know that they don't have to worry about doing it wrong.  It's easy to think that since you see conflicting things on-line (since old stuff tends to stick around a while).

Offline

#6 2011-05-11 04:47:49

lewk
Member
Registered: 2011-04-12
Posts: 12

Re: HOWTO - Optimize #! statler for use with a solid state drive

Offline

#7 2011-05-17 06:36:53

AlanD
#! CrunchBanger
Registered: 2011-05-12
Posts: 156

Re: HOWTO - Optimize #! statler for use with a solid state drive

Thanks! I guess I am installing again.

Maybe what I will do is:
1:liveCD
2:copy install to external drive
3:create new partition table
4:copy back data
5:fix up fstab

my home is on a separate 7200 rpm sata2.


Nerds that build or deploy tongue

Offline

#8 2011-05-22 10:47:26

cwgtex
New Member
Registered: 2011-05-20
Posts: 6

Re: HOWTO - Optimize #! statler for use with a solid state drive

Thanks for the pointers mynis01.  Up until tonight, I had only been testing out crunchbang in virtual machines.  I finally got around to installing it for real.  I wiped my whole disk and now I'm up and running very nicely.

Offline

#9 2011-05-23 01:43:24

n1v3k
New Member
From: Venezuela
Registered: 2011-05-22
Posts: 9
Website

Re: HOWTO - Optimize #! statler for use with a solid state drive

Awesome!

I read years ago that the <eeepc 4g> should use ext2 with the parameter "noatime" and no swap partition. so I remove my ext3 partition and swap. and create one ext2 partition with noatime

The EEEPC 4G has a solid state drive. and after 3 years mine still goes =P

Offline

#10 2011-05-23 02:05:09

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: HOWTO - Optimize #! statler for use with a solid state drive

ext4 is running just fine on the SSD on my Dell Mini 9...noatime, relatime, no swap...I've heard that journaling does cause "disk" space usage to slowly inflate though, but I like having the "belt & braces" sense of security that journaling provides.

Offline

#11 2011-05-23 02:23:47

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,984

Re: HOWTO - Optimize #! statler for use with a solid state drive

No problems with ext4 on my Dell Mini 9 with 8gb SSD. (No swap.)

I experimented with ext2 a couple of years back, and the problem is you can lose data if the battery runs down.

Offline

#12 2011-05-23 03:33:09

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: HOWTO - Optimize #! statler for use with a solid state drive

Offline

#13 2011-05-24 04:18:36

albacore
Member
Registered: 2011-05-22
Posts: 12

Re: HOWTO - Optimize #! statler for use with a solid state drive

I had formatted to ext2 on the eeePC I was writing my thesis, I wasn't amused when I lost a day of work to a kernel panic...

Offline

#14 2011-05-24 13:59:48

Milozzy
#! Die Hard
Registered: 2011-02-22
Posts: 633
Website

Re: HOWTO - Optimize #! statler for use with a solid state drive

Thank you for this very interesting post!
On my eeepc I need more than one partion, in fact I can renounce to a separate /home but I need to keep a small EFI partition for the boot booster function (that saves me 5-10 sec at start up).
I read your guide but I have not understand if creating more than one partition with a GUID partition table is a difficult operation or not...

Offline

#15 2011-05-24 15:32:41

GuruX
#! Die Hard
Registered: 2009-01-18
Posts: 527

Re: HOWTO - Optimize #! statler for use with a solid state drive

Offline

#16 2011-05-24 15:35:45

schlem
#! CrunchBanger
From: Ballard, USA
Registered: 2011-03-20
Posts: 118
Website

Re: HOWTO - Optimize #! statler for use with a solid state drive

NOW you tell me. 
(Upgrading to 205GB mechanical disk in the near future anyway.)


这个空间特意留空

Offline

#17 2011-05-26 02:17:42

cwgtex
New Member
Registered: 2011-05-20
Posts: 6

Re: HOWTO - Optimize #! statler for use with a solid state drive

This howto was very useful, thank you!  I vote it gets stickied.

At first I wasn't getting the zeros in step 4.  After some research I found that my SSD (a Corsair P128) didn't get TRIM enabled until the most recent firmware.  After I got that updated, everything worked great!

Offline

#18 2011-06-25 07:16:59

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: HOWTO - Optimize #! statler for use with a solid state drive

Hi

My new SSD Corsair C300 - 128GB has just arrived ...
May you help me with the maths calculating the correct partition size?
The last sector is 250068991. As per step 1 of your howto i should set it to 250068990 ...
How to do that in gparted?
Thx.

Offline

#19 2011-06-25 17:21:20

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: HOWTO - Optimize #! statler for use with a solid state drive

Actually according to my math your last sector should be 250066943, which is ((122103*2048)-1). In gparted iirc (it's been a while since I wrote the guide) you just have to guess and check with the partition size until you get it right, you can right click the partition and click information to view the starting and ending sectors before you actually write the changes to the partition table. Alternatively, there is a command line tool gdisk that you can use from a command line that allows you to directly specify starting and ending sectors.

Offline

#20 2011-06-26 15:26:45

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: HOWTO - Optimize #! statler for use with a solid state drive

@mynis01

Thx. a lot. Installation completed - except step 5.

Changing the line 82 of /etc/grub.d/10_linux somehow failed on my testing system (didn't boot afterwards) and i didn't dare to apply that again on the productive system (openbox-amd64-liquorix). And i need to figure out how to move Opera's cache to the RAM cause i don't use firefox.

Offline

#21 2011-06-26 19:34:09

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: HOWTO - Optimize #! statler for use with a solid state drive

Amendment to Step 6 - Move Opera's cache to /tmp/ by doing this:

opera:config#UserPrefs|OperatorCacheDirectory4

Offline

#22 2011-06-27 15:42:49

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: HOWTO - Optimize #! statler for use with a solid state drive

Are you sure you changed the correct line tony? Like I pointed out, which line it appears on varies from system to system. Did you test the scheduler out before you altered /etc/grub.d/10_linux? And did you try using noop or just deadline? And as far as that optimization for opera that you posted, you just type that into the url bar? I don't use Opera so I can't test it out. Also if someone knows how to make the same type of modification to chrome that would make a great addition to the guide since it is the default browser.

Offline

#23 2011-06-27 16:13:49

pghjake
#! Member
From: Pittsburgh, PA, USA
Registered: 2009-02-07
Posts: 79

Re: HOWTO - Optimize #! statler for use with a solid state drive

For Chromium, you need to update /etc/chromium-browser/default as root.

Add something like this
CHROMIUM_FLAGS="--disk-cache-dir="/tmp/ram/""

Note the quotes enclosing the flag text and the quotes enclosing the temp dir location.

Offline

#24 2011-06-27 20:26:26

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: HOWTO - Optimize #! statler for use with a solid state drive

Last edited by tonyoptical (2011-06-27 20:28:58)

Offline

Be excellent to each other!

#25 2011-06-28 03:59:01

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: HOWTO - Optimize #! statler for use with a solid state drive

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo