Welcome, Guest. Please login or register.

Author Topic: Question about USB on the minimig  (Read 10041 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show all replies
    • http://www.applemonthly.com
Re: Question about USB on the minimig
« on: September 23, 2007, 03:35:21 AM »
Alright, let's crunch the numbers:

USB is a CPU-driven, not DMA driven, system.  That means for every batch call, the CPU must be utilized.

For a single mouse, you will, at peak, utilize 12Mbps, roughly 1.5MB/sec.  Now, the Amigas RAM speed is only 7MB/sec.  So, for a single, solitairy mouse, you'd be tying up 40% of RAM access.... just imagine adding a keyboard.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show all replies
    • http://www.applemonthly.com
Re: Question about USB on the minimig
« Reply #1 on: September 23, 2007, 01:52:47 PM »
Quote

Floid wrote:
Quote

downix wrote:

For a single mouse, you will, at peak, utilize 12Mbps, roughly 1.5MB/sec.  Now, the Amigas RAM speed is only 7MB/sec.  So, for a single, solitairy mouse, you'd be tying up 40% of RAM access.... just imagine adding a keyboard.


...but non-insane_laser_2-trillion_DPI mice are low-speed devices operating at 1.5m*bits*/s, yes?

Still bothersome but somewhat less so.


Nope, not bits, Bytes.  Even if you're only sending one pip of information, requiring only a byte, it sends a full 32-bit word down the pipe.  Very inefficient.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.
 

Offline downix

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 1587
    • Show all replies
    • http://www.applemonthly.com
Re: Question about USB on the minimig
« Reply #2 on: September 23, 2007, 04:50:05 PM »
Quote

techie wrote:
Quote

downix wrote:
Alright, let's crunch the numbers:

USB is a CPU-driven, not DMA driven, system.  That means for every batch call, the CPU must be utilized.

For a single mouse, you will, at peak, utilize 12Mbps, roughly 1.5MB/sec.  Now, the Amigas RAM speed is only 7MB/sec.  So, for a single, solitairy mouse, you'd be tying up 40% of RAM access.... just imagine adding a keyboard.


Sorry I'm probably just being Thick here but if this is the case then I have to ask; How does the Anaiis USB stack work then???  :-?
Because it claims to be working on a pretty much stock Amiga 2000 with ZorroII Highway USB and 68000 processor (7.14 Mhz).
(http://aminet.net/package/driver/other/anaiis)



 wouldn't know, as the source to both products is quite closed it appears.  Could be that there's an embedded controller.  Could be that the guy went "fsck it" and ate the performance loss.  Don't forget, you too can render Toy Story on your Amiga 1000.... it just would take centuries.

But it does not make things a practical solution.
Try blazedmongers new Free Universal Computer kit, available with the GUI toolkit Your Own Universe, the popular IT edition, Extremely Reliable System for embedded work, Enhanced Database development and Wide Area Development system for telecommuting.