Re: [Samba] Fw: Poor performance getting lots of small files with WinXP/Win2k vs OS2

2006-09-21 Thread Jeremy Allison
On Thu, Sep 21, 2006 at 11:31:57AM +0200, [EMAIL PROTECTED] wrote:
> Hi,
> We're doing some of performance tests with Linux Samba v3.
> We're comparing WinXP/Win2k clients vs OS2 clients accessing a samba 
> server.
> 
> For one test, we're coping 10.000 small files.
> Let's say, we run the command copy \\sambaserver\1files\*.* 
> c:\data\1files
> 
> With an OS2 client it takes 23 seconds to complete.
> With an Windows client it takes  460 seconds to complete.
> 
> Doing a Ethereal capture, the network usage is very different.
> OS2 :
> No. TimeSourceDestination   Protocol 
> Info
> 
> So, the performance difference is easy to explain
> 
> Is there a way to avoid such network usage on a winXP client ?  At the 
> client side ? At the Samba server side ?
> Looks like it's related to the Windows NTFS environment

This is breakage on the Windows XP client. There's nothing
you can do except not use Windows, sorry. This is just what
those clients do.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Fw: Poor performance getting lots of small files with WinXP/Win2k vs OS2

2006-09-21 Thread Alain . Gorlier
Hi,
We're doing some of performance tests with Linux Samba v3.
We're comparing WinXP/Win2k clients vs OS2 clients accessing a samba 
server.

For one test, we're coping 10.000 small files.
Let's say, we run the command copy \\sambaserver\1files\*.* 
c:\data\1files

With an OS2 client it takes 23 seconds to complete.
With an Windows client it takes  460 seconds to complete.

Doing a Ethereal capture, the network usage is very different.
OS2 :
No. TimeSourceDestination   Protocol 
Info

 15 0.58876610.16.43.123  10.240.47.86  SMB Open 
AndX Request, Path: \1\0511_3008.IN; Read AndX, FID: 0x, 4096 
bytes at offset 0
 16 0.58900810.240.47.86  10.16.43.123  SMB Open 
AndX Response, FID: 0x2a81; Read AndX, FID: 0x, 74 bytes
 17 0.58925110.16.43.123  10.240.47.86  SMB Close 
Request, FID: 0x2a81
 18 0.58949410.240.47.86  10.16.43.123  SMB Close 
Response

WinXP SP2:


Trace Windows XP:
No. TimeSourceDestination   Protocol 
Info
 16 1.00173410.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \1000\0D02_1707.IN
 17 1.00196810.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_PATH_INFO
 18 1.00245410.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \1000\0D02_1707.IN
 19 1.00269710.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_PATH_INFO
 20 1.00294010.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \1000
 21 1.00318410.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_PATH_INFO
 22 1.00342710.16.37.96   10.240.47.86  SMB Trans2 
Request, FIND_FIRST2, Pattern: \1000\0D02_1707.IN
 23 1.00367010.240.47.86  10.16.37.96   SMB Trans2 
Response, FIND_FIRST2, Files: 0D02_1707.IN
 24 1.00391310.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_PATH_INFO, Query File Basic Info, Path: \1000\0D02_1707.IN
 25 1.00415710.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_PATH_INFO
 26 1.00440010.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_PATH_INFO, Query File Standard Info, Path: 
\1000\0D02_1707.IN
 27 1.00440210.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_PATH_INFO
 28 1.00488610.16.37.96   10.240.47.86  SMB NT 
Create AndX Request, Path: \1000\0D02_1707.IN
 29 1.00512910.240.47.86  10.16.37.96   SMB NT 
Create AndX Response, FID: 0x1cf0
 30 1.00537310.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_FILE_INFO, FID: 0x1cf0, Query File Internal Info
 31 1.00561510.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_FILE_INFO
 32 1.00610210.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_FILE_INFO, FID: 0x1cf0, Query File Basic Info
 33 1.00610410.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_FILE_INFO
 34 1.00634510.16.37.96   10.240.47.86  SMB Trans2 
Request, SET_FILE_INFO, FID: 0x1cf0
 35 1.00658910.240.47.86  10.16.37.96   SMB Trans2 
Response, SET_FILE_INFO
 36 1.00707510.16.37.96   10.240.47.86  SMB Read 
AndX Request, FID: 0x1cf0, 222 bytes at offset 0
 37 1.00731810.240.47.86  10.16.37.96   SMB Read 
AndX Response, FID: 0x1cf0, 222 bytes
 38 1.00780410.16.37.96   10.240.47.86  SMB Close 
Request, FID: 0x1cf0
 39 1.00829210.240.47.86  10.16.37.96   SMB Close 
Response
 40 1.00829410.16.37.96   10.240.47.86  SMB NT 
Create AndX Request, Path: \1000\0D02_1707.IN
 41 1.00877810.240.47.86  10.16.37.96   SMB NT 
Create AndX Response, FID: 0x1cf1
 42 1.00878010.16.37.96   10.240.47.86  SMB Trans2 
Request, QUERY_FILE_INFO, FID: 0x1cf1, Query File Basic Info
 43 1.00902110.240.47.86  10.16.37.96   SMB Trans2 
Response, QUERY_FILE_INFO
 44 1.00926310.16.37.96   10.240.47.86  SMB Close 
Request, FID: 0x1cf1
 45 1.00975010.240.47.86  10.16.37.96   SMB Close 
Response
 46 1.00999410.16.37.96   10.240.47.86  SMB NT 
Create AndX Request, Path: \1000\0D02_1707.IN
 47 1.01023610.240.47.86  10.16.37.96   SMB NT 
Create AndX Response, FID: 0x1cf2
 48 1.01047910.16.37.96   10.240.47.86  SMB Read 
AndX Request, FID: 0x1cf2, 222 bytes at offset 0
 49 1.01072310.240.47.86  10.16.37.96