hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Colocation and Data Centers : Server configuration for file sharing website
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

Server configuration for file sharing website

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 02-27-2010, 02:32 PM
ishan ishan is offline
Premium Member
 
Join Date: Nov 2006
Location: Pune, India
Posts: 1,075

Server configuration for file sharing website


Hello,
We are building a server for a file sharing website. It has nearly 2000 visitors at a time.

Currently it is on a core2quad 9650 , 8 GB DDR2 and 1 TB SATA.

The server loads are around 50-120 when the traffic is at 1000 visitors (we have limited it to 1000) iowait is over 45% at such times.

What configuration would you suggest for such type of website ?

Thanks in advance,
Ishan

__________________
LaceHost Web Hosting - Shared / Reseller Web Hosting - Since 2006
LeapSwitch Networks Ltd. - Managed VPS,
Dedicated Servers
ASN 132335 - Own Pune, India DC - USA - Spain - Portugal - Ukraine


Reply With Quote


Sponsored Links
  #2  
Old 02-27-2010, 02:40 PM
linuxissues linuxissues is offline
Web Hosting Master
 
Join Date: May 2004
Location: /bin/sh
Posts: 814
A dual cpu, and split the files over couple of drives, so that io is not too high.

Reply With Quote
  #3  
Old 02-27-2010, 02:42 PM
ishan ishan is offline
Premium Member
 
Join Date: Nov 2006
Location: Pune, India
Posts: 1,075
Quote:
Originally Posted by linuxissues View Post
A dual cpu, and split the files over couple of drives, so that io is not too high.
I was looking at this config -

Intel Xeon X3440
8 GB DDR3
4x500 GB WD RE3 in RAID 10

What do you think ? Is it really that CPU intensive to use a Dual cpu server ?

__________________
LaceHost Web Hosting - Shared / Reseller Web Hosting - Since 2006
LeapSwitch Networks Ltd. - Managed VPS,
Dedicated Servers
ASN 132335 - Own Pune, India DC - USA - Spain - Portugal - Ukraine


Reply With Quote
Sponsored Links
  #4  
Old 02-27-2010, 02:43 PM
iTom iTom is offline
Web Hosting Master
 
Join Date: Apr 2007
Posts: 3,486
You need to split the IO load away from a single drive.
Also caching popular content would be a great help.

Reply With Quote
  #5  
Old 02-27-2010, 02:45 PM
dubdub dubdub is offline
WHT Addict
 
Join Date: Jan 2010
Location: Sweden
Posts: 129
One suggestion could be a decent storagre controller with Raid-XX and if you use Apache, enable SendFile.

Reply With Quote
  #6  
Old 02-27-2010, 04:19 PM
bhavicp bhavicp is offline
Not so experienced
 
Join Date: Jul 2008
Location: New Zealand
Posts: 1,087
Not really sure about the CPU, but if your load is that high during peak times it looks like you will need a duel CPU.

Although the 4x500 GB WD RE3 in RAID 10 is the main thing to reduce slow loading times caused by IO wait.

Reply With Quote
  #7  
Old 02-27-2010, 05:03 PM
tim2718281 tim2718281 is offline
Web Hosting Master
 
Join Date: Mar 2009
Posts: 2,218
Quote:
Originally Posted by ishan View Post
Hello,
We are building a server for a file sharing website. It has nearly 2000 visitors at a time.

Currently it is on a core2quad 9650 , 8 GB DDR2 and 1 TB SATA.

The server loads are around 50-120 when the traffic is at 1000 visitors (we have limited it to 1000) iowait is over 45% at such times.

What configuration would you suggest for such type of website ?

Thanks in advance,
Ishan
Is that a single SATA drive?

What is the network port speed?

What download rates are the users getting?

How much data is stored altogether?

What size range are the files?

How much network traffic is there?

Reply With Quote
  #8  
Old 02-27-2010, 05:53 PM
ishan ishan is offline
Premium Member
 
Join Date: Nov 2006
Location: Pune, India
Posts: 1,075
Is that a single SATA drive? Yes

