Dear all,

During performance measurements using the read binary command (256B),
I noticed differences between windows (100ms) and linux (500ms) execution
time.

I figured out that the reason for this is a SCardReconnect call which
forces the
pcsc deamon to sleep for 400ms:

winscard.c - SCard[Re|Dis|C]onnect:
----------------------------------------------------------------------------------------

SYS_USleep(PCSCLITE_STATUS_POLL_RATE + 10);

return SCARD_S_SUCCESS;

----------------------------------------------------------------------------------------

I think this passive waiting for status conveyance decreases
performance dramatically.

What is the exact reason for sleeping such a long time?

Wouldn't it be better to notify the client in the case of a status change?

Best regards,

Stefan Strauß-Haslinglehner
Software developer

OMNIKEY
Ferihumerstrasse 13
A-4040 Linz
Austria

Fax       +43 (0) 732 / 602220  - 15
E-Mail    [EMAIL PROTECTED]
Web       www.omnikey.com
______________________________________
Visit us at
ID World, Rome, November 3-4th,  Booth D04
Infosecurity, Utrecht, November 9-10th, Booth 3B077
CSI, Washington DC, November 13-15th, Booth 329
Cartes, Paris, November 15-17th, Booth 3F040


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to