News for hackers. Stuff that matters.
Re:Computer latency: 1977-2017 by timrobinson on Monday December 25, 2017 @06:22AM (#16003715)
Because PS/2 is interrupt driven whereas USB relies on the CPU polling for events.

https://en.wikipedia.org/wiki/PS/2_port#Legacy_port_status_a...

Re:Computer latency: 1977-2017 by ahartmetz on Monday December 25, 2017 @07:28AM (#16003885)
It's mostly irrelevant. USB uses polling internally, but the polling frequency is high and an interrupt is generated on the bus side when something has happened. I have taken latency measurements on PC hardware for a serial communication situation, and USB latency was a very small part of the problem. 1-2 milliseconds typically.
Re:Computer latency: 1977-2017 by kevin_thibedeau on Monday December 25, 2017 @12:00PM (#16004794)
It isn't irrelevant because USB packets still have to wend their way through the host stack after reception. Interrupt driven IO is always lowest latency.
Re:Computer latency: 1977-2017 by unwind on Monday December 25, 2017 @10:25AM (#16004406)
There is no separate interrupt line that devices can use to interrupt the host. All USB traffic is started by the host.
Re:Computer latency: 1977-2017 by ahartmetz on Monday December 25, 2017 @04:46PM (#16005849)
Yes, but with sufficiently high polling frequency it doesn't matter very much. (It is true that each hub may add latency, as your sibling comment noted.) Regarding the "interrupt on the bus side", I may have expressed myself badly - I meant PCI(e) bus.