What is the network port speed? 1000 mbit

What download rates are the users getting? I am not the owner, but with 1000 concurrent visitors, I would say <10 mbit.

How much data is stored altogether? Over 200 GB and increasing

What size range are the files? <100 MB each

How much network traffic is there? 8-12 TB per month.

Thanks for helping,
Ishan

__________________
LaceHost Web Hosting - Shared / Reseller Web Hosting - Since 2006
LeapSwitch Networks Ltd. - Managed VPS,
Dedicated Servers
ASN 132335 - Own Pune, India DC - USA - Spain - Portugal - Ukraine


Reply With Quote
  #9  
Old 02-27-2010, 06:15 PM
iTom iTom is offline
Web Hosting Master
 
Join Date: Apr 2007
Posts: 3,486
You say 8TB per month, but under 10mbps as the data rate.
10Mbps 24/7 for a month is 3.3TB transfer. You might be getting the data rate wrong...

Reply With Quote
  #10  
Old 02-27-2010, 06:19 PM
ishan ishan is offline
Premium Member
 
Join Date: Nov 2006
Location: Pune, India
Posts: 1,075
Quote:
Originally Posted by ZanyHost View Post
You say 8TB per month, but under 10mbps as the data rate.
10Mbps 24/7 for a month is 3.3TB transfer. You might be getting the data rate wrong...
<10 mbps was per user , not overall. Please see my above post again.

__________________
LaceHost Web Hosting - Shared / Reseller Web Hosting - Since 2006
LeapSwitch Networks Ltd. - Managed VPS,
Dedicated Servers
ASN 132335 - Own Pune, India DC - USA - Spain - Portugal - Ukraine


Reply With Quote
  #11  
Old 02-27-2010, 06:21 PM
tim2718281 tim2718281 is offline
Web Hosting Master
 
Join Date: Mar 2009
Posts: 2,218
Quote:
Originally Posted by ishan View Post
Is that a single SATA drive? Yes

What is the network port speed? 1000 mbit

What download rates are the users getting? I am not the owner, but with 1000 concurrent visitors, I would say <10 mbit.

How much data is stored altogether? Over 200 GB and increasing

What size range are the files? <100 MB each

How much network traffic is there? 8-12 TB per month.

Thanks for helping,
Ishan
OK, traffic of 8-12TB per month means the average data transmission rate is 25 to 40mbps, so a maximum network speed of 1000 mbps is probably adequate.

A single SATA drive might be adequate. You should check the IO rate though. The average I/O rate for the downloading should be 10 I/Os per second or less, with peaks of maybe 60 I/Os per second, Writes should lower than that.

The key performance parameter is the download rates the users are actually getting. Users typically have network connections of 10mbps or less; so if you're delivering data to each user at that kind of speed, there's really no way to make it faster.

However, I suspect from the figures you've given that you may have a lot of activity going on besides the file downloading, pushing up your disk IO rates and slowing things down.

If that's the case, adding a second disk, or even a third and fourth disk, will help for a while. But it would be better to tune the site to reduce the disk I/O first, as that can sometimes make big differences at no cost.

Can you give the URL of the site and the pages that the viewers access most?


Last edited by tim2718281; 02-27-2010 at 06:25 PM.
Reply With Quote
  #12  
Old 02-27-2010, 06:30 PM
iTom iTom is offline
Web Hosting Master
 
Join Date: Apr 2007
Posts: 3,486
Quote:
Originally Posted by ishan View Post
<10 mbps was per user , not overall. Please see my above post again.
Sorry been one of them days!

Reply With Quote
  #13  
Old 02-28-2010, 02:46 PM
ishan ishan is offline
Premium Member
 
Join Date: Nov 2006
Location: Pune, India
Posts: 1,075
Quote:
Originally Posted by tim2718281 View Post
OK, traffic of 8-12TB per month means the average data transmission rate is 25 to 40mbps, so a maximum network speed of 1000 mbps is probably adequate.

