hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Colocation and Data Centers : Optimum Partion setup
Reply

Colocation and Data Centers Find data centers, server hardware, bandwidth providers, and techniques for colocation purposes. Get advice on colocation web hosting, review providers and offer suggestions on choosing colocation hosting services and the right datacenter. If your service is unavailable, please click here.
Forum Jump

Optimum Partion setup

Reply Post New Thread In Colocation and Data Centers Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-13-2008, 08:26 PM
dgessler dgessler is offline
Web Hosting Master
 
Join Date: Dec 2000
Location: Chicago, IL
Posts: 565

Optimum Partion setup


I just purchased a dell poweredge in order to move my website to its own dedicated server. I have a few questions on the best linux partition setup for a webserver. The system has 8 gigs of ram, raid 10 setup with four 15k rpm drives and two quadcore cpu's.

The os is CentOS 5.1

The server can have up to 30,000 uniques in a single day and can be somewhat database intensive.

Does anyone have a recommend partition setup, besides the default?

With 8 gigs of ram, what is the recommend swap? I've seen rules that say anything over 2 gigs of ram, the rule is S = M+2. So that would put me at 10 gigs swap. Is that overkill?

Should i make a seperate partition for log files? Any advice would be appreciated...

Reply With Quote


Sponsored Links
  #2  
Old 04-13-2008, 08:58 PM
devonblzx devonblzx is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: Michigan, USA
Posts: 3,321
I doubt you need 10GB of swap, swap should only be used as a backup when your system runs out of RAM. We usually partition about 4GB for swap per 8GB RAM, however we rarely use over a few mb. If you use too much swap, it will end up slowing your site down greatly as hard drive space is ~100X slower than RAM.

__________________
------------------------------------------------------------------
Cloud3K: A new subsidiary from RockMyWeb
------------------------------------------------------------------
Specializing in affordable and scalable cloud servers (VPS)


Reply With Quote
  #3  
Old 04-13-2008, 10:01 PM
bqinternet bqinternet is offline
Backup Guru
 
Join Date: Feb 2002
Location: New York, NY
Posts: 4,444
I still follow the old general rule of Swap = 2 * RAM. For 8GB, that would be a 16GB swap partition.

__________________
Scott Burns, President
BQ Internet Corporation
Remote Rsync and FTP backup solutions
*** http://www.bqbackup.com/ ***

Reply With Quote
Sponsored Links
  #4  
Old 04-14-2008, 04:19 AM
gate2vn gate2vn is offline
Web Hosting Master
 
Join Date: Oct 2003
Location: Hanoi
Posts: 4,284
I see the rule, but swap is always much slower than RAM. Why not have too much swap meanwhile RAM is not very expensive currently?

__________________
Clustered CloudLinux Hosting | WordPress Hosting | Advanced Antispam | Managed Xen VPS
in US West coast and Asia datacenters with Asia-Pacific friendly networks

Free migration to our servers. Contact us now on Twitter @vietnap

Reply With Quote
  #5  
Old 04-14-2008, 05:46 AM
KDAWebServices KDAWebServices is offline
Web Hosting Master
 
Join Date: Aug 2000
Location: Sheffield, South Yorks
Posts: 3,286
2GB swap is the max we ever put on a server - if it's using 2GB swap, it's going to have ground to a halt anyway and most likely locked itself up, so any extra isn't going to do you any good at all.

For a general server, we always have:
/
/boot
/home
/tmp
/usr
/var
swap

That's if it's just a single RAID set. If we've got multiple sets on different drives, then it's most likely for DB work, so we'll split /var/lib/mysql off on to its own RAID set (if it's for mySQL).

__________________
Karl Austin :: KDA Web Services Ltd.
UK Business Hosting and Managed Servers - Hosting for Business Users :: 0800 5429 764
UK Budget Web Hosting and Servers - Hosting for Home Users :: 0800 8620 349
Call us today and ask about our hosting solutions.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
BackupAgent Adds Integration Feature with Windows Azure Web Hosting News 2013-03-14 16:48:49
Google Apps Setup Gets Easier with New Domain Registrar API Web Hosting News 2012-12-10 14:49:03
Web Hosting Company HostPapa Reselling Google Apps for Business Tools Web Hosting News 2012-03-20 13:19:19
Cloud Storage Firm IceWeb Offers Customers Five Minute Set-Up Guarantee Web Hosting News 2012-01-27 12:31:55
Web Host 100TB.com Launches Content Delivery Network Web Hosting News 2011-08-05 19:39:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?