USB vs PS/2 Keyboard: latency, bandwidth -> inputs per second? - Overclock.net - An Overclocking Community

Forum Jump: 

USB vs PS/2 Keyboard: latency, bandwidth -> inputs per second?

Reply
 
Thread Tools
post #1 of 131 (permalink) Old 10-01-2010, 06:17 AM - Thread Starter
New to Overclock.net
 
dan_k's Avatar
 
Join Date: Oct 2010
Posts: 15
Rep: 1 (Unique: 1)
Hello,

1.) PS/2 port, Wikipedia says, works at 10-16 kHz and I think protocol defines 11 bits per packet. That comes down to 16,000 / 11 = 1454.55 keys per second. True?


2.) USB default Windows polling rate is 125Hz, i.e. it has 8ms latency or lag between each packet. Now, even though each packet is 8 bytes long it seems USB keyboards still need to communicate only one key per packet, and that comes down to 125 keys per second. True?

While that may sound enough, it is only about 2 keys per frame @60fps animation, so if you play some fighter where you need to perform "DOWN+RIGHT+PUNCH" in a single frame this can be a problem, especially if there are two players both trying to report their combos in the same time.


USB keyboards are so much worse than PS/2?
dan_k is offline  
Sponsored Links
Advertisement
 
post #2 of 131 (permalink) Old 10-01-2010, 08:00 AM
 
Join Date: Apr 2008
Location: Planet Earth
Posts: 4,124
Get a Razer Mechanical.

1000Hz polling rate.

Woohoo!

The gold connector makes it go faster too.
ripster is offline  
post #3 of 131 (permalink) Old 10-01-2010, 08:12 AM
New to Overclock.net
 
Arkuatic's Avatar
 
Join Date: Dec 2009
Location: Southern Cali, LA
Posts: 2,370
Rep: 129 (Unique: 118)
Quote:
Originally Posted by ripster View Post
Get a Razer Mechanical.

1000Hz polling rate.

Woohoo!

The gold connector makes it go faster too.
kidding?



Arkuatic is offline  
Sponsored Links
Advertisement
 
post #4 of 131 (permalink) Old 10-01-2010, 09:46 AM
 
Join Date: Apr 2008
Location: Planet Earth
Posts: 4,124
jk. I was taught using the Socratic method.

Wikipedia is not the best place for researching PS/2. Try this. And don't forget the difference between packet based protocols and IRQ old fashioned 1987 era protocols like the Gameport, Serial Port, and Parallel Port.

Good times. I'll miss that good old PS/2 port too.
ripster is offline  
post #5 of 131 (permalink) Old 10-03-2010, 08:17 AM
 
Join Date: Apr 2008
Location: Planet Earth
Posts: 4,124
The OP posted the same thing over at Gamedev.net.

Didn't end well.
Quote:
Except that the number you have just called rubbish is from the specification, which you asked about in your original post.

I'm issuing you with a warning for intentionally being argumentative and goading other members.


Guys: In this sort of situation, just report the thread and don't get into a degenerative flameware.


Thread closed.
The key thing to remember is USB is a packet based protocol with the HID specification able to handle 10 keys per packet. The maximum keystrokes per second is 500. 500. One second. Try it, doubledogdareya.

It's good to know this stuff because if you believe the Razer Marketing department y'all should be using a Black Widow at 1000hz.
ripster is offline  
post #6 of 131 (permalink) Old 10-03-2010, 09:08 AM
Linux Lobbyist
 
sefwe's Avatar
 
Join Date: Aug 2010
Posts: 318
Rep: 15 (Unique: 13)
Ah a typical gangbang thread. A new guy is asking for something, and the gang is telling him he doesnt need it. Backing it up with solid evidence like

Quote:
I have strong belief that if you take bunch of "pro" CS:S and Quake players, put them on a server where the ping is seemingly 100, when in reality it is 40, they will feel that they perform sub-par.

... Most of this is psychological.
This doesnt change a fact that i somehow believe that an USB keyboard could be a bottleneck here. Besides, im not quite sure what is it you expect to hear. Just get a PS/2 keyboard, its better anyway. Problem solved.

PS. A Serial Port will most likely outlive USB. (as RS232 )
sefwe is offline  
post #7 of 131 (permalink) Old 10-03-2010, 09:30 AM
 
Join Date: Apr 2008
Location: Planet Earth
Posts: 4,124
USB is the number one technological innovation of all time.

Is RS232 the one with lots and lots of those little pointy things? They would sometimes bend and break off. Like PS/2.
ripster is offline  
post #8 of 131 (permalink) Old 10-03-2010, 09:49 AM
Linux Lobbyist
 
sefwe's Avatar
 
Join Date: Aug 2010
Posts: 318
Rep: 15 (Unique: 13)
This article is both outrageous and unfunny.

I wonder why it lists USB at all, with it being a latercome competitor to FireWire and all Difficult to count it as an innovation, other than maybe in Bill Gates' mind. Then again, with 2 videogames in the top10 of all PC tech innovations in the history of mankind im not surprised.
sefwe is offline  
post #9 of 131 (permalink) Old 10-03-2010, 10:00 AM
 
Join Date: Apr 2008
Location: Planet Earth
Posts: 4,124

Doom! Another classic from the days of RS232, Apple ADB, Parallel, Firewire, Gameports.

And PS/2.

ripster is offline  
post #10 of 131 (permalink) Old 10-03-2010, 10:06 AM
 
Join Date: Mar 2009
Location: San Diego, California
Posts: 8,014
Just get a good mouse that lets you adjust polling rate and a ps2 keyboard
88EVGAFTW is offline  
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off