Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/13/09 22:25
Read: times


 
#162379 - I'd love to use USB, but lack faith in the OS
Responding to: ???'s previous message
I think you're on the mark with your comments. I'm trading off a local mass storage device against a big buffer to allow fully synchronous storage of the input data for later spooling to the PC.

It would take a pretty big buffer, but, it would also require a fair amount of faith in, say, Windows, to get the job done. A data burst will take somewhat less than 10 minutes. Do you suppose that, with the occasional 30-second lapse, Windows can get the job done in the remaining 50 minutes or so, if there's little else going on within the system? I've estimated that transfers into or out of Windows take 25-500 times as long as they "should". I'd speculate that, if there's any justification for that at all, Linux will not necessarily do better.

If the interrupts in DOS are inhibited, the data transfer to memory will keep the memory refreshed, and nothing will interrupt it. Once the transfer is complete, the system clock can be reset and the memory content can be spooled off to HDD. In fact, the system can be rebooted once the data is moved to the local hard disk or other medium.

My observations of USB large-data-block-transfer performance under Windows have been pretty poor, and not particularly easy to produce. The advantage of locally buffering on a HDD is that it becomes a file transfer, provided, of course, that the data collection is done in FAT or NTFS. I'm thinking I need better ideas than what I've cooked up so far. I normally like raw data transfers better than formatted ones, since subsequent processing on the PC is not difficult. Unfortunately, USB, as other protocols, is subject to the vagaries of Windows' priority assignment.

I hope it won't be long before we "get back" the ability to do useful work with a computer system, perhaps not a PC, that doesn't support games and other forms of play more than it supports computing. USB claims to support providing external parallel and serial I/O, but the problems with that approach demonstrated in the queries on 8052.COM have amply demonstrated its weaknesses.

RE






List of 32 messages in thread
TopicAuthorDate
How would you guys do it?            01/01/70 00:00      
   Not sure Windows can do it            01/01/70 00:00      
      High-speed USB and a buffer            01/01/70 00:00      
         USB for DOS?            01/01/70 00:00      
            once you remove all the potential source...            01/01/70 00:00      
               Latency is the problem - not the transfer rate            01/01/70 00:00      
                  You're right ... it's the latency            01/01/70 00:00      
                     Just one machine?            01/01/70 00:00      
                        Nope ... it seems that all Windows boxes are slow            01/01/70 00:00      
                           The hw shouldn't be hobbled            01/01/70 00:00      
               I'd love to use USB, but lack faith in the OS            01/01/70 00:00      
                  Try other PC or deactivate devices if you get lockups            01/01/70 00:00      
                     this all puzzles me            01/01/70 00:00      
                        1.5GB/minute reasonable for backup to USB2 disk            01/01/70 00:00      
   lantronix xport ??            01/01/70 00:00      
      How would that help?            01/01/70 00:00      
   with PCI or ISA with dma            01/01/70 00:00      
      gigabit ethernet?            01/01/70 00:00      
         Gbit normally overkill            01/01/70 00:00      
         I've considered that ... I don't like the overhead            01/01/70 00:00      
            economical ways            01/01/70 00:00      
               Do those work with DOS?            01/01/70 00:00      
                  any of OS will do...            01/01/70 00:00      
            100Mbit Ethernet on 8051            01/01/70 00:00      
   Firewire will do it            01/01/70 00:00      
      That's probably too much overhead!            01/01/70 00:00      
   LVDS to PCI card            01/01/70 00:00      
   re: how            01/01/70 00:00      
      It's not that simple            01/01/70 00:00      
         ESCC is the best option            01/01/70 00:00      
         do you REALLY think            01/01/70 00:00      
            Shouldn't be a problem            01/01/70 00:00      

Back to Subject List