LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2009, 06:11 PM   #1
mohitanchlia
Member
 
Registered: Aug 2008
Posts: 60

Rep: Reputation: 15
Slow scp


We have multiple Front End box and Back End box.

When I scp a file from FE1 to BE box it's slower then rest of the FE boxes. Network engineer looked at it and couldn't find any problems with NIC, switch, routes, Cards, configuration etc. How do I track this problem down?
 
Old 02-18-2009, 06:20 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
A couple of things you could start off with:

* Take a Wireshark trace of a "good transfer", of a "bad transfer", and compare the two
<= In particular, is there any excessive latency from one host or the other between packets?

* Benchmark a non-scp file copy on the "good host" vs the "bad host" (is the problem truly network/scp, or does one host simply have a faster disk or CPU than the other)?

How are things going with your "other problems"?

Have you tried JConsole, jmx-console, or learned anything more about the JBoss performance issues?

Have you tried "kill -15", or run "gdb" to get a stack trace of the "hung" process (conv32.linux, I recall) to troubleshoot the problem?

Inquiring minds want to know
 
Old 02-18-2009, 07:10 PM   #3
mohitanchlia
Member
 
Registered: Aug 2008
Posts: 60

Original Poster
Rep: Reputation: 15
I tried local copy and that seems to be fast. What else can I check? I am not sure what tcpdump will reveal. We al ready know it's slow and all network setting look ok.

Regarding other issue, jmx-console doesn't provide enough information about threads and how it's being scheduled on CPU.
 
  


Reply



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
Slow performance with Samba, but not FTP, SCP stealth210 Slackware 19 01-15-2008 03:53 AM
SCP slow on one interface ajatiti Linux - Networking 9 06-14-2007 08:38 PM
why is scp slow and ftp fast on same connection fpiergen Linux - Networking 1 04-11-2007 07:57 PM
slow NFS/SCP but fast HTTP/FTP darcon3k Linux - Networking 1 10-13-2005 05:22 AM
scp slow for tar files? kloppster Linux - Software 4 08-21-2004 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:39 AM.

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