Low IO priority

Post comments about Shareaza code and discuss with other developers.
Forum rules
Home | Wiki | Rules

Low IO priority

Postby old_death » 02 Feb 2014 18:54

In order for Shareaza not to interfere with the IO of certain programs like media players, it would be useful to set it to low IO priority (except for the Shareaza media player of course).


See for more information on how to do it on Win7:
http://superuser.com/questions/136021/h ... ad-in-win7

See for an example app:
http://sourceforge.net/projects/iopriority/
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Low IO priority

Postby raspopov » 02 Feb 2014 18:58

This is used by Shareaza already long time ago, primarily for hashing.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Low IO priority

Postby old_death » 02 Feb 2014 21:53

Also for writing downloaded files to disk and when reserving space upon creation of a new download?
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Low IO priority

Postby raspopov » 03 Feb 2014 03:53

No. It's requisite operations for Shareaza, so no low priority for them.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Low IO priority

Postby old_death » 03 Feb 2014 21:14

Maybe we should make those low priority, too, as they might interfere with programs that are attributed higher priorities like media players and other tasks that require high IO responsiveness.
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Low IO priority

Postby raspopov » 03 Feb 2014 21:45

Why? Downloads and uploads just freezes...
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: Low IO priority

Postby old_death » 03 Feb 2014 22:29

Why would they freeze? If the buffer is done in an intelligent way, neither up nor downloads should be freezing just because their disk accesses would be done with low priority...
Especially writing the chunks we've downloaded to disk could be done with low priority as the user doesn't care whether the content is written do disk with a few seconds delay (except for completely finished files - and writing could be prioritized in that case...)
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19


Return to Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron