Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-01-2007, 02:26 AM   #1
Senior Member
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
faster new machine serves images slower than old machine?

I have a live site, let's call it The site has been up for 46 days and served up about 1.5 million page views last month which means about 8 million hits.

I'm setting up a new server with a faster CPU (which happens to be dual-core), more RAM, 3 hard drives instead of one, and a 100 Mb/s network interface instead of 10Mb/s.

I've copied my site code over to the new machine which I can access by visiting

For some reason, the pages seem to render more slowly on the new machine even though it should be faster. In particular, the new machine appears to load images more slowly. Why might this be?? I can clear the cache in my browser, visit the same page on both sites and the live machine (a 2ghz celeron) appears to serve the images more quickly than the hot new box (2.2ghz dual-core AMD chip). Might this be due to some DNS weirdness as in the the old machine is a more widely visited IP address than the new machine? Is there some way to benchmark this sort of thing so I can bring a quantitative argument to my hosting provider about it?
Old 11-01-2007, 03:01 AM   #2
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47

Rep: Reputation: 15
if you doubt about DNS, then try access your site by ip address. then see the difference
Old 11-01-2007, 12:23 PM   #3
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, macOS, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
As crazy at it sounds, you might want to check the duplex setting of the new server's NIC. I've seen some at 1000/half and it is PAINFUL to use those boxes.

Beyond that, I think Selva146's suggestion on bypassing DNS by using the direct IP address is a great idea.
Old 11-01-2007, 04:28 PM   #4
Senior Member
Registered: Dec 2004
Posts: 1,056

Original Poster
Rep: Reputation: 78
I used tracert and apparently the old server has 29 hops where the new one has only 18. I'm guessing the route packets take is not permanent and may improve with time as the new server becomes more popular?

How might I check the duplex setting on the new server? It's on the east coast (i'm in cali). Is there a CLI command?
Old 11-01-2007, 06:00 PM   #5
Registered: Oct 2007
Distribution: rhel, fedora, gentoo, ubuntu, freebsd
Posts: 104

Rep: Reputation: 17
duplex settings: check the output of "ethtool eth0"

you can try forcing full-duplex with ethtool, as well.

I doubt it's a forward dns issue. You might be having reverse dns lookup issues though -- eg for apache logging. Check your httpd logs and config.

Also, consider looking at your httpd config anyway. There's a lot of settings in there that can substantially affect performance...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which distro runs faster on your machine? BrokeBody Linux - Software 12 11-09-2007 09:01 AM
Tips for FC5 install on a slower machine GoHskrs Fedora 8 03-28-2006 11:25 PM
Best linux setup for a slower machine? Acelius Linux - Laptop and Netbook 16 08-13-2004 10:56 PM
codes run slower on the faster machine xudeyong Programming 12 05-03-2003 06:09 PM
Dialup from RH72 slower than from Win2K on same machine ellisdodge Linux - Networking 4 08-09-2002 12:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration