Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Roundboy
Oct 21, 2008
I'm doing a hardware refresh on my Ubuntu 12.04.03 LTS server at the moment, and i have the install already ready to go. I'm having trouble deciding if there are any refreshes in the 13 (and 14 LTS) releases for SERVERS that I should install instead? Everything i read is relating to desktop enhancements..

My current plan is to install 12 LTS and just dist-upgrade to 14 after its been stablized in a few weeks ... am I missing out on anything by not doing an interim 13 ?

Adbot
ADBOT LOVES YOU

Roundboy
Oct 21, 2008

ShadowHawk posted:

Unless there's something in particular you need from a non-LTS Ubuntu Server release, you should stick to the most recent LTS. Note that it is also recommended to avoid the newest LTS until the .1 release, which like you thought is generally a few weeks after release.

Right, I was trying to figure out exactly -what- is server related in the 13/14 path. All I am seeing is desktop,tablet,render enhancements.

I ended up back with 12.04 anyway since I needed to have a net connection for archive checking (:/) so I had forgotten all the updates I made to the system in the interim. I'm not looking forward to package incompatabilty in 14.

Roundboy
Oct 21, 2008
I'm on 12 still and I didn't even consider trim, I'll have to look at enabling that.

Boot times for server are 10 seconds, and the only slow down was from sata drive to sata drive when I saw slow transfer speeds, which seems to be a well known issue.

Roundboy
Oct 21, 2008

teagone posted:

What SSD? Also, is partition alignment really that important? I was reading its like a must-do tweak if you're running Ubuntu on an SSD (especially any Samsung EVO model) via this article: http://cillian.wordpress.com/2013/11/16/setting-up-samsung-840-evo-ssds-on-linux/ but I'm not sure how credible that is.

[Edit] Ehh, I have Ubuntu up and running now on a 120GB EVO and this poo poo boots to desktop in like 5 seconds; no idea how/what partition alignment will affect. That said, I followed this guide for some general SSD tweaks under 14.04: https://sites.google.com/site/easylinuxtipsproject/ssd - Although, I didn't do over-provisioning. Doesn't TRIM take care of whatever issues may be prevented from making an unallocated partition?

Samsung 840 120gb. I partitioned it to default,as my media drives are separate. The only drive shenanigans I did was removing the saved 5% space from my sata 2tb and 500gb drives

EDIT: Ran a fstrim initially to see what my month+ old system was at, and 77GB were trimmed :O Guess its time for a cron job and other SSD tweaks.

Roundboy fucked around with this message at 14:20 on May 5, 2014

Roundboy
Oct 21, 2008
following up on the SSD chat, i enabled fstrim as a daily cron because this is my server that is always on. But it seems I'm trimming a lot ?

code:
*** Tue, 06 May 2014 06:25:02 -0400 ***
/: 77620768768 bytes were trimmed
*** Wed, 07 May 2014 06:25:01 -0400 ***
/: 21863337984 bytes were trimmed
*** Thu, 08 May 2014 06:25:01 -0400 ***
/: 5362196480 bytes were trimmed
~
today and just now (2 hrs later) i trimmed :
1000505344 bytes were trimmed

I already moved /tmp , /var/lock and /var/spool to tmpfs, and also added noatime.. what else is eating up so many writes ? I read up on swappiness, but i think these usually apply to desktop vs server installs.

Roundboy fucked around with this message at 14:39 on May 8, 2014

Roundboy
Oct 21, 2008

Bob Morales posted:

What file system are you using?

ext4, which was partitioned using ubuntu defaults when i set it up. Smart tools is showing :

code:
 9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       4226
177 Wear_Leveling_Count     0x0013   098   098   000    Pre-fail  Always       -       13
which indicated i've used up 13% if my expected drive RW capacity in 176 days ?

Roundboy
Oct 21, 2008

Paul MaudDib posted:

You say "ubuntu defaults" - dumb question, do you still have the swap file enabled?

ubuntu defaults meaning whatever partitions are created for / using the install CD. so yes, i have swap:

code:

             total       used       free     shared    buffers     cached
Mem:       8049916    7546660     503256          0      53840    6693040
-/+ buffers/cache:     799780    7250136
Swap:      8262652      23548    8239104
code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   217913343   108955648   83  Linux
/dev/sda2       217915390   234440703     8262657    5  Extended
/dev/sda5       217915392   234440703     8262656   82  Linux swap / Solaris
This is a server, running 24x7 that does plex, minecraft, torrents, video transcoding, etc. 8gb mem, so I was not really interested in dumping swap entirely. But im having trouble finding a proper swappiness setting for a SERVER. Hibernation, etc s not an issue here

Roundboy
Oct 21, 2008

Molten Llama posted:

No. Use the normed value (98% life remaining, 2% used), not the raw value.

The raw value, assuming this is a Samsung, indicates that the most-erased block has been erased 13 times.

Ok, then I am just reading the wrong value. Good to know. Back to the original isue though, should I really see 1-10GB a day in trim space ?

Adbot
ADBOT LOVES YOU

Roundboy
Oct 21, 2008

Longinus00 posted:

You said that your server does 24x7 torrenting, transcoding, etc. so maybe? It all depends on your workload.

Its on, but its not pulling that much data down. 500mb a day, on average. And seeding shouldn't require any writing, nor should mindcraft (2-3 people for 3 hrs a week)

Actually Plex transcoding.. Hmm, I wonder if that would benefit from tmp drive or is that shooting myself in the foot?

  • Locked thread