how to find out the level IO

  • Thread starter Thread starter GS
  • Start date Start date
G

GS

I would like to create on file server (w2k3) an application service that
gets active only if hard disk io is not heavily loaded and if the CPU is not
busy either. Furthermore, I want the service yield to other demands. where
can I find the reference or better yet an example like this?

what do I have to watch out for? I will be using sqlexpress and also
writing out files to USB drive
 
Hi GS,

You could specify the thread to run on a lower priority

System.Threading.Thread.CurrentThread.Priority = System.Threading.ThreadPriority.BelowNormal;
 
thank you, I will look up more detail on using thread. I have not use it
before.

where would I put file watcher callback? in that low priority thread or a
separate thread?

Hi GS,

You could specify the thread to run on a lower priority

System.Threading.Thread.CurrentThread.Priority =
System.Threading.ThreadPriority.BelowNormal;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top