Faster ethernet data transfer time than 2ms

Dear all,
I'm using labview 7.1 based on a standard laptop communicating with a LabVIEW real time maching running the standard real time operating system. The two machines are connected through a dedication ethernet switch  (rated to 1Gbs), and both have ethernet cards (rated at 100Mbs or greater).
The aim of my project is to have a fast distributed control scheme going. This basically means that small amounts of sensor data have to be transferred very quickly between the two machines. The aim is to then scale this to have more machines on the network.
I use a UDP data transfer method, using the standard labview UDP read and UDP write vis.
I would like to acheive a major frame rate of around 500Hz. The problem I have restricting me with this is the speed of the ethernet connection. It would appear that the vi wrtes to buffer instantaneously, but it is taking as much as 2-3ms for the data package to be sent and received by the other machine. This is a ridiculously long amount of time. I'm sending approximately 100bytes, so the time on the network should be 0.01ms. This would suggest the time delay is in the reading or writing of the data from the Ethernet card over the PCI bus to the program.
Does anyone know why its taking so long? Do the UDP read vis only check the ethernet hardware every ms? I've taken great care to ensure that this is not a synchronisation or timing problem and I am certain it is not that. 
I could really do with making this data transfer quicker as it is clearly the slowest part of the control loop. If anyone has come across this before and found a solution I would be grateful to know about it. I'm really hoping that I won't have to write something low-level in C or anything like that and try and integrate it with the code I have.
Many thanks,
Pete

Finally found some hard numbers for data transfer rates. From this website. http://www.intellicom.se/ModbusTCP_overview.shtml
Performance from a MODBUS TCP/IP system
The performance basically depends on the network and the hardware. If you are running MODBUS® TCP/IP over the Internet, you won't get better than typical Internet response times. However, for communicating for debug and maintenance purposes, this may be perfectly adequate and save you from having to catch a plane or go to site on a Sunday morning!
For a high-performance Intranet with high-speed Ethernet switches to guarantee performance, the situation is completely different.
In theory MODBUS® TCP/IP carries data at up to 250/(250+70+70) or about 60% efficiency when transferring registers in bulk, and since 10 Base T Ethernet carries about 1.25 Mbytes/sec raw, the theoretical throughput is:
1.25M / 2 * 60% = 360000 registers per second and the 100 Base T speed is 10 x greater.
This assumes that you are using devices that can service Ethernet as fast as bandwidth is available.
Practical tests carried out by Schneider Automation using a MOMENTUMTM Ethernet PLC with Ethernet I/O demonstrated that up to 4000 I/O bases could be scanned per second, each I/O base having up to 16 12-bit analog I/O or 32 discrete I/O. Four bases could be updated in one millisecond. While this is below the theoretical limit calculated above, it must be remembered that the tested device was running with a lowly 80186 CPU running at 50Mhertz with an effective computing power of 3 MIPS (compared to the 700 MIPS of a 500MHz Pentium). Also, these results are nevertheless faster than the proprietary I/O scan methods used to date.
As low-end CPU's get cheaper, Momentum-type devices will chase the theoretical limit, although they'll never reach it because the limit will be continually pushed further away with 1 Gigabit Ethernet, 10 Gigabit Ethernet, etc. This is in contrast to other field-buses which are inherently stuck at one speed

Similar Messages

  • How can i improve speed of my application and reduce data transfer time ?

    Hello,
    My web application is adobe flex application which is build in flash builder 4.0 and use flex 4.0 SDK.
    I am using asp.net web service and cairngorm architecture in my project.
    Front : asp.net c# web project
    Middle : asp.net c# web service
    back : MS Sql server 2005
    When i run my applicaiton then i show that data transfer time between USA server to Indian client is so huge.
    Please suggest me all solutions approach so i am increase the speed of my application and reduce data transfer time.
    And please let me know how all approaches is reduce my data transfer speed.
    Thanks,
    Mohit.

    Hello,
    Thank you for your response,
    If i am using remote object insted of web services, can this will increase my application speed i
    It is big change so please give me guidance.
    My application have different type of request, some are very small request and transfer little amout of data from server to client, some request are send very huge amount of data from server to client .
    I am using JSON from data transfer in my current web service.
    Please provide some guidance on this.
    Thanks,
    Mohit

  • HELP! LOCKED IN LIMBO W/MIGRATION ASSISTANT DATA TRANSFER:  "LESS THAN 1 MINUTE LEFT" FOR 10 HOURS

    This has happened before. I'm migrating from one Macbook Pro to another Mac (though it doesn't seem to matter if it's a MBP or other Apple powerbook) and it gets almost to the end of the bar with the blue water line a sliver away from finishing but it stays at "less than one minute remaining" as it finishes up migrating settings. Going on 10 hours now.
    Have read other discussions from 2009 to earlier this month w/this issue.Some say it's a Lion OS issue that's been acknowledged as a flaw. Others had the same issue w/Leopard & say to ignore the remaining minute & leave it alone until it finishes which could take a day or more. I'm moving almost 300 GB of data. I've done this before and had same issue and interrupted it. I manually migrated over applications, documents, etc, one by one and it still took overnight just to do some of the data, so this is  not an inordinate amount of time.
    If it's going to complete, I'll let it run. If it's not, I'd like to know so I don't waste more time trying... Thanks in advance for assistance w/this conundrum.

    I'm not a big fan of migration assistant, because this happens all the time.  I'd give it a few more hours, then say "I give up."
    Why didn't you use the Setup Assistant on the target mac using the firewire disk mode?  I don't have absolute evidence, but you rarely see issues with people who use the Setup Assistant with a newly installed OSX (or brand new Mac). 

  • Ethernet Data Transfer Fails on Deployed RT Application

    I have written a TCP/IP client that interacts with a custom TCP/IP server over a very local network (one cable). I've been developing this for a couple of months on LabVIEW 2014 (not SP1) targeting a cRIO9068 chassis.
    Development went very smoothly, never any flaky Ethernet problems on the LabVIEW side. Once I got it all bulletproof I deployed and went out to the plant. 
    At the plant, Ethernet will connect but no data is transferred. Puzzled, I reconnected my LabVIEW development machine to the chassis, opened the project from which the application was deployed and ran it from inside the project. It works. I see this behavior on the original chassis too, so I have two chassis that work with the development environment but do not work when deployed.
    What's up with this? Any ideas appreciated, I can find nothing on this subject in these forums or a general Google search.
    Thanks,
    Bill

    The problem was caused by the Execution setting of the top-level VI being set to reentrant. I set it to non-reentrant.
    The key was using 
    netstat -a
    I saw that the application had multiple ESTABLISHED connections where only one should be possible.
    Along the way I cleaned up my code a bit, but the root cause was multiple instances of the application running on the cRIO. If the startup vi is reentrant then you get an instance when the hardware starts or restarts, then you get another instance when you fire up the web-based front panel. Instead of the panel connecting to the running program another one is started.
    When running from the development environment this does not happen. The development environment enforces single execution on the top-level vi. 
    A shout-out to the NI software people: A little warning: "Multiple instances of the program may run because the top-level VI is reentrant" when the build starts, plus adding to the panel documentation something like "Connecting a web-based remote panel to a reentrant top-level VI will invoke a second copy of the top-level VI" would have saved me a day...
    Cheers,
    Bill

  • Data transfer time

    i would like to know how much time is needed to send a packet of 12 octets with the TCP IP protocol through a Socket.
    Can you explain me how you know that and where can i found more information?
    thanx thanx

    You can use System.getCurrentTimeMillis() before you send the packet and then do a System.getCurrentTimeMillis() after you send it. The difference will give you the time in milli seconds. Remember, the function returns a long.
    //Create the socket
    //Form the packet
    long startTime, finishTime;
    startTime=System.getCurrentTimeMillis();
    socket.send(packet);
    finishTime=System.getCurrentTimeMillis();
    double time = (double)(finishTime-startTime);
    But, the time depends on:
    1/ Hardware
    2/ OS
    Rgds,
    x86

  • Data Transfer to NEW computer--how to??

    Hello all!!
    Received just today a new Powerbook and was about to start the transfer of data and other "stuff" from my old computer (800 MHz flat-panel iMac) to the new computer.
    With regard to APPLICATIONS, as I have been told before, I will be installing any applications FRESH on the new computer and will set the preferences and other information as needed once installed.
    With regard to other "regular DATA"...Word files, MP3 files, text files, PDFs, image files, etc...the NON-application/NON-system files. Is there a special way that I should go about with the data transfer other than simply hooking p the computers via Firewire and dragging the data files to the new location on the new computer?
    The amount of data I will be transferring will probably be in the range of 10 to 20 GB.
    Also, while I'm doing this data transfer...before, during or after...once I have transfer this information to the new computer file locations, should I be doing a permissions repair or defrag or other "cleanup" operation??
    Thanks for your help!!
    Scott

    Hi, Scott. The time to make sure both your Macs are in perfect order is before you transfer your files. On each Mac, boot to your OS installer CD or DVD and Repair Disk, repeating the routine until you get two successive "Appears OK" verdicts. Then reboot to your hard drive and Repair Permissions. Then use the Terminal or MacJanitor to force the daily, weekly and monthly background maintenance tasks to be performed. These steps should assure that your data and your HD directories are in good shape before you transfer your files.
    It can't hurt to repair permissions again on the new drive after you copy the files to it, but it probably isn't really necessary. Be sure to copy them to the same places on your new PB's HD that they occupied on the old one, if the same OS version and applications will be installed on both machines.
    Nothing that you copy will be fragmented after it arrives on the new machine, and Tiger will take care of most fragmentation that occurs later without needing any help from you.

  • Can't set date and time automatically thru Airport Extreme

    We have an Airport Extreme that serves as the router for our home network. No computer using the Airport (wirelessly or via ethernet) can set it's date and time automatically. If I bypass the Airport and hook a computer directly to the ISP's modem via ethernet, date and time works fine. The Airport is up to date (v7.4.2) This has been a problem for quite a while now and it doesn't matter what OS is used (current is 10.6). I don't have any firewalls set up that I know of.
    Any help or advice would be greatly appreciated.
    dhf

    +No computer using the Airport (wirelessly or via ethernet) can set it's date and time automatically.+
    It's done with AirPort Utility, not your computer.
    Macintosh HD > Applications > Utilities > AirPort Utility
    Click Manual Setup
    Then click the Base Station tab below the icons
    There is a check box +Set Time Automatically+ and choose a region and Time Zone
    Click Update to save your changes

  • I bought a new iMac today. I'm using migration assistant to move all my software, but the time just keeps getting longer. It says connect an Ethernet cable for faster data transfer. I did, but that doesn't seem to help. Any ideas?

    I bought a new iMac today. I'm using migration assistant to move all my software, but the time just keeps getting longer. It says connect an Ethernet cable for faster data transfer. I did, but that doesn't seem to help. Any ideas?

    m1doc,
    Are you migrating from a Mac or a MS Window machine? Either way you probably should be in touch with AppleCare, you have 90 days of free AppleCare telephone support. They can usually help on issues like this. If you don't know the phone number please use http://support.apple.com/kb/HE57 to help find the number in your country.

  • Fast data transfer out of PXIe-8133?

    Hi,
    What is the fastest way to transfer data out from the PXIe-8133? I am currently using two UDP ports for the two ethernet ports with gives a theoretical transfer rate of 2Gbit/s.
    How would I transfer data out from an FPGA or PXIe to a host computer faster than that?
    Cheers.
    Solved!
    Go to Solution.

    Hi u436,
    The only faster way to transfer data to a computer would be with a x4 or x16 MXI-Express Remote Controller, which would provide up to 838 MB/s or 5.6 GB/s respectively.  These would need to be installed in place of your PXIe-8133  and be controlled by the MXI card on your PC.  Also note that the x16 MXI-Express card is not supported by all PCs; it requires full PCI Express 2.0 clocking specs. 
    NI PXIe-PCIe8375:  http://sine.ni.com/nips/cds/view/p/lang/en/nid/207823
    NI PXIe-PCIe8388 and NI PXIe-PCIe8389:  http://sine.ni.com/nips/cds/view/p/lang/en/nid/209710
    Other than that I am not aware of a faster way of exporting data to a PC(s) in real time.  Hope this helps!
    Brian 
    Brian G.

  • Transfer time machine data (snow leopard) to new mb air (lion)

    MB Pro died. How do I transfer external Time Machine backup (Snow Leopard) to new MB Air (Lion)?

    Your best bet, by far, is to use Setup Assistant when your new Mac first starts up, to transfer your 3rd-party apps, user accounts, data, settings, etc. from the backups.  See Using Setup Assistant on Lion for detailed instuctions.
    If the backups are on a Time Capsule, get a USB-to-Ethernet connector, so you can do this via Ethernet -- it's 2-3 times faster, and much more reliable, than WIFIl.

  • Very slow network directory listing - but fast data transfer speed once listed?

    Hello,
    I have really tried to sort this myself before opening up to the community, however I have run out of ideas, and hope someone can offer the magic solution I have missed.
    I am currently using the 3.4ghz i7 iMac on a 1GB LAN, running OSX10.7.2 - connecting to a Windows Server 2008 (Running Release 2) over ethernet.
    If i go to a network directory that i haven't recently accessed it can take up to 60 seconds to show the contents of that directory. Once i have accessed that folder, if i come out of it and go back in it will be instant again - but the first time it lists the directory it looks like i have opened an empty folder - which after anything from 10seconds to 1 minute will suddenly show the files that are there.
    Internet connectivity is fast through the network, and file transfers across the LAN are fast. (showing as approx 300mb per second) I can play and edit HD content across the network with no slowdown so I am confident that this issue is not related to the network speed itself, and is more to do with a setting on this mac.
    Symptoms are very similar to this post: https://discussions.apple.com/message/12245148?messageID=12245148&amp%3b#1224514 8 - however i understand that in OSX Lion - SMB was removed - so i cannot find this file to edit.
    I have tried bypassing additional hubs in the network by wiring direct cables to the switch that is connected to the file server, this made no difference.
    I have also tried disconnecting the ethernet cable, and running over wifi. This fixes the listing problem, but when editing HD content over a network drive, this connection is not fast enough to carry the data without interruption (some projects are linked to up to 900gb of hd video content!)
    Using ethernet, I have tried DHCP, DHCP with manual address, and manual mode. All reproduce this problem. i have tried using the windows workgroup, and tried without it.
    I have also followed this suggestion: https://discussions.apple.com/thread/2134936?threadID=2134936&tstart=45 and used OpenDNS. this did not fix the issue.
    For argument sake, I have also just tested a Macbook Pro running Snow Leopard to see if it was OS related. This reproduces the exact same problem, near instant directory listing on the wifi, a long and arduous wait on ethernet.
    I cannot work out why directory listing is instant over wifi, but not over ethernet on 2 different macs, running 2 different versions of OSX. I also do not understand why if the network is having trouble listing the directories - the data transfer speed is 300mbps when i copy files across the wired network from the file server to the mac.
    Does anyone have any other ideas as to what could be the problem here? We are about to start work on a very large project, where the content we are editing is spread out across around 200 different network folders (different shoots captured over the past 2 years). We really don't have the time to wait 60 seconds each time we need to access one of those directories to look for a file, and I am very close to pulling all my hair out!
    I really look forward to hearing from anyone who can offer any insight.

    If you are suspecting that the Windows update had something to do with your LAN going slow, then try the following:
    1.  Look for updates for your clients LAN NIC driver; or
    2.  Un-install the updates.

  • Low data transfer between my iMac & Time Capsule

    Hello,
    I have just purchased 1GB Time Capsule yesterday to get a back-up of my iMac HDD, and also to use it as an external HDD. I was much interested by the wireless functions.
    After the installation, Time Machine started to save a back-up of my HDD (more than 200GB). But after one full night, only 7GB out of 220GB was transfered wireless.
    With a so low data transfer, it will take 20 days for the full back-up.
    Is it normal ?
    Do I have to make the first back-up though ethernet (wired) ?
    I am working on big video files (xx GB), so I really need to increase the speed of data transfer. Is there someting to change in the settings ?
    Thank you for your help, it will be highly appreciated...
    Regards,
    Jean-Philippe, Paris, France

    Hello,
    I have just purchased 1GB Time Capsule yesterday to get a back-up of my iMac HDD, and also to use it as an external HDD. I was much interested by the wireless functions.
    After the installation, Time Machine started to save a back-up of my HDD (more than 200GB). But after one full night, only 7GB out of 220GB was transfered wireless.
    With a so low data transfer, it will take 20 days for the full back-up.
    Is it normal ?
    Do I have to make the first back-up though ethernet (wired) ?
    I am working on big video files (xx GB), so I really need to increase the speed of data transfer. Is there someting to change in the settings ?
    Thank you for your help, it will be highly appreciated...
    Regards,
    Jean-Philippe, Paris, France

  • HT1281 Time Capsule/Airport Utility "Archive" - is data transfer local?

    I'm considering archiving my 4th gen Time Capsule - using Airport Utility - to a removable USB disk which will then be stored offsite.
    In this scenario, is the data transfer directly between the Time Capsule and the USB disk, or is the archived data routed via the Mac that initiated the Archive operation? My Macs access the TC wirelessly, so the "via the Mac" transfer would take some considerable time ...
    thanks for your help
    Bill

    B1ll C wrote:
    If the USB disk is connected directly to the TC then the data does not transfer via the Mac - is that correct?
    Yes, this is correct.. archive will backup direct.. it is the one and only backup method Apple provided.. and is not even available in v6 utility. But even though it is direct. it is slow as slow. And the TC HDD will be unavailable for the duration.
    It is actually much faster to backup over ethernet.. from the TC to USB on the computer. There is no use using a faster drive as the read speed of the TC even over gigabit will still be the rate determining step.

  • Fast Data Transfer over Internet

    Hello friends:
    i need your help to transfer Data.
    i have few servers and some of them are really stuffed with huge amount of data on them.
    i want to move my data to other servers.
    i dont have a telnet access and more ever i dont want to remain connnected till the time the task is over.
    can you recommend a faster way of Data transfer over internet.
    awaiting your reply.
    regards

    Why don't you dump the data to a tape, send the tape to the other server, and reload it there? That can be faster than sending the data over the network if it's large.

  • Time Capsule only runs with 1,1Mbit up/down during data transfer, internet speed is ok, TC is used to extend an existing network

    Hello Everyone,
    I have a new 2TB Time Capsule running with a MacBook Air. I want to use the TC to access data (Aperture library, iTunes library, other Files) and to backup my MacBook Air via Time Machine. I set it up, integrated the TC in my Network (FritzBox) by choosing "extend existing network" and it works. BUT only with 1.1Mbit/second while writing or reading Data to/from it. Internet speed is very good, like it was before. While the 1.1Mbit/second seem to be ok with Aperture and iTunes (streaming music and movies) it is still painfully slow and I'm not realy happy with that
    I've read that:
    The 1.1Mbit problem is pretty common when Time Capsule is integrated and used to extend a network (bridge modus), it also looses all ethernet connectivity then (that woul explain why connecting it by ethernet didn't help during initial setup and data transfer)
    Is there a solution besides ditching the Fritzbox and using the TC to build the network? Because basicly I still need the Fritzbox for its DECT features.
    Thank you for any help in advance and have a nice day,
    Olli

    You have double hop wireless with this setup..
    You should bridge the TC.. that is router bridge not wireless bridge, and plug the TC into the Frizyboy by ethernet.
    Then you can setup the TC wireless to reinforce the fritzy..
    Same wireless name as SSID.
    Same security settings... really should be WPA2 AES or in TC personal.
    Same password..
    Just different wireless channel.
    Then you can use 5ghz on the TC if you are up close and personal.

Maybe you are looking for