SEARCH

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

You are not logged in.

#26 2015-01-10 00:57:40

Anaconda
crypto-anarchist
From: Vancouver Canada
Registered: 2008-12-04
Posts: 437

Re: Crunchbang on an SSD?

For those of you thinking about running with no swap as has been mentioned by more than one person above. Keep this info handy just in case you need it.

http://www.rackspace.com/knowledge_cent … -swap-file

I have 12 Gigs of RAM and run with no swap. I thought I would never need it. Even when running a couple of programs in JRE and running another OS in Vbox I have only seen 7-8 Gigs max.  Then one day I was transcoding some very large image files and used ALL available memory. I did end up having to create a large swap file to get this task done without locking up my system again. It was a one time only event related to a specific job, but I have kept the info handy in case it's ever needed again.

Those who think they can run with no swap who have only 4Gigs are more likely to run into this kind of thing at some point.


“The university is well structured, well tooled, to turn out people with all the sharp edges worn off...." Mario Savio
"Protections for anonymous speech are vital to democratic discourse". Help enforce our right to free and anonymous speech by taking the Tor challenge.

Offline

Be excellent to each other!

#27 2015-01-10 01:10:53

olegabrielz
#! Junkie
From: Norway
Registered: 2014-06-14
Posts: 442

Re: Crunchbang on an SSD?

^ Thanks. I did bookmark that page just in case smile

Offline

#28 2015-01-10 09:58:52

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

Re: Crunchbang on an SSD?

There are other benefits to using an SSD besides speed. You use less power and generate less heat with them as well. Here's my advice if you're on the fence about it: Use a tool like iotop or atop to monitor and log your disk utilization for a few days while you use the machine. See if you are exceeding the maximum transfer rate ever, and if so how often. Also remember that transfer rates aren't the only performance benefit of an SSD, you also have to worry about random R/W IOPS, something that is harder to benchmark. Do you notice any kind of lag when browsing through directories in your file manager? An SSD can definitely make a system more responsive, but if it's not being noticeably unresponsive in the first place, you may only notice a difference at boot time.
Me personally, I am more of a power user than most, but once I started using SSDs I vowed to never run software from an HDD ever again if I could avoid it.

Last edited by mynis01 (2015-01-10 09:59:41)

Offline

#29 2015-01-11 01:38:40

CSCoder4ever
BL Keyboard Troll
From: /dev/zero
Registered: 2013-09-03
Posts: 2,256

Re: Crunchbang on an SSD?

Anaconda wrote:

Those who think they can run with no swap who have only 4Gigs are more likely to run into this kind of thing at some point.

I don't think I can run with no swap on only 4 Gigs.

I KNOW I can.  roll

Offline

#30 2015-01-11 01:57:08

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: Crunchbang on an SSD?

I have 6G here and have not ever once touched swap. It almost seems pointless to have it partitioned.

Offline

#31 2015-01-11 05:26:37

Anaconda
crypto-anarchist
From: Vancouver Canada
Registered: 2008-12-04
Posts: 437

Re: Crunchbang on an SSD?

CSCoder4ever wrote:
Anaconda wrote:

Those who think they can run with no swap who have only 4Gigs are more likely to run into this kind of thing at some point.

I don't think I can run with no swap on only 4 Gigs.

I KNOW I can.  roll

I don't doubt you for a moment. If you are not running tasks like transcoding video, running virtual machines etc 4 Gigs is probably plenty.

Right now when I look in htop I'm using about 3700MB (supporting 2 anonymization networks running in JVMs 24/7) and when I opened a large scan of a vintage map in jp2 format with the GIMP, made a copy, and ran the enhance function, it shot up to over 5200MB memory usage.

Point being it all depends how one is using thier computer. Personally I don't think 4 Gigs gives much of a safety margine but I know there are many of you out there who can get away with it.

Anyways, for some folks running without swap partitions, it may be a good idea to remember what was said about creating swap files. If you ever decide to try something that pushes your memory use higher than expected, you will have a way to deal with it without resorting to reformating to include a swap partition.

Last edited by Anaconda (2015-01-11 05:38:54)


“The university is well structured, well tooled, to turn out people with all the sharp edges worn off...." Mario Savio
"Protections for anonymous speech are vital to democratic discourse". Help enforce our right to free and anonymous speech by taking the Tor challenge.

Offline

#32 2015-01-11 05:36:50

CSCoder4ever
BL Keyboard Troll
From: /dev/zero
Registered: 2013-09-03
Posts: 2,256

Re: Crunchbang on an SSD?

Anaconda wrote:
CSCoder4ever wrote:
Anaconda wrote:

Those who think they can run with no swap who have only 4Gigs are more likely to run into this kind of thing at some point.

I don't think I can run with no swap on only 4 Gigs.

I KNOW I can.  roll

I don't doubt you for a moment. If you are not running tasks like transcoding video, running virtual machines etc 4 Gigs is probably plenty.

Point being it all depends how one is using thier computer. Personally I don't think 4 Gigs gives much of a safety margine but I know there are many of you out there who can get away with it.

I do do VM stuff, albeit not a lot. Definitely not as much as I do on my desktops.

I guess. Hasn't failed me yet, even though I'm looking to replace it behind it's back lol.

Offline

#33 2015-01-11 05:55:05

Anaconda
crypto-anarchist
From: Vancouver Canada
Registered: 2008-12-04
Posts: 437

Re: Crunchbang on an SSD?

Ok, I just searched through the whole thread and noticed that TRIM was never mentioned.

Probably a good idea for folks to have a look at this on the Arch wiki.


“The university is well structured, well tooled, to turn out people with all the sharp edges worn off...." Mario Savio
"Protections for anonymous speech are vital to democratic discourse". Help enforce our right to free and anonymous speech by taking the Tor challenge.

Offline

#34 2015-01-11 06:35:43

CSCoder4ever
BL Keyboard Troll
From: /dev/zero
Registered: 2013-09-03
Posts: 2,256

Re: Crunchbang on an SSD?

oh yeah, enable TRIM.

Offline

#35 2015-01-12 01:55:10

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

Re: Crunchbang on an SSD?

TRIM is my preferred way of maintaining SSD performance, but some people also manually clean up the drive or have a periodic cron job to do it. TRIM is not a hard requirement, and in some cases can negatively impact your performance in some negligible fashion. The trade off is that if you don't enable it, you have to either set up a cron/anacron job for a time where you won't be at your computer, or you have to remember to manually zero out unused space.

As far as SWAP is concerned, remember that you can just create a SWAP file inside an already existing filesystem. You don't necessarily have to reparation anything if you later decide that you need SWAP space for a specific task.

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