08-01-2005 04:57 AM
08-01-2005 06:48 AM
Just a short comment : do not confuse megabytes (the size of the image) and megabits (the maximum transfer rate over the network). As a rule of thumb, a 100 Mb network can transfer as much as 100 / 10 = 10 megabytes/s. So your 200 megabytes image will require 20 seconds. Even with a 1 Gb network ( 2 secs) you may be in trouble if your time constraint is very narrow.
08-01-2005 08:03 AM
Hi cc,
Yes, i was quite clear on that. The point i want to explain is - because of the limitation of the VIs (like 548 bytes for UDP & 78MB for TCP/IP) we are not able to achieve this.
Look at the timing i have send in my last mail. Its huge for UDP & TCP/IP
But the File I/O looks simple and comes closer to your calculation. In my trial i have sent 180 Mega byte image - it took 19 seconds to read from the network PC Harddisk in 100mbps line - which looks good. In a way File I/O also, should do the same (Flatten - read thru network -May be in an ideal way). Anyway, I have left with 2 questions now.
Thanks,
logic
08-01-2005 09:47 AM
Could you compress the flattened string data before sending and inflate on the other end?? Here is a link to the Zlib deflate and inflate.
http://digital.ni.com/public.nsf/allkb/529A66352E02A25686256C2F00783073
08-01-2005 04:21 PM
1) Map the drive on the "other" machine and just save your file there.
2) Search this site for "Nagal" (?) algorithm. There is an "opimal size" for TCP/IP data transfers.
3) Forget UDP, it is just good for junk mail.
4) Concider VI server and do a "call by reference" on a VI running on the target.
5) TCP/IP looses efficiency after you start to use more than 40% of the bandwidth. Do not expect to get dedicated use of the network unless you can pull all of the other nodes off the network. I have added extra NIC's to allow this option.
Gotta run....
Ben
08-01-2005 06:44 PM
Correcting myself.
its is ethernet that looses efficiency. It is based on CDMA. CDMA is Collision Detect Mulltiple Access. Simply stated, it works like a phone meeting. If someone has something to say and no one else is talking they just start talking. If hear they are talking over someone else, they stop talking and execute a delay. They again wait for a quiet moment and try it again. When you get into high throuhput situations, there is a high likly hood of a collision.
The link below should help with ethernet throughput issues. In this thread 70 MHz results were reported.
http://forums.ni.com/ni/board/message?board.id=170&message.id=71098&requireLogin=False
Ben
08-02-2005 03:21 AM
@Ben wrote:
If hear they are talking...
08-02-2005 06:48 AM
Hi tst,
Thank you for hearing what I meant and not what I said. That is what my internal dialog sounds like before I do the transform into something that resembles english.
I have two designs to get out this week and have no time to proof read. That said, I could not sit back and let LV look bad when playing the comm. game.
Ben