Author |
Topic: Encoder Comparison Pages Back
Online (Read 396 times) |
|
|
|
RandyT
Full Member
  
Offline
Posts: 772

Friends don't let friends hack keyboards.
View
Profile | WWW | E-Mail |
 |
Re:Encoder Comparison Pages Back Online
« Reply #3 on: August 12, 2004, 11:35:33 PM » |
Reply
with quote |
Heh, I see you still believe the performance of PS/2 is better 
|
|
And I see you still haven't done any research to support your rolly eyed posts. 
Really, someone should clock that sometime to get this out of the way. I'd put
my money on USB (since the bandwith is vastly superior and a few interrrupts are not gonna kill
that lead) On the other hand, who cares. With games running at 60Hz (max) the computer has ages to
wait on your keypresses. Still, it would be nice to know.
|
|
Yes, someone should. But there is more at play than raw bandwidth when comparing
these things. 1.5mbs is a theoretical maximum of a "low-speed USB
device". How close any device, especially a keyboard device, comes to this
speed depends greatly on the capabilities of the microprocessor used in the device, the
efficiency of the code inside and the software support of the host system. Try using
USB with the rudimentary support included in the BIOS of most motherboards if you don't
believe this to be true. It might work, but you wouldn't want to use it for
anything. On the other hand, the BIOS support for PS/2 works very well.
This reminds me of the Commodore 64 days and the push to attach high-speed modems to
it. In theory, you can use every available processor cycle to pump a data byte out
of the port at 9600bps. The problem was (and maybe still is, I haven't looked at the
64 scene for while;)) that even though technically the 64 was speaking at 9600 baud, it
could only assemble the data prior to transmission at a rate similar to that of a 2400 or
4800 baud modem.
In other words, bandwidth does not necessarily equal throughput. And
this is just one of a number of possible variables that can affect performance.
You might also wish to ask the question why, when given the choice of using either
interface on an encoder that supports both, PS/2 is usually the one used. There must
be a reason, no?
Nice overview though. You sure take a lot of time to research all these things.
very impressive work.
|
|
Absolutely. the dedication to those pages impresses me every time I look at them.
Nice job TH!
RandyT
*edit*
spelling....
|
http://www.groovygamegear.com/
- Home of the KeyWiz Programmable Keyboard Interface, Panel-top Switchable 4 and 8-way
Joysticks, Arcade Buttons, Quick Disconnects, and much more cool stuff! |
|
|
RandyT
Full Member
  
Offline
Posts: 772

Friends don't let friends hack keyboards.
View
Profile | WWW | E-Mail |
 |
Re:Encoder Comparison Pages Back Online
« Reply #4 on: August 13, 2004, 05:34:54 PM » |
Reply
with quote |
Ha, ha, Randy. You always know to find some out of the way example ("a very
crappy USB device might be slower than a non crappy PS/2 device" or "many many years ago
there was a computer whith a really slow CPU that was unable to completely use up all the
bandwidth") to "prove" your point. Again I wonder why you claim I didn't research
the issue. Of course if you attach a crappy USB encoder it will not work, but the i-PAC is a fine
encoder and it does work. What 's the point of such statements?
|
|
The point is, it was a real world parallel of the difference between the "marketing
hype" and what is actually the case in a lot of instances with USB devices. I'm
sorry it was lost on you, I'll try harder next time.
And for the record, you just attempted to turn this into "yet another KeyWiz VS
IPAC" debate, which I am not going to get into again. The statements I am
responding to regard your general "USB is always better" rhetoric, nothing more.
If you want some point actually relating to the discussion at hand then think
about this; 1.5Mbps is the theoretical maximum bandwidth for USB. For PS/2 it's something like
10kbps. I'm pretty sure that factor 150 will matter much more in delays than any potential
interrupt conflicts.
|
|
And this is what shows your lack of research or real understanding of the topic at
hand. Your statement is along the same lines as this one:
"A car travels at 400 miles per hour, therefore a car is faster than a plane."
While this isn't necessarily a false statement, it is pretty far from being
accurate. Yes, a car has traveled at 400 miles per hour. Does your car?
Does mine? Does any production model? Can it turn a corner? Can it
maintain that speed long enough to be useful? Which plane?
Your statements use theoretical maximums as though they were the norm, and therefore are
misleading and not entirely factual.
Actually PS/2 is so slow that it cannot even be used in some applications (for
instance high res tablets). PS/2 doesn't offer enough bandwidth for the necessary information
stream.
|
|
And you wouldn't want to use it for transferring data from an external Hard-drive either,
but what bearing does that have on the point? Until well after USB was introduced,
artists tablets produced by WACOM and others used normal RS-232 serial. Not much of
a speed demand there I guess, as these functioned easily at 9600 baud (slower than the
PS/2 bus.)
A byte of data sent over the PS/2 keyboard port is framed at 11-bits. The max quoted
frequency of the clock is around 16.5khz, or 16500 bits per second. Drop that back
some to 15000 bits per second for compatibility purposes, divide it by 11 and you have
roughly 1363 bytes of data per second. Normal keys on a keyboard generate 3 bytes of
data, 1 at depress and 2 at release. So even if it were possible to press and
release 454 buttons within the time frame of 1 second, the PS/2 bus should still be able
to handle the traffic.
I'm not so sure 4 players pounding many buttons and wielding 4 joysticks
wouldn't give much more problems on a PS/2 encoder than the possibility of say a printer needing
an occasional USB interrupt delaying your USB encoder. I'm pretty sure bandwidth issues give a
much bigger delay problem than any possible USB interrupts blocking the USB encoder might.
|
|
If you aren't sure, why make statements like these? I can tell you that I am sure
that there would be no issues with PS/2 in this instance, at least not caused by a
limitation in the interface.
If you would like to conduct a test, wire your encoder up so that a single button
activates all inputs and use a program like Ghostkey to monitor the results while clicking
the button a few times in rapid succession. Hold the last press and record what you
see on the screen.
Do this with both USB and PS/2 and then tell me which one you think will have the greatest
possibility of a problem in the scenario you presented. I await your results.
For more normal use I wonder if any performance benefit (be it for PS/2 or USB)
will actually matter? Will you even notice a couple of ms delay?
|
|
Some people notice the absence of certain frequencies in their music, even though most
can't hear them to start with. Some are annoyed by 60hz flicker in fluorescent
lighting although millions don't even notice. You tell me. But one thing is
certain, if it doesn't feel right to you, it probably isn't. Before I designed the
KeyWiz, I was using a PS/2 keyboard hack. I used to think it worked pretty well,
until I made the switch. Turns out that the keyboard had an inferior processor and I
didn't know the difference until I actually had a frame of reference.
So yes, a few ms of delay can be noticed if present.
I guess it's habit and it's cheaper (initially). For me it was mostly caused by
people spreading misinformation. When I bought my i-PAC the 6 button myth was still alive. In the
meantime Andy Warner explained the 6 button restriction is nonsense and that speed wise there is
no difference. That is much more important to me than people quoting reference manuals. Andy
really does know how it works since he build the thing.
|
|
What goes on between you and your mentor is not for me to comment on. However,
"habit" as a reason to use PS/2 over USB is just plain silly There actually are valid reasons
and that isn't one of them.
...I don't want to rewire my controller when I switch to a new computer and so I
don't want to depend on PS/2 alone. In fact my current PC has no PS/2 port.
|
|
I'm sorry your salesman was able to convince you that less options was actually a
"feature" on the system you bought. Better luck next time.
Meanwhile, 90%+ of current systems still have the full complement of ports.
- It's much easier to connect control panels to the PC. You put the hole stuff
in the CP box and one wire comes out. For instance, rotating panels aren't gonna happen without
USB.
|
|
More misinformation. Ever hear of switching connections at the input side of the
encoder rather than the output side?
[rhetoric about "everyone is changing to USB" snipped...they said it would have
happened already, they tried, it still hasn't and isn't going to soon. We did this
one before}
Are all gamers who use USB joysticks, steering wheels, trackballs, game pads and
such suffering from poor gameplay? In fact, how many people insisting on PS/2 for their keyboard
encoders have a USB trackball or USB spinner in their CP?
|
|
Well, the true arcade trackballs from Betson use PS/2, as well as the one on my
cabinet. I engineered replacement encoder wheels for the Betsons with 4x the
resolution and it doesn't skip a beat. USB gamepads, steering wheels and joysticks
don't pretend to be keyboards, so not an apt comparison. But I'm sure they work
fine. Better? Not necessarily.
The only reason to go for PS/2 is if you use an older computer or older OS and
USB doesn't work really well in it yet (or maybe even not at all). In all other situations USB
just makes much more sense when you think about it (especially in the long run). I guess it just
hasn't gotten through to people yet.
|
|
I guess it's a good thing we have you here to get it through our thick skulls. Sheesh! 
It's not that big of a deal so why bother thinking about it? Well, at first I
didn't think things through either so I went for PS/2, but in the end I got bitten and after I
researched things I now understand that USB is the better option. I'm really happy my encoder was
ready for USB.
|
|
Err.. how were you "bitten" again? Anyway, you have your opinion, I have
mine and everyone else has theirs. I'm glad you are as happy with USB as the
thousands of others are with PS/2. Isn't that what it's really all about in the end?
RandyT
*edit*
spelling.......
|
http://www.groovygamegear.com/
- Home of the KeyWiz Programmable Keyboard Interface, Panel-top Switchable 4 and 8-way
Joysticks, Arcade Buttons, Quick Disconnects, and much more cool stuff! |
|
|
|
|
|
|
|
|
RandyT
Full Member
  
Offline
Posts: 772

Friends don't let friends hack keyboards.
View
Profile | WWW | E-Mail |
 |
Re:Encoder Comparison Pages Back Online
« Reply #8 on: August 13, 2004, 07:44:23 PM » |
Reply
with quote |
Randy,
I'm not trying to prove USB is better for gaming (although I do feel having USB at least as an
option is a must in an encoder which is supposed to last at least a decade). However, I am out to
refute the vague claims that PS/2 is the only way to go. Unless there is some actual proof to the
contrary, Andy Warners explanation that there is no discernable difference is valid (at least in
the case of the I-PAC).
|
|
I won't argue with someone vicariously through another. I only want you to think
about the scenario you gave me and conduct the test as I outlined it. You can then
give me your own conclusions. I have no interest in what you were told or by whom.
For me the demise of PS/2 was the deciding factor, for others it's a rotating
control panel needing a single cable to connect all controllers, again others don't have enough
connectors of a certain type and then there are some who worry about vague claims that there might
be a problem. I just hope the latter category understands that that's just pure nonsense so they
can base their choice on more important matters.
|
|
Err...before you call them nonsense again, do the test I mentioned. Be sure to look
through the posts of all the individuals experiencing problems with connecting their
encoders via USB and pay careful attention to the solution provided to them by other
readers (I'll save you the trouble, they are told to use the PS/2 port.) Sorry Patrick,
but there is nothing vague there. This is not to say that it happens to all or even
a majority, but the issues are real and seen all the time.
RandyT
(P.S. do the test )
|
http://www.groovygamegear.com/
- Home of the KeyWiz Programmable Keyboard Interface, Panel-top Switchable 4 and 8-way
Joysticks, Arcade Buttons, Quick Disconnects, and much more cool stuff! |
|
|
|
|
RandyT
Full Member
  
Offline
Posts: 772

Friends don't let friends hack keyboards.
View
Profile | WWW | E-Mail |
 |
Re:Encoder Comparison Pages Back Online
« Reply #10 on: August 13, 2004, 11:44:39 PM » |
Reply
with quote |
there is no need for legacy ports anymore. I mean if you need legacy ports you
probably have a computer that supports them anyways . But if you are buying a new one there is really no point, (USB keyboards are cheap)
|
|
If this were true, the legacy ports would already be history. Evidently, the MB
manufacturers see it otherwise .
But seriously, this has been discussed in the past on here and a search will bring up more
than you probably want to hear on the topic.
RandyT
|
http://www.groovygamegear.com/
- Home of the KeyWiz Programmable Keyboard Interface, Panel-top Switchable 4 and 8-way
Joysticks, Arcade Buttons, Quick Disconnects, and much more cool stuff! |
|
|
Tiger-Heli
Full Member
  
Offline
Posts: 2249

Ron Howard? . . . er, I mean . . . Run, Coward!!!
View
Profile | WWW |
 |
Re:Encoder Comparison Pages Back Online
« Reply #11 on: August 14, 2004, 08:53:04 AM » |
Reply
with quote |
Heh, I see you still believe the performance of PS/2 is better 
Really, someone should clock that sometime to get this out of the way. I'd put my money on USB
(since the bandwith is vastly superior and a few interrrupts are not gonna kill that lead) On the
other hand, who cares. With games running at 60Hz (max) the computer has ages to wait on your
keypresses. Still, it would be nice to know.
Nice overview though. You sure take a lot of time to research all these things. very impressive
work.
|
|
Man, oh man, I leave my computer for a day and look what happens . . . 
Okay, this has been discussed before, and I don't want to belabor the point or fan the
flame war. . .
PatrickL: I found it interesting that in the post I am replying to you said
"Really, someone should clock that sometime to get this out of the way."
Then when RandyT asks you to test it you post "Maybe if you tell me what would it
prove I would be interested. Right now I just don't see the point. I wasted enough time on
this already."
Obviously it's important to you or you wouldn't harp on it so much.
For the record, to me, it's not that much about speed or performance as capability.
1) There IS a limitation to the I-PAC in USB mode. It's more like 14 or 16
keys instead of six, but it's there. You can make the argument that this is similar
to the Japanese speedbikes being limited to 185 Mph - it doesn't make a difference in most
circumstances, but it's there.
2) I personnally experienced slowdowns with a pair of cheapo PC USB trackballs in
MAME. These were sharing a hub and I haven't seen issues with my keyboard with a USB
connection as opposed to a PS/2 connection.
3) I fully expect that 90% (probably more) of MAME users could use either USB or
PS/2 mode with no noticeable difference in performance. That said, if you search the
threads on here, you will find dozens of posts of users having trouble with USB mode with
their encoder. Since almost all USB encoders (I-PAC/2, I-PAC/4) also supported PS/2,
it was simple enough for most people to switch to PS/2 mode if they couldn't solve the
problems. However, I can only remember maybe one example of a person having a
problem with an I-PAC in PS/2 mode that was fixed by using it in USB.
4) I would like to see a speed/performance comparison between USB and PS/2 also,
just to put it to bed, but you also need the following conditions -
Should use the same encoder for both tests, same keys and same programs, and should test
multiple simultaneous keypresses.
Also, the tests should be done under both Win98SE and WinXP, and for that matter, on
entry, mid-level, and high-end systems to get accurate benchmarks. |
The WISE gazelle knows he only has to outrun the SLOWEST member of the
herd to avoid being eaten by the lion. |
|
|
patrickl
Full Member
  
