Click here to Skip to main content
16,005,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How can I take the most recent record from a table? Pin
Dr.Walt Fair, PE6-Jul-10 3:55
professionalDr.Walt Fair, PE6-Jul-10 3:55 
AnswerRe: How can I take the most recent record from a table? Pin
riced6-Jul-10 6:47
riced6-Jul-10 6:47 
GeneralRe: How can I take the most recent record from a table? Pin
waner michaud6-Jul-10 7:06
waner michaud6-Jul-10 7:06 
QuestionMDI Parent and Child issues Pin
Simon_Whale5-Jul-10 0:21
Simon_Whale5-Jul-10 0:21 
AnswerRe: MDI Parent and Child issues Pin
Tom Deketelaere5-Jul-10 2:12
professionalTom Deketelaere5-Jul-10 2:12 
GeneralRe: MDI Parent and Child issues Pin
Simon_Whale5-Jul-10 2:29
Simon_Whale5-Jul-10 2:29 
GeneralRe: MDI Parent and Child issues Pin
Tom Deketelaere5-Jul-10 3:01
professionalTom Deketelaere5-Jul-10 3:01 
QuestionIs it the right approach to speed up the copy process? Pin
Sonhospa3-Jul-10 12:33
Sonhospa3-Jul-10 12:33 
Hi all,

one of the tasks in my application is copying several thousand large picture files (12 MB). In order to make this perform to the maximum I tried to parallelize the copy process using the ThreadPool, so that every file is copied in a new thread if available. The idea behind was that, on the target system - which is equipped with several RAIDs - this might result in a remarkable performance gain.

On my development computer I have only 2 harddisks and also don't have the necessary amount of files available, so I simulated the copy process by using a dummy (thread.sleep(200) instead of copy). This worked fine, and it seemed like hundreds of files would copy within seconds while using up to 9 threads. On the other hand, a final test on my development system, without the dummy but with much lesser files, didn't result in any performance gain at all. WTF | :WTF:

Since I don't have a lot of experience there's the doubt arising if the basic approach is correct and worth following, so that - before implementing everything on the target system - I wish to get some more experienced advice on that. Does this concept make sense at all so that it would be worth the effort, or am I on a wrong track? Btw I have to stay with .NET2.0 and can't use any of the VS2010 parallelism options... and I'm working with the VS2008 Express Version only.

Thanks for some guiding thoughts
Michael
AnswerRe: Is it the right approach to speed up the copy process? Pin
riced3-Jul-10 19:42
riced3-Jul-10 19:42 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Sonhospa4-Jul-10 0:03
Sonhospa4-Jul-10 0:03 
GeneralRe: Is it the right approach to speed up the copy process? Pin
riced4-Jul-10 0:57
riced4-Jul-10 0:57 
GeneralRe: Is it the right approach to speed up the copy process? Pin
DaveAuld4-Jul-10 1:19
professionalDaveAuld4-Jul-10 1:19 
NewsRe: Is it the right approach to speed up the copy process? Pin
Sonhospa4-Jul-10 4:39
Sonhospa4-Jul-10 4:39 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Аslam Iqbal4-Jul-10 11:13
professionalАslam Iqbal4-Jul-10 11:13 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Sonhospa5-Jul-10 21:12
Sonhospa5-Jul-10 21:12 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Аslam Iqbal6-Jul-10 11:19
professionalАslam Iqbal6-Jul-10 11:19 
GeneralRe: Is it the right approach to speed up the copy process? Pin
DaveAuld4-Jul-10 11:31
professionalDaveAuld4-Jul-10 11:31 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Sonhospa5-Jul-10 21:12
Sonhospa5-Jul-10 21:12 
QuestionDatagrid to database Pin
.NetDeveloper092-Jul-10 23:37
.NetDeveloper092-Jul-10 23:37 
AnswerRe: Datagrid to database Pin
Abhinav S3-Jul-10 0:01
Abhinav S3-Jul-10 0:01 
Questionsplash screen and timer control Pin
.NetDeveloper092-Jul-10 22:14
.NetDeveloper092-Jul-10 22:14 
AnswerRe: splash screen and timer control Pin
Mycroft Holmes2-Jul-10 22:45
professionalMycroft Holmes2-Jul-10 22:45 
AnswerRe: splash screen and timer control Pin
Wayne Gaylard2-Jul-10 22:53
professionalWayne Gaylard2-Jul-10 22:53 
GeneralRe: splash screen and timer control Pin
.NetDeveloper094-Jul-10 6:22
.NetDeveloper094-Jul-10 6:22 
GeneralRe: splash screen and timer control Pin
Wayne Gaylard4-Jul-10 20:26
professionalWayne Gaylard4-Jul-10 20:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.