Re: Multithreaded File Writes
From: Alvin Bruney [MVP] (vapor)
Date: 07/12/04
- Next message: Bala Prasad Peddigari: "Performance of .Net applications on WAN"
- Previous message: Lloyd Dupont: "Re: Multithreaded File Writes"
- In reply to: Lloyd Dupont: "Re: Multithreaded File Writes"
- Next in thread: Lloyd Dupont: "Re: Multithreaded File Writes"
- Reply: Lloyd Dupont: "Re: Multithreaded File Writes"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 11 Jul 2004 19:35:44 -0500
> when I click on network connection, at startup, I usually have to wait for
> about 10 seconds before it popup.
>
> although there is 0% CPU activity and no other process.
>
> Windoes DOES have frozen period of activity for no apparent reason.
not really, i get the same thing as well but you can see by the activity
disk light on the computer that something is being done. if you listen
carefully, you can hear the disk activity as well.
-- Regards, Alvin Bruney [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] Got tidbits? Get it here... http://tinyurl.com/27*** "Lloyd Dupont" <ld@NewsAccount.galador.net> wrote in message news:ex1rzX6ZEHA.2520@TK2MSFTNGP12.phx.gbl... > Windows application itself behave like that. > > Like, for example, I just made a fresh installation of XP pro at home. > I have no product other than microsoft product installed. > > When I login > > 1st I launch the task manager > > 2nd, I go straight to start menu -> settings -> network connection, to > launch my ADSL connection > > when I click on network connection, at startup, I usually have to wait for > about 10 seconds before it popup. > > although there is 0% CPU activity and no other process. > > Windoes DOES have frozen period of activity for no apparent reason. > > The same does happen sometimes when you switch application, but in this > case > I understand it's memory swapping. > > "Shri Borde [MS]" <sborde@online.microsoft.com> wrote in message > news:hy0b9vgZEHA.3316@cpmsftngxa06.phx.gbl... >> What is the CPU doing when its idle and there is no disk activity. You >> should use a profiler to find out what is going on. >> >> I dont think that writing from multiple threads could speed up the disk >> writes. >> >> Shri Borde [MSFT] >> >> This posting is provided "AS IS" with no warranties, and confers no > rights. >> -------------------- >> > From: "Robin Day" <robin.day@advorto.com> >> > Subject: Multithreaded File Writes >> > Date: Fri, 2 Jul 2004 17:37:42 +0100 >> > Lines: 16 >> > X-Priority: 3 >> > X-MSMail-Priority: Normal >> > X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 >> > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 >> > Message-ID: <eFWEnLFYEHA.384@TK2MSFTNGP10.phx.gbl> >> > Newsgroups: microsoft.public.dotnet.framework.performance >> > NNTP-Posting-Host: 82-68-248-116.dsl.in-addr.zen.co.uk 82.68.248.116 >> > Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl >> > Xref: cpmsftngxa06.phx.gbl >> microsoft.public.dotnet.framework.performance:7869 >> > X-Tomcat-NG: microsoft.public.dotnet.framework.performance >> > >> > I have a system (written in C#) which writes out a large number of >> > small >> > textfiles. (300,000+) >> > Performance is an issue here, during the actual writing of the files > stage >> > of the application the processor runs at approx 20% and there is not >> > continuous disk activity. You can also continue to use the machine > hardly >> > noticing any performance change in other applications. >> > I have a theory that if I fire of the file writes in a multi threaded > way >> > then it may allow windows to make more use of the disk and processor in >> > order to complete this part of the application faster. >> > Has anyone had a similar task to do, or can anyone point me in the >> direction >> > of some good multi threaded file writing code in order to do this? >> > >> > Many Thanks in Advance >> > Robin >> > >> > >> > >> > >
- Next message: Bala Prasad Peddigari: "Performance of .Net applications on WAN"
- Previous message: Lloyd Dupont: "Re: Multithreaded File Writes"
- In reply to: Lloyd Dupont: "Re: Multithreaded File Writes"
- Next in thread: Lloyd Dupont: "Re: Multithreaded File Writes"
- Reply: Lloyd Dupont: "Re: Multithreaded File Writes"
- Messages sorted by: [ date ] [ thread ]