User Ratings
Rate This Project
Login To Rate This Project
Featured Reviews
Highest Rated
Thanks for so usefull software.
Lowest Rated
This does NOT work for me. It apparently wants something called .NET4
which I apparently do not have.
@@@
My audio stream over the Web breaks up, possibly due to huge I/O interference
by other programs ?
Being a Systems programmer, I ended up doing it myself in my own MASM program,
which already sets the Process Class for its parent PID. Verified by printing the
value B 4 and after:
in DOS Prompt:
C:>set FINDVOLppid=y
C:>set FINDVOLppidpri=7
C:>findvol.bat
I/O Priority was 0000000002, set to Low
FINDVOL Tue 08/27/2024 12:50:32.75 PPID = 1184 7
C:>findvol.bat
I/O Priority was 0000000001, set to Low
FINDVOL Tue 08/27/2024 12:53:21.35 PPID = 1184 7
and also using Process Hacker/System Informer (Win10) to see it on the other programs.
This is a snippet from my own MASM program:
.if (DEBUGEVC4 == '7') && (WINVERJ >= 6) && (WINVERM >= 1) ; Win7+
INVOKE NtQueryInformationProcess,
GETPPIDH,
33, ; ProcessIoPriority information class ?
OFFSET PIDIOINFO,
PIDIOINFOL,
OFFSET PIDIOINFOR
.if eax == ERROR_SUCCESS
CNTPRINT PIDIOINFO ; convert hex to dec
.else
FORCE0C4 '2' ; if wanted via EV, force crash dump (via low core access)
JMP BADIOPRI ; set bad RC
.endif
MOV EAX,1 ; set I/O pri to Low
MOV PIDIOINFO,EAX
INVOKE NtSetInformationProcess,
GETPPIDH,
33,
OFFSET PIDIOINFO,
PIDIOINFOR ; fails w/rc=x'C0000004' if length is not EXACTLY 4 !
.if eax == ERROR_SUCCESS
MOV DSNREAL,IOPRIMSG1L ; write msg to STDERR...
MSGERR IOPRIMSG1
MOV DSNREAL,10
MSGERR CNTNUM ; PIDIOINFO value from Query
MOV DSNREAL,IOPRIMSG2L
MSGERR IOPRIMSG2
MOV DSNREAL,2
MSGERR RECEND ; x'0D0A'
.else
FORCE0C4 '2'
JMP BADIOPRI
.endif
.endif
@@@
Thankx anyway for giving me ideas.
User Reviews
-
This does NOT work for me. It apparently wants something called .NET4 which I apparently do not have. @@@ My audio stream over the Web breaks up, possibly due to huge I/O interference by other programs ? Being a Systems programmer, I ended up doing it myself in my own MASM program, which already sets the Process Class for its parent PID. Verified by printing the value B 4 and after: in DOS Prompt: C:>set FINDVOLppid=y C:>set FINDVOLppidpri=7 C:>findvol.bat I/O Priority was 0000000002, set to Low FINDVOL Tue 08/27/2024 12:50:32.75 PPID = 1184 7 C:>findvol.bat I/O Priority was 0000000001, set to Low FINDVOL Tue 08/27/2024 12:53:21.35 PPID = 1184 7 and also using Process Hacker/System Informer (Win10) to see it on the other programs. This is a snippet from my own MASM program: .if (DEBUGEVC4 == '7') && (WINVERJ >= 6) && (WINVERM >= 1) ; Win7+ INVOKE NtQueryInformationProcess, GETPPIDH, 33, ; ProcessIoPriority information class ? OFFSET PIDIOINFO, PIDIOINFOL, OFFSET PIDIOINFOR .if eax == ERROR_SUCCESS CNTPRINT PIDIOINFO ; convert hex to dec .else FORCE0C4 '2' ; if wanted via EV, force crash dump (via low core access) JMP BADIOPRI ; set bad RC .endif MOV EAX,1 ; set I/O pri to Low MOV PIDIOINFO,EAX INVOKE NtSetInformationProcess, GETPPIDH, 33, OFFSET PIDIOINFO, PIDIOINFOR ; fails w/rc=x'C0000004' if length is not EXACTLY 4 ! .if eax == ERROR_SUCCESS MOV DSNREAL,IOPRIMSG1L ; write msg to STDERR... MSGERR IOPRIMSG1 MOV DSNREAL,10 MSGERR CNTNUM ; PIDIOINFO value from Query MOV DSNREAL,IOPRIMSG2L MSGERR IOPRIMSG2 MOV DSNREAL,2 MSGERR RECEND ; x'0D0A' .else FORCE0C4 '2' JMP BADIOPRI .endif .endif @@@ Thankx anyway for giving me ideas.
-
Simple, works, and similar to ionice on Linux.
-
Thanks for so usefull software.
-
It gets the job done, even if its a primitive console application.
- Previous
- You're on page 1
- Next