Topic
1 reply Latest Post - ‏2013-03-06T09:52:20Z by botemout
botemout
botemout
68 Posts
ACCEPTED ANSWER

Pinned topic Strange behavior when calling robocopy from python

‏2013-03-05T02:16:38Z |
Greetings,

I'm pulling my hair out on this one and hope that someone has seen this before.

My (currently) two NSD servers run samba/CTDB. Windows 7 clients use robocopy to get data from CIFS. Performance is okay 70MB/sec give or take. However, if I do the exact same call as, say,

cat test-robocopy.py
import os
os.system("robocopy \\gpfs\blah\blah2 c:\tmp")

will crawl at about 4-5MB/sec.

Curiously, if I run the above on a win2008 R2 box, with native GPFS, performance is normal. I monitor the NICs and am sure that the traffic is in fact coming over CIFS rather than the internal gpfs driver.

When I first started looking I was thinking that python was the problem, but I see the same thing, with perl. So it's the OS, but how is working when GPFS runs on the system even though I'm not using a native GPFS path. I'm starting to look at hotfixes, windows updates.

Thanks much,
JR
Updated on 2013-03-06T09:52:20Z at 2013-03-06T09:52:20Z by botemout
  • botemout
    botemout
    68 Posts
    ACCEPTED ANSWER

    Re: Strange behavior when calling robocopy from python

    ‏2013-03-06T09:52:20Z  in response to botemout
    Wow, what a doozie this one was. The problem went away when I installed the 64bit python.