Results 1 to 3 of 3
  1. #1

    Default Blast from the Past - USB polling induced performance slowdowns


    [Disclaimer: The following views are solely the author's and do not necessarily represent those of the VR-Zone team]
    The ancient (some 25 years old by now) PS/2 keyboard and mouse interface, developed by IBM for the same-named PC series in the mid eighties, is pretty much adequate for those two input devices, unless you're talking about extreme gamer-style super-responsive mice that send their movements like 1,000 times a second or so. The little Intel 8042 keyboard controller chip handled all the work, not bothering the CPU much there. However, these connectors are, despite the still wide device availability, increasingly rare on the modern mainboards nowadays. Why?
    Well, conspiracy theorists say that when Intel first pushed their Universal Serial Bus, one major issue for them then was that the CPUs weren't fully loaded by then-typical OS and apps, so there had to be ways found to coerce buyers to part with their money for ever faster CPUs any possible way. One way was to load the CPUs with the I/O processing burdens, such as 'software sound' instead of Sound Blaster, 'software modems', and, yes, USB. The trick with USB was that it constantly had to be polled by the CPU, even if the peripheral connected did absolutely nothing, like the case of a keyboard without any key pressed. Polling introduces interrupts, task switching and such overhead, which of course bogs down the CPU, introducing the 'need for more speed'. Sometimes, even PC benchmarks were, and still are, slightly but still negatively affected by using the USB keyboard and mouse instead of the PS/2 one. Not to mention the battery drain on mobile devices...
    Fast forward to today and USB 3.0. It is the first USB update to finally remove the need for polling. After all, the bloatware of today knows well how to load any CPU, even multi core ones, so too-probing I/O interfaces become a liability. Now, if you have a super-speed mouse that needs polling to get its response speed, it can have it - but a keyboard with a few letters typed per second, doesn't need it that much, obviously.

    Here's the problem though - there are no USB 3 keyboards. Simply, they don't need USB3 extra speed, so why add the cost? Then comes the Thunderbolt, essentially an extended PCIe v2 lane combined with a DisplayPort link onto a single connection. Now, this goes, via the controller, directly to the chipset or CPU PCIe lanes, with minimal complexity - therefore less CPU load as well. So, both USB3 and Thunderbolt peripherals should, where possible, reduce or eliminate the unnecessary CPU I/O monitoring load left from the ancient USB times.

    Again, you're not likely to see these two interfaces on keyboards and mice. So, to complete the picture, the old PS/2 should, in my mind, make the comeback - and yes, both connectors, just like in the good old days without the artificially induced slowdowns.

  2. #2

    Default Re: Blast from the Past - USB polling induced performance slowdowns

    i have lots of spare PS/2 kb and mices... dont know what to do with them... then again... ingon nila ang di marunong tumingin sa pinangalingan ay di makaka rating sa paruruonan

  3. #3
    nice sentiment...you have a good point.

  4.    Advertisement

Similar Threads

 
  1. For Sale: Authentic Arduino Uno USB microcontroller from the US
    By D6045 in forum Other Electronic Devices
    Replies: 0
    Last Post: 05-02-2013, 02:20 PM
  2. Replies: 1
    Last Post: 03-21-2013, 07:01 PM
  3. Replies: 6
    Last Post: 02-18-2013, 03:28 PM
  4. BLAST in the PAST with Uknown "ShowGround" Bands
    By theWitzDev in forum Music & Radio
    Replies: 57
    Last Post: 12-04-2012, 04:44 PM
  5. Replies: 17
    Last Post: 10-25-2012, 06:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top