Hello! First of all, thanks for this extremely useful tool. We use it to copy hd-images to a pool of 48 PCs, and it works surprisingly well. At least, last semester it did :). We use PXE to boot all clients into a small debian-system with r/o nfs-roots, and cluster-ssh to control them all at once (eg., start udp-receiver). Network is 100mbit half-duplex, the switch can handle 102gbit internally. Unfortunately, we have no physical access to the switch. On the server, we use this command to cast the complete harddisk: cat /dev/hda | lzop -c - | udp-sender --half-duplex --max-bitrate 90m On the clients, the opposite is: udp-receiver | lzop -d - | dd of=/dev/hda hda has about 29gb of used data, and a capacity of 80Gb. We do about 16 clients at the same time, and the first round went very well (it took about 105 minutes to write the whole disk). Now, the problem for the second 16 (which are the same hardware than the first 16) is, that the speed of udpcast has dropped down from about 50mbit/s (with which it transferred about 24Gb) to right now about 50kbit/s (with which it has transferred about 5gb yet) (that's ok for now, as they can finish writing the image over the easter-weekend), with many timeoutnotanswered-messages on the sender. These messages came from all clients every few seconds when the speed was about 50mbit/s, but the client number 2 was overrepresented there and the speed dropped down to about 50kbit/s, so I cut it off. When udpcast reduces the speed to that of the slowest receiver, and that receiver gets cut off, would it be possible that the speed gets up again? At the moment it doesn't seem so ... Thanks in advance, Lukas
Am Freitag, den 25.03.2005, 18:02 +0100 schrieb Lukas Kolbe:
Hello!
I have to add that we were using udpcast version 20040531 (which is currently in debian testing). The 50kbit/s clone finished a few hours ago, now I'm cloning the ones that didn't made it (4 PCs), with udpcast 20050226 and a slightly different commandline. On the receiver: udp-receiver --pipe "lzop -d -" --file /dev/hda On the sender: udp-sender --pipe "lzop -c -" \ --file /dev/hda \ --half-duplex \ --max-bandwidth 60m\ --fec 8x16/128\ --min-clients 4\ --nokbd This works pretty well (at least on this 4 PCs that failed before), udpcast for now reports 27Mbps, which is pretty much giving that the compressed data transferred was 21GB and the data written to disk till now is about 56GB. I hope I'm able to test this again with 16 or even more clients, unfortunatly there are some courses in the next weeks, so that it could become difficult to test this. -- Lukas
Not sure if this applies to your situation, but this is what I have done in recent work to add udpcast as an option with G4L. I use G4L to create a image file on my server using lzop compression. I can then use udp-sender --file image --max-bitrate 80m What I originally tried on the clients didn't work, and I got a reply that worked perfectly. Why don't you simply use udp-receiver --pipe 'lzop -d -c -' -f /dev/hda ? I've also used the latest options to build boot diskettes that I created with the mac table to assign ip addresses to each machine, and just ran the model machine with sender mode with only the --max-bitrate 80m option to 19 machines. Setup the diskettes with default lzop compression. Took about 50 minutes to image to 19 machines with 80 gb drives. One last issue that I found in making images, is that clearing out unused sectors makes a big difference. I did an image of a clean install of linux on a drive, and it created a 12GB file. I then blanked out the unused sectors, and got a 2.5GB file. dd if=/dev/zero of=/0bits rm /0bits I've never used the PXE, so don't know if this doesn't apply, but it is things that I found that make the udpcast work great for me. Again, a geat program. On 25 Mar 2005 at 18:02, Lukas Kolbe wrote: From: Lukas Kolbe <lucky@knup.de> To: udpcast@udpcast.linux.lu Date sent: Fri, 25 Mar 2005 18:02:11 +0100 Subject: [Udpcast] Speed dropping down
Hello!
First of all, thanks for this extremely useful tool. We use it to copy hd-images to a pool of 48 PCs, and it works surprisingly well. At least, last semester it did :). We use PXE to boot all clients into a small debian-system with r/o nfs-roots, and cluster-ssh to control them all at once (eg., start udp-receiver). Network is 100mbit half-duplex, the switch can handle 102gbit internally. Unfortunately, we have no physical access to the switch.
On the server, we use this command to cast the complete harddisk: cat /dev/hda | lzop -c - | udp-sender --half-duplex --max-bitrate 90m
On the clients, the opposite is: udp-receiver | lzop -d - | dd of=/dev/hda
hda has about 29gb of used data, and a capacity of 80Gb. We do about 16 clients at the same time, and the first round went very well (it took about 105 minutes to write the whole disk).
Now, the problem for the second 16 (which are the same hardware than the first 16) is, that the speed of udpcast has dropped down from about 50mbit/s (with which it transferred about 24Gb) to right now about 50kbit/s (with which it has transferred about 5gb yet) (that's ok for now, as they can finish writing the image over the easter- weekend), with many timeoutnotanswered-messages on the sender. These messages came from all clients every few seconds when the speed was about 50mbit/s, but the client number 2 was overrepresented there and the speed dropped down to about 50kbit/s, so I cut it off.
When udpcast reduces the speed to that of the slowest receiver, and that receiver gets cut off, would it be possible that the speed gets up again? At the moment it doesn't seem so ...
Thanks in advance, Lukas
_______________________________________________ Udpcast mailing list Udpcast@udpcast.linux.lu https://lll.lgl.lu/mailman/listinfo/udpcast
+----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mikes@kuentos.guam.net mailto:msetzerii@gmail.com http://www.guam.net/home/mikes Guam - Where America's Day Begins +----------------------------------------------------------+ http://setiathome.berkeley.edu Number of Seti Units Returned: 15,966 Processing time: 30 years, 162 days, 18 hours, 11 minutes (Total Hours: 266,706)
Am Samstag, den 26.03.2005, 07:17 +1000 schrieb Michael D. Setzer II:
Not sure if this applies to your situation, but this is what I have done in recent work to add udpcast as an option with G4L.
I use G4L to create a image file on my server using lzop compression.
I can then use udp-sender --file image --max-bitrate 80m
When I use a max-bitrate higher than 70m, I get lots of Timeout notAnswered messages. With 70m it seems to work just fine.
What I originally tried on the clients didn't work, and I got a reply that worked perfectly.
Why don't you simply use udp-receiver --pipe 'lzop -d -c -' -f /dev/hda ?
Yep, that's how i tried it the last time. It seems to have worked (it transfered 25GB in about 1 1/2 hrs), but this was with only 4 receivers. I hope that I will be able to test this configuration again with 16 or even 32 receivers, albeit then I wont't be able to cast the whole harddisk (for the obvious reasons that we need to reactivate Windows on every machine with a norton ghost walk-disk), just the linux-partition (which works perfectly out of the box on all clients).
One last issue that I found in making images, is that clearing out unused sectors makes a big difference. I did an image of a clean install of linux on a drive, and it created a 12GB file. I then blanked out the unused sectors, and got a 2.5GB file. dd if=/dev/zero of=/0bits rm /0bits
Yep too, I dit this before the last run, and it reduced the overall size from 29Gb to 25Gb (where about 17GB is the windows-partition).
I've never used the PXE, so don't know if this doesn't apply, but it is things that I found that make the udpcast work great for me.
PXE is just awesome to use - just tell your dhcp-server which client shall boot the netboot system, restart them, and du a "cssh root@host{0,1}{0..9}". I'll possibly look into G4l, but I am not yet convinced that the copryright-infringement issues are solved. -- Lukas
Hello again, I did another test, this time with 16 PCs. The following commands were used: udp-sender \ --file /dev/hda \ --pipe "lzop -c -" \ --half-duplex \ --max-bitrate 70m \ --fec 8x16/128 \ --min-clients 16 \ --nokbd and udp-receiver \ --pipe "lzop -d -" \ --file /dev/hda After about transmitting 21gb of data and writing about 60gb to disk, the sender reported timeouts on receiver 10 and dropped speed down to about 50kbps. I don't know what happend, appearently the harddisk in client number 10 looks ok (at least smartctl -t short and -t long did not reveal anything). I then took #10 off, but the speed didn't go up again. I'm right now re-testing this thing, this time with 15 clients (without former #10). -- Lukas
participants (2)
-
Lukas Kolbe -
Michael D. Setzer II