in reply to Re^3: Perl on Windows Best Practices?
in thread Perl on Windows Best Practices?
I dont think file caching works over SMB connections,
Hm. l: is my net use for live.sysinternals.com\tools via my (currently) 700kbs broadband and wifi:
C:\test>net use l: Local name l: Remote name \\live.sysinternals.com\tools Resource type Disk The command completed successfully.
The first time I download procexp.exe it takes 34 seconds for the 2.5 MB file:
C:\test> prompt [$t] $p$g [ 4:41:09.11] C:\test>copy l:\procexp.exe . 1 file(s) copied. [ 4:41:43.33] C:\test>dir procexp.exe 11/07/2012 17:38 2,691,192 procexp.exe 1 File(s) 2,691,192 bytes 0 Dir(s) 101,746,388,992 bytes free
After that it is almost instantaneous. This is done by hitting cursor up and enter as fast as I can:
[ 4:56:14.29] C:\test>del procexp.exe && copy l:\procexp.exe . 1 file(s) copied. [ 4:56:14.34] C:\test>del procexp.exe && copy l:\procexp.exe . 1 file(s) copied. [ 4:56:14.38] C:\test>del procexp.exe && copy l:\procexp.exe . 1 file(s) copied. [ 4:56:14.42] C:\test>del procexp.exe && copy l:\procexp.exe . 1 file(s) copied. [ 4:56:14.47] C:\test>del procexp.exe && copy l:\procexp.exe . 1 file(s) copied.
Between .04 and .05 of a second. That can only come from local caching.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl on Windows Best Practices?
by bulk88 (Priest) on Jul 31, 2012 at 05:17 UTC | |
by BrowserUk (Patriarch) on Jul 31, 2012 at 06:12 UTC |