Strange I/O Reads with 4.0.19 ?

delphi package - automated exception handling
Post Reply
jdstone1
Posts: 2
Joined: Tue Feb 06, 2018 8:40 am

Strange I/O Reads with 4.0.19 ?

Post by jdstone1 »

I upgraded from 4.0.15 to 4.0.19 and have noticed any application with madExcept enabled now show minor CPU usage when idle and approx. 10 I/O Reads per second in Windows Task Manager details view.

Windows 10, Delphi XE.

We've gone back to 4.0.15 and the I/O Reads are no longer being shown.#

Any ideas?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Strange I/O Reads with 4.0.19 ?

Post by madshi »

The IO reads are pipe reads which serve as communication between madExcept's private exception handling thread and other threads. It's done once every 100 milliseconds, so 10 per second sounds exactly right. CPU usage should be so low that it's not measurable. You're saying you can actually see increased CPU usage?
jdstone1
Posts: 2
Joined: Tue Feb 06, 2018 8:40 am

Re: Strange I/O Reads with 4.0.19 ?

Post by jdstone1 »

The CPU usage could just be anecdotal but I'll run some more tests now I know the I/O reads should be there.

As 4.0.15 doesn't show any reads were the pipe reads introduced recently?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Strange I/O Reads with 4.0.19 ?

Post by madshi »

It was always a pipe, but the way it is read was changed very recently to avoid freezes in certain situations.
Post Reply