Talk:Polling rate

From Deskthority Wiki
Revision as of 17:10, 29 May 2016 by >Haata (Just some info I've looked into in the past, needs to be reviewed for validity before being put on the wiki.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

I started a document some time back to remind myself of all the polling rates of the various USB interfaces (and PS/2). Still needs a bit of work on the math (and some validation to make sure it's correct before I think it's wiki quality). Perhaps some proper spec references for the USB polling rates as well. -HaaTa

PS/2[edit source]

Interrupt based, usually. This is optional, and the OS can decide to poll the results from the PS/2 interface. The polling rate is likely around 125 Hz, but this is entirely dependent upon OS settings. Going from the PS/2 mouse protocol, this could be as bad as 10 Hz (possibly even worse).

Each 11 bit packet is around 900 us with a delay of at least 50 us between multiple packets (? not completely sure about this, depends on the keyboard implementation). This generally means about 1 ms per key, or 7 ms when pressing Ctrl + Alt + A + B + C + D + E.

Effective polling rate[edit source]

Best case 1 key: 1000 Hz Best case 6 keys: 167 Hz Bad case 1 key: 10 Hz (due to OS polling)

References[edit source]

USB 1.1/2.0 - Low Speed[edit source]

Polling Rate: 125 Hz

Max Data Rate: 1.5 mbps

TODO - Data transmission analysis

USB 2.0 - Full Speed[edit source]

Polling Rate: 1000 Hz

Max Data Rate: 12 mbps

USB 2.0 - Hi-Speed[edit source]

Polling Rate: 8000 Hz

Max Data Rate: 480 mbps

TODO - Data transmission analysis

USB 3.0 - SuperSpeed (USB 3.1 Gen 1)[edit source]

Polling Rate: 8000 Hz

Max Data Rate: 5 gbps

TODO - Data transmission analysis

USB 3.1 - SuperSpeed+ (USB 3.1 Gen 2)[edit source]

Polling Rate: 8000 Hz

Max Data Rate: 10 gbps

TODO - Data transmission analysis