Can the priority for disk device be reduced.

Hi all,

Am I correct in assuming disk / file writes get higher priority over other
thread that are running in an app.
If so how do we reduce the priority of the disk write threads, using msvc v6

Thanks

Robert Fernando
Anite Telecoms Ltd
110 Fleet Road
Fleet
Hampshire GU51 4BL
United Kingdom
Tel: +44 (0) 1252 775200
Fax: +44 (0) 1252 775 321
Email: xxxxx@anitetelecoms.com

Anite Telecoms Limited Registered in England No. 1721900 Registered
Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
United Kingdom


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

No, and you don’t :slight_smile:

Disk file read/writes get whatever priority the operating system has decided
is appropriate, or in some cases they get whatever priority the application
has decided to use for unbuffered IO operations. In either case this is not
something that you can readily change.

-----Original Message-----
From: Fernando, Robert [mailto:xxxxx@anitetelecoms.com]
Sent: Tuesday, October 16, 2001 10:58 AM
To: NT Developers Interest List
Subject: [ntdev] Can the priority for disk device be reduced.

Hi all,

Am I correct in assuming disk / file writes get higher priority over other
thread that are running in an app. If so how do we reduce the priority of
the disk write threads, using msvc v6

Thanks

Robert Fernando
Anite Telecoms Ltd
110 Fleet Road
Fleet
Hampshire GU51 4BL
United Kingdom
Tel: +44 (0) 1252 775200
Fax: +44 (0) 1252 775 321
Email: xxxxx@anitetelecoms.com

Anite Telecoms Limited Registered in England No. 1721900 Registered
Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP, United
Kingdom


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

What threads do you mean?
Writes are serviced either in your app’s thread or in filesystem’s worker thread called the FSP thread.
I don’t think there are ways of changing the priority of FSP threads.

Max

----- Original Message -----
From: “Fernando, Robert”
To: “NT Developers Interest List”
Sent: Tuesday, October 16, 2001 6:58 PM
Subject: [ntdev] Can the priority for disk device be reduced.

> Hi all,
>
> Am I correct in assuming disk / file writes get higher priority over other
> thread that are running in an app.
> If so how do we reduce the priority of the disk write threads, using msvc v6
>
> Thanks
>
>
> Robert Fernando
> Anite Telecoms Ltd
> 110 Fleet Road
> Fleet
> Hampshire GU51 4BL
> United Kingdom
> Tel: +44 (0) 1252 775200
> Fax: +44 (0) 1252 775 321
> Email: xxxxx@anitetelecoms.com
>
> Anite Telecoms Limited Registered in England No. 1721900 Registered
> Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
> United Kingdom
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Max,
In our app we have one thread which manages the tcpip link receiving and
sending commands one which collects data from a tcpip link and sends it to a
files (logging)
The question across because it appears data is being lost or delayed before
appearing in our logfile, according to time stamps in our file.

The tcpip link is across our corporate network work to a bit of test
equipment

Robert Fernando
Anite Telecoms Ltd
110 Fleet Road
Fleet
Hampshire GU51 4BL
United Kingdom
Tel: +44 (0) 1252 775200
Fax: +44 (0) 1252 775 321
Email: xxxxx@anitetelecoms.com

Anite Telecoms Limited Registered in England No. 1721900 Registered
Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
United Kingdom

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: 16 October 2001 16:36
To: NT Developers Interest List
Subject: [ntdev] Re: Can the priority for disk device be reduced.

What threads do you mean?
Writes are serviced either in your app’s thread or in filesystem’s worker
thread called the FSP thread.
I don’t think there are ways of changing the priority of FSP threads.

Max

----- Original Message -----
From: “Fernando, Robert”
To: “NT Developers Interest List”
Sent: Tuesday, October 16, 2001 6:58 PM
Subject: [ntdev] Can the priority for disk device be reduced.

> Hi all,
>
> Am I correct in assuming disk / file writes get higher priority over other
> thread that are running in an app.
> If so how do we reduce the priority of the disk write threads, using msvc
v6
>
> Thanks
>
>
> Robert Fernando
> Anite Telecoms Ltd
> 110 Fleet Road
> Fleet
> Hampshire GU51 4BL
> United Kingdom
> Tel: +44 (0) 1252 775200
> Fax: +44 (0) 1252 775 321
> Email: xxxxx@anitetelecoms.com
>
> Anite Telecoms Limited Registered in England No. 1721900 Registered
> Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
> United Kingdom
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: xxxxx@anitetelecoms.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com