Marcel
2004-01-18 23:11:57 UTC
Hi All,
I'm getting big diferences in local versus network performances.
When I use Directory.GetFiles of DirectoryInfo.GetFiles on a local path with
some 11.000+ files,
it executes under 4 second. When I do the same over a network (UNC and
mapped) it takes a whopping 126 second. I've also tested it with win32 api
call but that still isn't much faster.
I ended up using a small remoting server with does it under 6 seconds.
Is this .net related or os-related? is there a faster way?
I've tested on a 100Mbit network with Windows 2000 Server SP4, Windows XP
Professional SP1 and Windows 2003 Server. Framework is 1.1
All code in debug mode.
Marcel
I'm getting big diferences in local versus network performances.
When I use Directory.GetFiles of DirectoryInfo.GetFiles on a local path with
some 11.000+ files,
it executes under 4 second. When I do the same over a network (UNC and
mapped) it takes a whopping 126 second. I've also tested it with win32 api
call but that still isn't much faster.
I ended up using a small remoting server with does it under 6 seconds.
Is this .net related or os-related? is there a faster way?
I've tested on a 100Mbit network with Windows 2000 Server SP4, Windows XP
Professional SP1 and Windows 2003 Server. Framework is 1.1
All code in debug mode.
Marcel