Online
Posts: 865

Why am I a llama?
View
Profile | WWW |
 |
Re:Encoder Comparison Pages Back Online
« Reply #16 on: August 14, 2004, 10:08:38 AM » |
Reply
with quote |
Heh, I see you still believe the performance of PS/2 is better 
Really, someone should clock that sometime to get this out of the way. I'd put my money on USB (since the
bandwith is vastly superior and a few interrrupts are not gonna kill that lead) On the other hand, who
cares. With games running at 60Hz (max) the computer has ages to wait on your keypresses. Still, it would
be nice to know.
Nice overview though. You sure take a lot of time to research all these things. very impressive work.
|
|
Man, oh man, I leave my computer for a day and look what happens . . . 
Okay, this has been discussed before, and I don't want to belabor the point or fan the flame war.
. .
PatrickL: I found it interesting that in the post I am replying to you said "Really,
someone should clock that sometime to get this out of the way." Then when RandyT asks
you to test it you post "Maybe if you tell me what would it prove I would be interested.
Right now I just don't see the point. I wasted enough time on this already."
Obviously it's important to you or you wouldn't harp on it so much.
|
|
I care about the performance USB vs PS/2 (in the sense of timing). I have no idea what
Randy's test would prove and he won't explain either. I don't feel like taking my CP apart
just to do some useless test.
In fact I feel rather ashamed I responded to his weird posts. I can't say I saw a on-topic
argument in any of them. I'll just remove my replies, do the silly test and summarize the
whole thing. Sorry for cluttering up your thread. I do realy like your site, but I also
think you should rethink the USB vs PS/2 issue (even if it really is a non issue).
BTW I'm not arguing compatibility issues or specific scenario's where either USB or PS/
are preferred. I'm saying USB vs PS/2 performance is either a non-issue and maybe even it
has a winner for USB. |
|
|
|
|
patrickl
Full Member
  
