performance issue between vintasoft 8 and 10
Posted: Fri Jun 30, 2017 1:23 pm
Hi,
I have a performance decrease when upgrading vintasoft.twain from 8.4.0.1 to 10.2.2.1
I have a fast 60ppm scanner (fujitsu fi-7160), doing recto/verso scan in one pass.
cachemode=both, transfermode=memory, color=grayscale
Acquire
The device start scanning fast. After around 25 pages, the device stop scanning fast, and take pages one by one.
The device buffer is probably not flushed fast enough, so the device stop scanning and wait for the buffer to be free.
After analysing, the _device_ImageAcquired is fired way slowly than in the previous version, even if I do nothing in this event.
In 10.2.2.1, event is fired every 1.35sec
In 8.4.0.1, event is fired every 0.8sec
The issue is not present when using transferMode=native (same 0.9sec between events in both versions)
It's hard to see where is the bottleneck, as your assembly are obfuscated.
I can only say there is a lot a Thread.Sleep visible in the profiler.
Thanks for reviewing this issue,
Regards,
Romain Lagrange
I have a performance decrease when upgrading vintasoft.twain from 8.4.0.1 to 10.2.2.1
I have a fast 60ppm scanner (fujitsu fi-7160), doing recto/verso scan in one pass.
cachemode=both, transfermode=memory, color=grayscale
Acquire
The device start scanning fast. After around 25 pages, the device stop scanning fast, and take pages one by one.
The device buffer is probably not flushed fast enough, so the device stop scanning and wait for the buffer to be free.
After analysing, the _device_ImageAcquired is fired way slowly than in the previous version, even if I do nothing in this event.
In 10.2.2.1, event is fired every 1.35sec
In 8.4.0.1, event is fired every 0.8sec
The issue is not present when using transferMode=native (same 0.9sec between events in both versions)
It's hard to see where is the bottleneck, as your assembly are obfuscated.
I can only say there is a lot a Thread.Sleep visible in the profiler.
Thanks for reviewing this issue,
Regards,
Romain Lagrange