USB SATA PCI-E
这三种的速率我知道,不过每一次传输最小的传输长度是多少就不知道了,好像记得听谁说过USB是64KB,到底对不对啊?另外两种呢?如果我要做一个数据采集的东西,每秒最多可能会接收超过1万次的数据,每一次最小是512Byte,这样用哪种接口比较合适,请各位帮我就CPU占用率等分析一下。

解决方案 »

  1.   

    From Wikipedia, the free encyclopediaUSB supports three data rates:
    A Low Speed rate of up to 1.5 Mbit/s (187.5 kB/s) that is mostly used for Human Interface Devices (HID) such as keyboards, mice, and joysticks. 
    A Full Speed rate of up to 12 Mbit/s (1.5 MB/s). Full Speed was the fastest rate before the USB 2.0 specification and many devices fall back to Full Speed. Full Speed devices divide the USB bandwidth between them in a first-come first-served basis and it is not uncommon to run out of bandwidth with several isochronous devices. All USB Hubs support Full Speed. 
    A Hi-Speed rate of up to 480 Mbit/s (60 MB/s). 
    First-generation SATA interfaces, also known as SATA/150 or SATA 1, run at 1.5 gigabits per second (Gbit/s). SATA 3.0 Gbit/s uses 8B/10B encoding, resulting in a maximum data transfer rate of 2.4 Gbit/s or 300 MB/s for the wire. PCI Express transfers data at 250 MB/s per lane.
      

  2.   

    the USB datagrams are smaller than 512B