Tcp/ip Tuning For Better Speed
i have this couple of windows 2003 servers, colocated in data center, i need to improve download speeds to our customers who are at least 200ms away, the end user is not using download accelarator,
is there a way that any settings to be done on server so that per thread speed can be increased, this case the server and client both have the ability to make a connection at more than a megabit speed. i did some search but all the articles point to end user and not the server saying to increase tcp window size etc.. not sure if those articles relate to server side changes.
View Complete Thread with Replies
Related Forum Messages:
as part of a project I have lately been looking into various aspects of kernel tuning. Most notably lately tuning the TCP stack for more efficient memory usage/throughput.
Thought I would start this thread to mention some of the tools I'd found for doing testing and see what anyone else had to recommend.
So far my favorite of the bunch is nuttcp. Its easy to use and gives a very good idea of how much of your bandwidth you are able to utilize.
A few interesting web pages are as follows for anyone interested in the topic:
[url]- Tuning TCP for High Bandwidth Delay networks
[url]- TCP Tuning Cook book, some interesting information in there as well
[url]...formanceTuning - Performance Tuning TWiki. Has a list of useful tools, flags for existing tools and ways to monitor network performance from a system level, along with some suggestions of things to correct
I have Linux server with WHM/Cpanel with 2000 domains now my problem is.Mysql is using 90-100% CPU usage and 1500-2000 queries are running at a time so please guide me how can i optimize it and how can i tune mysql server so it doesn't go high.
I have configure my.cnf file as --->
max_allowed_packet = 4M
set-variable = max_connections=100
long_query_time = 3
how can i do this and any changes is require ?
Tuning Sites For MySQL
What have you found to be the best tuning sites for MySQL?
I'm getting into a bit of trouble. We have a weather site, and with all of the traffic, we're getting a little tapped out. When the loads hit between 134 and 160, the mail clients start to time out. Apache is still pretty fast, although it takes a little longer once you cross loads of 80, 5 second page loads, but when it hits between 130 and 160, I'm seeing 15-20 second page loads. DA is impossible above 80 but SSH is still very workable. Apache is tweaked to the max. I've kicked up some of the sizes in MySQL several weeks ago, and that did it them. However, we're taking on about 22,000 to 25,000 uniques an hour now. We normally can handle that no problem, but people are asking for maps a lot more now with the flooding and all. That requires a lot of MySQL lookups and the CPU creating a lot more maps. The maps I already cache for the duration, which is 15 minutes. The only horse I have left to whip is MySQL. After that, it will probably be a move to FreeBSD 7, but I'd like to throw in a few tweaks yet before we do that.
Tuning-primer.sh Results, How To Act On Them
MySQL Version 4.1.22-standard i686
Uptime = 0 days 0 hrs 4 min 15 sec
Avg. qps = 17
Total Questions = 4479
Threads Connected = 1
Warning: Server has not been running for at least 48hrs.
It may not be safe to use these recommendations
To find out more information on how each of these
runtime variables effects performance visit:
Current long_query_time = 10 sec.
You have 1 out of 4491 that take longer than 10 sec. to complete
The slow query log is NOT enabled.
Your long_query_time may be too high, I typically set this under 5 sec.
Current thread_cache_size = 128
Current threads_cached = 6
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine
Current max_connections = 2000
Current threads_connected = 1
Historic max_used_connections = 7
The number of used connections is 0% of the configured maximum.
You are using less than 10% of your configured max_connections.
Lowering max_connections could help to avoid an over-allocation of memory
See "MEMORY USAGE" section to make sure you are not over-allocating
Max Memory Ever Allocated : 96 M
Configured Max Per-thread Buffers : 10 G
Configured Max Global Buffers : 58 M
Configured Max Memory Limit : 10 G
Total System Memory : 3.95 G
Max memory limit exceeds 85% of total system memory
Current MyISAM index space = 78 M
Current key_buffer_size = 16 M
Key cache miss rate is 1 : 735
Key buffer fill ratio = 8.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere
Query cache is enabled
Current query_cache_size = 32 M
Current query_cache_used = 4 M
Current query_cach_limit = 1 M
Current Query cache fill ratio = 14.83 %
Your query_cache_size seems to be too high.
Perhaps you can use these resources elsewhere
MySQL won't cache query results that are larger than query_cache_limit in size
Current sort_buffer_size = 2 M
Current record/read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
Current join_buffer_size = 1.00 M
You have had 0 queries where a join could not use an index properly
Your joins seem to be using indexes properly
OPEN FILES LIMIT
Current open_files_limit = 10000 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine
Current table_cache value = 1024 tables
You have a total of 721 tables
You have 93 open tables.
The table_cache value seems to be fine
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 212 temp tables, 0% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Created disk tmp tables ratio seems fine
Current read_buffer_size = 1 M
Current table scan ratio = 17754 : 1
You have a high ratio of sequential access requests to SELECTs
You may benefit from raising read_buffer_size and/or improving your use of indexes.
Current Lock Wait ratio = 1 : 76
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
how to make the changes in red? My server works good for awhile, but then gets REALLY REALLY slow.
Tuning A FreeBSD VPS For Network Performance
I have a VPS system on the west coast of the US, and access it from the east coast. Sometimes I can get 1Mbyte/sec downloads, and other times it is as bad a 250KB/sec.
I have done some pings, and have not seen any packet loss. I've experimented with sysctl and changed some parameters to hopefully help, but really haven't seen much of a difference.
Does anyone have a recommendation as to what I could do different to squeeze a little more speed out of the connection? The problem is that from both sides of the US, I see ping times (depending on different ISPs on the east coast) from 80ms-120ms.
Here is what I've tuned so far:
Speed- At FDC ( Speed Tests )
I am having some serious speed issues with my 1Gbit server at FDC. After opening a ticket, they've simply dismissed it as a server configuration problem. However I am convinced it isn't because certain ISP's (usually universities) get good speeds, usually 700kb/sec but the vast majority of my users get between 20-50 kb/sec and it's causing a lot of complaints.
Furthermore I have other servers with FDC which are 100mbit which perform better than my 1 Gbit one. There are no server bottlenecks (CPU/RAM/HDD), since I've closely monitored them (PRTG) and they aren't even heavily utilised. So the problem is with the network at some point.
Speed Test : [url]
where abouts you are downloading from, your ISP and net connection. Wget's from servers are also welcome as are traceroutes.
After reading tons and tons of messages on these forums... I have decided to get a VPS from KnownHost or SLhost.com.
KnownHost packages are a bit more expensive than SLHost (prepaying 6 months), however I am not looking to save a buck or two. I want the best speed for the money.
Can anyone tell me which of these two has the best performance (server performance and bandwidth performance) for the money?
200GB Premium Bandwidth
256MB Guaranteed RAM Burstable to 768 MB
10 GB Disk Space
$5 - Control Panel
$402 per year with Control Panel
300 GB Bandwidth
384 Guaranteed RAM (Burstable unknown?)
20 GB Storage
Free Control Panel
$389.64 per year
Just trying to figure out which one would give me the best performance...
How To Get Best Possible Speed.
ive got a site (heavily mysql/php based) and ive installed e-accel and mod_gzip. im wondering if anyone knows any other ways to speed up the site ?. mysql has been optimized also.
its pretty quick loading now but i want tho get it running as fast as possible
Speed Up NFS
how do we speed up NFS connections?
This is what I currently have in the server exports:
/images 184.108.40.206(rw,no_root_squash) 10.111.0.11(rw,no_root_squash)
I am trying to purchase a server and HiVelocity gave me a really good quote. But their speed test did not turn out really good.
Anyone can share their views on their network and speed?
I want ask How i know the Server Download speed from Rapidshare ? I have windows Dedicated Server with 1GB Port and when i download something from rapidshare its just 2MB/s , is that Normal ? and now i am thinking to Buy another one , How i can know the Download speed from rapidshare site ? I ask some Company about that but No one give me test or any thing like that ,
I recently setup WAMP on my dedicated, and I'm unsure if the slow download speed is from WAMP or something else I need to remove from the dedicated. Might just be the distance I am from the dedicated because it's hitting 88.74Mb/s down and 71.19Mb/s up from a local city.
It's located in Kansas city, MO.
How Can I Test Vps Speed
I ordered my first vps and uploaded a 1 page web site with a few graphics. I browsed to the web site and it took longer than normal to load the entire site with all graphics.
Is there a way that I can test my vps account speed?
UK2 Speed Test
Can a few people try to download the test file in [url] and tell me what speeds you get and from which location?
I'm comparing UK2 and RapidSwitch. I'm interested to know the d/l speeds from East/West coast USA, Asia, Australia. I'm assuming Europe would be fast.
uploading some stuff to my servers, and it's going at about 50-60 kbps.
what would be a good service that could see my uploading speed rise to about 100-200 kbps?
I live in Canada, BC to be more specific
After reading a lot of good reviews on Softlayer around here, I was thinking about switching to them. They have some really good deals and I'm planning on getting one of their dual opterons, but I have a question about the processor speed in relation to database intense stuff (like a forum with a good number of users on at once, or a CMS).
I have the option of either going for a Dual Opteron 248 (2.2 gHz) or a 252 (2.6 gHz) which costs $50 more. My question: is the 252 really worth the extra money compared to the 248? All I have on my server is an IPB forum with 100-450+ users on at any given time, and a static site (soon to be converted to a CMS), and I'm thinking that RAM is more important than the processor for a database app like those (that, and hard drive speed). So I wanted to know if it would be better to go with the 248 and spend the money on more Ram and a SA SCSI 10k drive or two?
Speed Of My Site
I just bought a hosting on one of the American servers providers, so I am interested how fast my site loads at different locations around the world. Mainly I am interested in US, Europe and Australia. I am from Europe but, my connection is not so great
I want you input on how fast does it load on your end, and maybe how high ping is from your provider.
I hope there are some people who want to help me. I want post a link here because then people will complaint that I am advertising the site...
So if it is not a problem just post a message on this topic and I will send you a link true private message.
FTP Upload Speed
I got a dedi windows box with Plesk 7.6.1 installed.
I can't figure why is the max upload speed via ftp client is 25Kb/sec when I capable to push > 50kb/sec?
Anyone know how to fix it? Maybe in metabase.xml file?
we have 9 rack each rack have 2 cisco switch 2950(1 for internet and 1 for private network) if we try to do a transfer files between two server we can't go over 1mbps, the same if we move the file from the web, every server nic is set to 100mbps the same for swith port, why we get a so slow speed?
We have 10 VPS node on one hyperVM.
One of the VPS have problem while uploading.
When I try to upload any contents to my site it gives me 10Kbps speed so I am worry about it.
I have one reseller account on which I get more than 200Kbps upload speed.
What can I do to fix this issue?.
if any changes I need to do on openvz.
Compare VPS Speed
Is there anywhere when you can check the performance of some kind of script on different VPS hardware?. For instance in a 128RAM, 256RAM,....... or in a P4 2.4Htz comparing to a Dual, etc.???
I know all this is affected but many factors but approximate result would be good interesting.
How I Do My VPS Speed Test
I noticed that lately there are tons of cheap vps offers.
Before you pay for it ahead for next 5 years, test it.
From my experience with vpses going years back i do it this way.
Install Webmin if you do not have it.
Set it for https and MCS.Linux Them, one with all graphics.
Run WHT benchmark.
If you get a score 60+ great, test several times (day, night etc.).
Login into Webmin in https mode.
Go to others and click on System and Server Status.
If you get a full update under 8 sec that is good.
Reload few times and time it again.
In my opinion you are testing connectivity as well and not
only vps itself.
Otherwise i think you will be looking for another vps soon.
I've tried googling, searching on webhosting talk for 100meg test file, speed test for linux server, ect.. ect.. ect.. and I cant seem to find a damn thing.
Anyone have a recommendation for a place to download a 100mb test file to test out my speed? I'm looking for a server on a gig line.
Bandwidth Cost And Speed
My users frequently tell me that my website is slow, but it doesn't seem to be so, for me. Are there objective tools and criteria to test its speed (response time, max transfer etc)?
Also, I'm currently paying $1 for GB of transfer. How much does it usually costs?
Since my hosting company sets php_safe off, I'm considering changing it.Can you guys recommend me a hosting plan that has:
- ssh with vi etc: this is important
- A FAST server
- Norway-based (to enjoy .torrents without being bothered) or US Based (to enjoy "fair use", which seems to be exclusive to the USA)
- 1-3GB of space
- LOTS of transfer. I don't consume many gigabytes yet, but someday I will.
- Some kind of hacking protection. I'm damn scared of my website suffering a vampire attack and having to pay for the raeped bandwidth.
Why Don't Providers List RAM Speed
I'm curious as to why more dedicated server providers don't list RAM
speed in their server specs. To me, server performance is very important,
and the speed of the ram can certainly affect that.
It also might not be obvious to many people how to determine the speed
of the ram in your system. You can use the program lshw...
description: DIMM 1333 MHz (0.8 ns)
physical id: 1
width: 64 bits
clock: 1333MHz (0.8ns)
Limit Download Speed
im using vmware in centOS dedicated server
how i can limit Download speed for each IP ?
how i can limit download speed for each Vms?
how i can limit download speed for all Vms?
Speed And Security -> PHP Focus
I am setting up a VPS for testing purposes and I now want to try to really test how to get the most out of it when it comes to speed (focusing on PHP) without throwing security out the window.
I have started by letting Configserver secure and set the server up with mod_security, suhosin and suphp, which is great for security but not very quick.
Suphp does not work with eaccelerator for example, but putting things in dso mode is not exactly very safe...so what to do?
Apache is another thing that slows down and i have been looking at LiteSpeed (free version should work for just a handful accounts on a vps I guess?) and I have heard about lighttpd and Nginx, but I have no idea what works or how....
I am a WHM/Cpanel geezer so while I am surely ready to consider other alternatives I am a bit reluctant to move away from what I am familiar with, but if I have to to get the best speed and security...I'll do it
So...what needs to be done to speed things up and deliver lightningfast PHP pages...any experience or thoughts you want to share?
Corenetworks Speed Test
Anyone got a 100mbit server at corenetworks that I could speed test from? The test file that I got from corenetworks was only able to give me about 500KB/sec so I think their server might only be 10mbit.
HP Proliant DL380 G2 New Fan Speed
I've been running a Proliant DL380 G2 for awhile now, and today Ive run into a new problem. But first...
* When I setup and installed Windows 2000 on the server, I had installed a sound card in it as well.
* I then installed all the necessary software to run the server, and one of the drivers that were installed throttled down the fans.
Everything has worked flawlessly for 24/7 for 9 months up until today. Today I uninstalled the sound card drivers from device manager, then shutdown the server and removed the sound card. I then powered up the server, and now all the fans are running full blast and no longer throttling. If anyone hasn't been around a proliant, imagine 6 hair dryers running.
Right now, I cant hear anything else that's going on around me and if anyone has any experience with proliants I'm very open to suggestions on getting these fans back down to a tolerable level.
The only errors I'm getting in event viewer are the usual DCOM errors. Event ID 10005
Download Speed Test
What download speed do you get
I have 100MB/Sec port and normally always get around 500-600kbps download speed with DedicatedNOW but today I am only getting around 170kbps
I have a 10mb connection and when downloading file from here [url]I get 1.2MB/sec download speed
I asked support to confirm if I had 100MB/sec port and got a reply with:
"Your server is on a 100mbps port:
-bash-3.2# ethtool eth0 |grep Speed:
Sounds like a local issue. I am able to download at:
Response: 226-File successfully transferred
Response: 226 32.674 seconds (measured here), 6.12 Mbytes per second
Server Download Speed
I've two shared hosting accounts, one is hostgator and other is godaddy.
I've uploaded a file (.flv) on hostgator and same file on godaddy.
here a link to both
Now i am use a Download manager " free download manager" to download files
The hostgator file downloads at 17-35kb/s
The godaddy file downloads at 200kb/s
I am using 2Mbps dsl.
Also my hostgator cpanel loads slow. and other files are downloads at very low max 40kb/s.
What are the issues. I've contacted hostgator support and they say that every thing is ok on their end.
I have to stream videos on hostgator but the speed is too slow. and it buffers alot.
MediaLayer - When Speed Matters
I just wanted to post a quick review... I until recently had all my sites on HostGator... a fine host but not a performance host. I did my research and ended up trying MediaLayer! All I can say is WOW... I've been developing a Drupal based site for some time now and it was sluggish on HostGator to say the least. After the move to MediaLayer it screams! I wasnÃ¢Â€Â™t expecting this extreme of a performance difference but it really did improve... And not just a little... If anyone is looking for speed... Do yourself a favor a give MediaLayer a shot... It's that good
How To Diagnose Server Speed
What would be best method to test quality of server?For example,how site loads,do they load at all,speed of loading,etc.
What bothers me some of my site which i host on my servers start to lose traffic a lot lately.It could be beacuse of summer slowdown,but i simply cant belive in that.
Maybe server have a downtime or server have bad hardware router which doesnt accept all traffic.In shortly i belive something is wrong.So please tell me how do i do deep scan/check of all my servers.
Is My Server Speed Capped
This has happend before when server hit 4 mb/s i saw straight line on mrtg for 20 min.
I email the support but they said they do not cap anyone.
Anyway to check my server really isnt capped?
server is on 100 mbps port. Bandwidth not shared.
Downloading Speed From My Site
I have a website on bluehost and i have a major problem in downloading speed from my site. for ex. if you went to any game page on my site "that download the game to play" the download time for the game "flash file" take DOUBLE the normal time.
I am on shared hosting, i know it may be less perfect but not to that level of slowness.
I have no errors in the log file .
When i searched for the server i found it has 1260 web sites.
My site www.samargames.com and you may check for game page.
how to solve the slow of downloading the flash files from my BH account.
Uplink Speed Upgrades
What are the benefits of moving to faster uplink speeds? I'm considering upgrading from 10 to 100 Mbps. Does it only mean being able to send information faster or are response times improved as well?
Limit Download Speed
What's best way to limit upload/download from/to server?
I have found this
Is mod_cband best solution ?
This can be done also with mod_bandwith, default enable on whm/cpanel, as write here: