SEARCH

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

You are not logged in.

#51 2012-10-24 05:23:04

typewriterjason
#! Junkie
Registered: 2011-08-28
Posts: 257

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


Fortune favors the bold.
#! WALDORF
Asus EEEPC 1001PXD | Lenovo ThinkPad t410

Offline

Help fund CrunchBang, donate to the project!

#52 2012-10-24 12:19:09

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

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

swapoff

Last edited by AlanD (2012-10-24 12:20:08)


Nerds that build or deploy tongue

Offline

#53 2012-10-24 16:22:26

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

Last edited by mynis01 (2012-10-24 16:23:10)

Offline

#54 2012-10-24 18:28:15

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

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

Offline

#55 2012-10-24 23:47:11

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

#56 2012-10-24 23:54:52

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

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

There's an option to pass to pvcreate, but I forget what it is, not having an SSD myself. Google has the answers, I do know that one.

Offline

#57 2012-10-28 13:41:17

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

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

Offline

#58 2012-10-28 17:05:35

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

Not mine, but I read the follow up link and I am still sorta confused. Basically what I'm reading is, if you align the LVM container correctly, then the actual partitions inside it don't really need to be aligned (or that them being offset inside a properly aligned container won't impact performance very much)?

Offline

#59 2012-10-28 17:09:28

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

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

That is my understanding as well. The firmware should work with the PV, not the LVs. But don't hold me to it.

Offline

#60 2012-10-31 00:59:55

mreutman
New Member
Registered: 2012-10-31
Posts: 1

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

I take that the update at the bottom of the first post (10-24-2012) reflects some of the insight from the past posts and reflects a somewhat current procedure for crunchbang?
Also, will moving all of these processes into RAM cause some sort of slowdown on consrticted systsm (<=1Gb)?

Offline

#61 2012-10-31 15:53:53

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 not really sure if the browser mods still work or not with more recent iterations of the various browsers, but I'm assuming they will if you're using iceweasel/chromium from the stable repos. If you have <=1Gb RAM, I'd probably just leave the temp files and various things on the disk instead of in memory. Like I said before, I'm not really maintaining this page anymore since debian wheezy will likely be out soon, so YMMV.

Last edited by mynis01 (2012-10-31 16:22:57)

Offline

#62 2012-11-10 11:35:03

wildscot
Member
Registered: 2010-08-27
Posts: 22

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

Hi Folks,

I'm about to set up my newly built PC and will need to configure my SSD for a fresh install of #!.

I know this thread isn't really being maintained anymore but I thought it would be worth checking if there's anything in the original post that you would consider irrelevant now or that would be done differently - I realise this seems to be a rapidly changing area.

I read that you should set up a single / partition across the whole drive, is there any reason I can't split the SSD into two partitions for dual boot? Each of these would be a / partition, data on the HDD along with an 8GB swap partition (I realise this is probably overkill and not really necessary but with 2TB on the HDD I don't see any harm in it).

This will be installing #! 64-bit Stable + Backports
Core i5-3570K
8GB RAM
120GB OCZ Vertex 4 SSD
2TB Seagate Barracuda HDD

Any links or pointers would be appreciated.
Assuming it doesn't blow up! My first build and I'm just about to plug it in for the first time - wish me luck...

Offline

#63 2012-11-10 14:25:57

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

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

That is fairly recent HW, so I would go for Waldorf. It is real stable now.

Offline

#64 2012-11-10 17:15:56

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

As long as you set up GPT all your partitions will be aligned for you automatically. Then just make sure you add the discard option to all your partitions in /etc/fstab to enable TRIM and you will be good to go. The other stuff in the guide is just minor tweaks.

Offline

#65 2012-11-11 13:06:19

wildscot
Member
Registered: 2010-08-27
Posts: 22

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

Excellent, thanks!

Offline

#66 2012-11-13 08:50:07

root2
Member
Registered: 2012-11-09
Posts: 31

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

Hi there!

I installed #! 10 (Statler) on a 4GB USB thumbdrive (using the graphical installer and utilizing it like a real HDD). The fact why I did no persistant live installation was, that I read there are several actions that can't be done (e. g. kernel updates) when using a persistant live environment.

Now I have some questions and would be pleased to have them answered.
1) Can (even should!?) some/all of the before mentioned changes also be done to lengthen the lifespan of the USB stick?
2) If 1 is "yes", which changes should be done (moving parts to tmpfs / changing the scheduler / ...)?
3) Should it be fine to leave out the SWAP partition (having 1GB of system RAM)?
4) Which scenario would be the best solution (if applicable after all)
4.1) Having every partition (/, /var, /tmp, /home, ...) as a separate logical partition and trying to mount it to tmpfs in /etc/fstab - or -
4.2) Having a simple setup (like just having /home as a separate logical partition) and trying to mount only certain folders to a tmpfs?

I already played around a bit with several settings and the system works quite fine but before doing halfhearted things I rather try to give it the best shot possible so thank you for your assistance in advance.

Best regards!

Offline

#67 2012-11-13 19:24:22

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

Since you said you only have 1gb of RAM, I would maybe mount /tmp in tmpfs but nothing else, and keep your swap partition. I definitely would recommend setting noatime in /etc/fstab, that's a no brainer.

Offline

#68 2012-12-27 22:16:12

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

Last edited by mynis01 (2012-12-27 22:22:31)

Offline

#69 2013-04-12 20:50:49

Tobiaswk
New Member
Registered: 2011-02-06
Posts: 3

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

Offline

#70 2013-09-04 17:03:11

ahumba
Member
Registered: 2013-08-28
Posts: 30

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

Don't wanna be a dick, but was wondering if this guide is still usefull? I just ordered an SSD for my new latop and I'm fairly new to Linux and I don't want to screw up my new SSD.

Offline

#71 2013-09-05 08:51:41

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

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

Don't put swap on an SSD, use trim support, if you can, if not, set noatime & relatime in your /etc/fstab for the drive.   wink

Last edited by fatmac (2013-09-05 08:52:14)

Offline

#72 2013-09-05 09:07:26

ahumba
Member
Registered: 2013-08-28
Posts: 30

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

Offline

#73 2013-09-05 11:06:06

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

Last edited by mynis01 (2013-09-05 11:07:25)

Offline

#74 2013-09-05 13:28:12

ahumba
Member
Registered: 2013-08-28
Posts: 30

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

Thanks for the reply mynis01, your post got me confused, which steps should I take and which can I skip? Maybe we can write a new guide for Waldorf? I don't mind helping out smile

If I want hybernation, I need a swap file am I right?

Offline

Be excellent to each other!

#75 2013-09-05 14:23:27

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

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

Last edited by fatmac (2013-09-05 14:26:01)

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: acrobat

Debian Logo