Tcp/ip Tuning For Better Speed
Apr 11, 2008
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 14 Replies
ADVERTISEMENT
Jun 7, 2009
Can anybody show me how to tune the prefork module I don't know where to begin.
View 4 Replies
View Related
Apr 24, 2009
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
View 0 Replies
View Related
May 5, 2009
shared hosting env?
/etc/sysctl.conf:
vm.dirty_background_ratio = 20
vm.dirty_ratio = 60
blockdev --setra 16384 /dev/sda
View 3 Replies
View Related
Dec 19, 2008
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
safe-show-database
query_cache_limit=1M
query_cache_size=128M
query_cache_type=1
key_buffer_size=256M
long_query_time = 3
table_cache=9092
how can i do this and any changes is require ?
View 2 Replies
View Related
Apr 4, 2007
I've noticed I'm getting high numbers for Handler_read_rnd_next.
How can I dig deeper to find out which tables/queries are causing this?
View 3 Replies
View Related
Jun 16, 2008
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.
View 8 Replies
View Related
Nov 22, 2007
Quote:
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:
[url]
SLOW QUERIES
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.
WORKER THREADS
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
MAX CONNECTIONS
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
MEMORY USAGE
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
KEY BUFFER
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
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
SORT OPERATIONS
Current sort_buffer_size = 2 M
Current record/read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
JOINS
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
TABLE CACHE
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
TEMP TABLES
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
TABLE SCANS
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.
TABLE LOCKING
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.
View 1 Replies
View Related
Jul 13, 2009
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:
kern.ipc.nmbclusters=65535
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendspace=78840
net.inet.tcp.recvspace=78840
net.inet.tcp.mssdflt=1460
net.inet.tcp.slowstart_flightsize=52
net.inet.tcp.inflight.min=29200
net.inet.tcp.sendbuf_inc=8760
net.inet.tcp.recvbuf_inc=8760
net.inet.tcp.sendbuf_auto=1
net.inet.tcp.recvbuf_auto=1
net.inet.tcp.delayed_ack=1
net.inet.tcp.delacktime=150
net.inet.tcp.inflight.enable=1
View 1 Replies
View Related
Sep 14, 2007
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.
View 14 Replies
View Related
May 22, 2007
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?
KnownHost offers:
200GB Premium Bandwidth
256MB Guaranteed RAM Burstable to 768 MB
10 GB Disk Space
$5 - Control Panel
$402 per year with Control Panel
SLHost offers:
300 GB Bandwidth
384 Guaranteed RAM (Burstable unknown?)
20 GB Storage
4 IPs
Free Control Panel
$389.64 per year
Just trying to figure out which one would give me the best performance...
View 13 Replies
View Related
Mar 4, 2007
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
View 5 Replies
View Related
Aug 14, 2007
how do we speed up NFS connections?
This is what I currently have in the server exports:
Code:
/images 192.222.0.3(rw,no_root_squash) 10.111.0.11(rw,no_root_squash)
View 6 Replies
View Related
Apr 28, 2009
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?
View 2 Replies
View Related
Oct 30, 2009
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 ,
View 6 Replies
View Related
Apr 23, 2009
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.
208.94.241.242/speedtest/
View 14 Replies
View Related
Jun 26, 2009
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?
View 11 Replies
View Related
Sep 24, 2008
Is it normally to get an 8-9 mb/s down speed and 2-3 mb/s upload with this server?
View 11 Replies
View Related
Sep 17, 2008
Can i have a speed test from different locations. [url]
View 14 Replies
View Related
Jul 8, 2008
do you know vps4less? I have a plan there. LxAdmin is very slow but hyper vps is fast.
View 2 Replies
View Related
Mar 8, 2008
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.
View 14 Replies
View Related
Dec 20, 2008
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
View 10 Replies
View Related
Apr 19, 2008
I am the server in my house and speed of communication server 2 MB per second Is this good speed Browsing
View 5 Replies
View Related
Mar 3, 2007
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?
View 5 Replies
View Related
Aug 22, 2007
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.
Thanks
View 9 Replies
View Related
Aug 3, 2007
how can we ridiculously speed up SAMBA connections?
View 6 Replies
View Related
Apr 10, 2007
I am considering Jaguarpc, but have seen a few comments saying they run slow. Any feedback for either vps or shared?
View 6 Replies
View Related
Jun 20, 2007
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?
View 3 Replies
View Related
Nov 7, 2007
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?
View 7 Replies
View Related
Sep 3, 2007
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.
View 4 Replies
View Related