A single SATA drive might be adequate. You should check the IO rate though. The average I/O rate for the downloading should be 10 I/Os per second or less, with peaks of maybe 60 I/Os per second, Writes should lower than that.

The key performance parameter is the download rates the users are actually getting. Users typically have network connections of 10mbps or less; so if you're delivering data to each user at that kind of speed, there's really no way to make it faster.

However, I suspect from the figures you've given that you may have a lot of activity going on besides the file downloading, pushing up your disk IO rates and slowing things down.

If that's the case, adding a second disk, or even a third and fourth disk, will help for a while. But it would be better to tune the site to reduce the disk I/O first, as that can sometimes make big differences at no cost.

Can you give the URL of the site and the pages that the viewers access most?
I cannot provide the URL due to client confidentiality. Thank you very much for your advice.

Currently, iostat shows that the CPU is in use <10% of the time and is waiting for IO or idle for the remaining time. I guess the X3440 seems to be enough.

As all of you have indicated, spreading out the data over more drives is the way to go, so the RAID10 configuration with 4 SATA drives should be enough for a while.

Quote:
Originally Posted by ZanyHost View Post
Sorry been one of them days!
It happens to the best of us

__________________
LaceHost Web Hosting - Shared / Reseller Web Hosting - Since 2006
LeapSwitch Networks Ltd. - Managed VPS,
Dedicated Servers
ASN 132335 - Own Pune, India DC - USA - Spain - Portugal - Ukraine


Reply With Quote
  #14  
Old 03-01-2010, 03:07 AM
CH-Shaun CH-Shaun is offline
Web Hosting Master
 
Join Date: Jun 2007
Location: Australia
Posts: 817
For serving static files i recommend using another web server like Nginx or Lighttpd. This will bring your server load down.

__________________



Reply With Quote
  #15  
Old 03-01-2010, 09:47 PM
tulix tulix is offline
Web Hosting Master
 
Join Date: Apr 2005
Posts: 1,111
this is a good suggestion, but without multiple drives that wouldn't help

Quote:
Originally Posted by CH-Shaun View Post
For serving static files i recommend using another web server like Nginx or Lighttpd. This will bring your server load down.
this is a good suggestion, but without multiple drives that wouldn't help.

Although 25-40 Mb/s is not that much bandwidth, load depends on the traffic pattern, small files, big files, etc. More drives you'll put - easier will be to handle any type of traffic (assuming that you are using server grade motherboard). 4 drives will let you to push 100 Mb/s, 8 drives even more. File system like XFS (on Linux) may help you out too.

After hitting some limit you may want to switch to multi server environment.

__________________
Professional Streaming services - http://www.allyoucanstream.com - info at tulix.com
Level3 (AS10990) or better (AS36820) 10Gb/s+ network, best for streaming/VoIP/gaming
Budget (AS7219) network for others
Optimized with Internap's FCP 10Gx (up to 80Gb/s and beyond) for PERFORMANCE network

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best web server for file sharing website sodapopinski Hosting Security and Technology 9 08-10-2009 02:56 PM
Advice me for a proper Hosting Configuration and Company for a File Sharing website ipdaemon Dedicated Server 12 05-15-2009 05:34 AM
I need a server for a video/file sharing website Lightwave Dedicated Server 14 03-12-2008 10:02 AM
New File Sharing Website awsolutions Web Site Reviews 3 04-25-2007 12:35 AM
file sharing/download website dg_ak Web Design and Content 6 01-14-2005 03:27 PM

Related posts from TheWhir.com
Title Type Date Posted
File Sharing Site Rapidshare Cuts 45 Jobs as Traffic Declines Web Hosting News 2013-05-17 16:03:15
Court Documents Show Megaupload Helped Feds Take Down File Sharing Service NinjaVideo Web Hosting News 2012-11-21 10:53:49
Web Host 1&1 Internet Adds Server Restoration Tool for Virtual Machines Web Hosting News 2012-11-07 15:45:16
Swedish Police Raid Web Host PRQ, Take Down File-Sharing and Streaming Sites Web Hosting News 2012-10-02 11:19:32
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39


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?