Online
Posts: 865

Why am I a llama?
View
Profile | WWW |
 |
Re:Encoder Comparison Pages Back Online
« Reply #17 on: August 14, 2004, 03:11:17 PM » |
Reply
with quote |
OK, sorry for the delay, but I just can't seem to find my USB cable. The workshop has
been cleaned up by the missus and now I can't find the cable.
I'll just recap my (deleted) posts:
Comparing PS/2 vs USB; performance issues:
- USB will suffer in response time because it's lower in priority, needs more handling in
BIOS and OS and it shares the bus with other devices. Only other interrupts can effect bus
delays though, so USB harddisks and printers etc (if people would even have those
connected to their cab) are of no influence. I'm hard pressed to see the whole extra
overhead caused by these issues lasting longer than 1ms. For instance the max interrupt
can be 40 bytes on a 1.5Mbps connection (i.e. something like a .3ms delay)
- According to PS/2 protocol, each key press takes 1.1ms to be transmitted and a key
release takes 2.2ms (PS/2 rated by design at 10kbps and 11bit's used per byte transmitted)
At a frame rate of 60Hz there are 17ms per frame. Now imagine 4 players moving sticks and
pressing buttons franticly. So with PS/2 you could release at max 8 keys within a frame
before you actually start suffering more than a whole frame delay due to transmission
speeds. Even with fewer keys pressed (for instance during one player games) it's easy to
see these delays will have a similar (if not worse) impact on response times compared to
the USB delays mentioned above.
- A large number of keys pressed/released is not so much a cause for delay with a USB
encoder since the transmission is so much faster.
- The fixed limitation on the maximum number of 6 keys pressed simultaneously only exists
in standard keyboard encoders. An encoder like the I-PAC (in USB mode) will have a limit
on something like 14 to 22 keys simultaneously.
There are a few situations where circumstances basically force you to use either PS/2 or
USB:
- If you have a pre USB computer or use an OS without (mature) USB support you go for PS/2
- If for instance you use a Mac, you are building a rotating control panel (where you will
need to have only one "flexible" wire coming from the CP) or you have one of the
newer PC's without PS/2 ports then you go for USB
I might add some considerations:
- For 4 player fighter cabs, performance issues with PS/2 might be a consideration, USB
functions better here.
- If you think you are goinf to be in situations where something like 14 to 22 keys are
pressed simultaneously, an USB I-PAC will not work. Although if you are in that situation
PS/2 will suffer severly from performance issues too. You would actually need to find a
completely different alternative or live with of the problems in either USb or PS/2.
- Futureproofing; If you keep in mind the time frame you will be using your cab for then
it's wise to consider that USB seems to be pushing out PS/2 slowly but surely. Legacy free
PC's have been coming out already and so you might end up with one as a replacement in the
future. Maybe not tomorrow but what about in 5 or 10 years when your current PC breaks
down? Remember how quickly the old big AT keyboard connectors went out the door after the
new ATX motherboards were introduced.
So basically if there is no pressing reason to force you on either PS/2 or USB, it simply
doesn't matter which you choose. Both will work fine and other factors should decide which
encoder to pick. In hindsight I'm very glad my controller has both PS/2 and USB.
|
|
|
|
|
|
|
|
|
Tiger-Heli
Full Member
  
Offline
Posts: 2249

Ron Howard? . . . er, I mean . . . Run, Coward!!!
View
Profile | WWW |
 |
Re:Encoder Comparison Pages Back Online
« Reply #20 on: August 14, 2004, 04:58:06 PM » |
Reply
| | | | | | |