Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I wrote a Java application that checks and indexes huge archive files. When i test it on my local machine, everything is speedy and works like a charm. However, i need to process large quantities of data that resides on a remote drive, which is mounted using mount -t cifs When i run my app against data from the remote server, everything is incredibly slow - for example i start by putting together a manifest file that only holds the names of the available files: simply reading the name of ONE file takes about 20 seconds. How is this possible? When i do file operations using the GUI or Bash, everything is snappy and fast - i can easily copy 100GB of data in less than an hour... Here is my setup:

  • Ubuntu 11.10
  • Ethernetdriver r8168
  • wired connection

My app currently runs in the Eclipse console and is written in native Java.

I will happily provide any additional details needed. Thank you guys in advance, i'm really kind of stuck here and highly appreciate any hints you come up with! Cheers

share|improve this question
1  
Can you check with iperf what the throughput between these two nodes is? –  deed02392 Dec 11 '12 at 13:39
    
unfortunately, i only have root access to my node... –  user871784 Dec 11 '12 at 13:42
    
I don't think it's an issue with your software, it's more likely to be the network or configuration of the export/your SMB client. Try updating Samba and use smbclient to mount the SMB share. –  deed02392 Dec 11 '12 at 13:45
    
mounting with smbclient did not change things...i will now try to update eclipse and install JRE 1.7... –  user871784 Dec 11 '12 at 14:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.