in reply to Re^6: IO::Socket::INET performance on Linux
in thread IO::Socket::INET performance on Linux

Last guesses!

  1. What happens if you run your client on the server using the loopback address?
  2. What throughput do you see from using wget between the two machines?

    You'll need a http or ftp deamon running on one of the machines to try this.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^7: IO::Socket::INET performance on Linux

Replies are listed 'Best First'.
Re^8: IO::Socket::INET performance on Linux
by flexvault (Monsignor) on Nov 19, 2014 at 19:53 UTC

    BrowserUk,

    1. What happens if you run your client on the server using the loopback address?

      This is how I tested previously, and the performance was excellent. I'm using the Linux 'System Monitor' on both machines to see the speed of the network transfers. That's how I could see it pegged at 10Mbps. The cores on the server machine never went above 3%, and the cores on client machine never went above 5%.

    2. What throughput do you see from using wget between the two machines?

      This is how I first discovered the difference. Both wget and ftp could get near 97% of the wire speed with the 'System Monitor'. wget actually showed performance greater than 100%, but that's probably a rounding error.

    Both machines are new, and I originally installed 64bit Debian Linux 7.x. But the GNOME and KDE desktops were both broken. So I went back to 6.10, but already there are 374 patch updates in past month. Bottom line, this just may be a quick of the OS at this time. I'm using 32bit Perl because none of the CPAN modules I need compile using the 64bit gcc, but that's another issue I'll look into once I get these servers in production.

    Thanks for the help.

    Regards...Ed

    "Well done is better than well said." - Benjamin Franklin