Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP upload not as fast as FTP client
Message
From
12/04/2013 17:48:56
 
 
To
12/04/2013 16:26:59
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01570768
Message ID:
01570866
Views:
50
>>I think Rob's point was that increasing the buffer size from 4Kb to 256kb would mean your loop count is reduced by a factor of 64.
>>But is it the loStream.Write() or the loProgressBar.ShowProgress() which is taking the time.....
>
>At 90% of the increase performance gain, it targets at the buffer. There might be some improvements to look at the other two points mentioned. But, for now, I have an amazing upload performance gain and this is good enough for a while so I can concentrate on other things.


What is the performance if you

(1) Increase the buffer size to 16384
(2) update the progressbar every mulitple of 16 times in the loop


Reason: 16k or 256 k won't make much of a difference - my ( and others ) guess is that it is the updating of the progress bar that eats cpu cycles
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform