Udp-Sender: half-duplex?
-
How are you able to tell that it’s running at half-duplex?
-
[quote=“Kevin, post: 1653, member: 3”]How are you able to tell that it’s running at half-duplex?[/quote]
See MulticastTask.class.php:
[PHP]$cmd = “gunzip -c “” . $this->getImagePath() . “” | " . UPDSENDERPATH . " --min-receivers " . $this->getClientCount() . " --portbase " . $this->getPortBase() . " " . $interface . " $wait --half-duplex --ttl 32 --nokbd”;
[/PHP][B]–half-duplex[/B]
-
Ah, never noticed that :), but who knows, this might be changed in version .33. However, the changes in the new version aren’t very well known. EXT4 support, Developer Tools etc, so time will tell if it changes
-
[quote=“Kevin, post: 1655, member: 3”]Ah, never noticed that :), but who knows, this might be changed in version .33. However, the changes in the new version aren’t very well known. EXT4 support, Developer Tools etc, so time will tell if it changes :)[/quote]
half-duplex is still there in svn trunk
-
I could be wrong, but I think that was an attempt to make sure FOG would work with complex networks that might include half-duplex segments. If it was set to full-duplex and you tried to run across a half-duplex segment you’ll get duplex mismatch errors.
-
[quote=“BryceZ, post: 1682, member: 2”]I could be wrong, but I think that was an attempt to make sure FOG would work with complex networks that might include half-duplex segments. If it was set to full-duplex and you tried to run across a half-duplex segment you’ll get duplex mismatch errors.[/quote]
ok, than it would be great to have that configurable.
btw: who has networks which are half-duplex anymore? I’m currently thinking about attaching my fogserver with 10 GbE…
-
The problem with making that configurable is that it’s set in the boot image, which would need to be built for it. There are methods that could be used to pass this setting along from the web server to the boot image, but I don’t think it’s been considered a priority, and that would be a non-trivial change.
As for the half-duplex networks… there are some older network printers are statically set to half-duplex, and unfortunately not all businesses provide sufficient IT budgets for replacing devices that aren’t “broken”.
I would suggest that you make a feature request for the change… unfortunately there is no dedicated feature request tool currently in use, so your best bet is to just make a thread in the Developer forum with Feature Request in the title. Or if you’re comfortable attempting to write the feature yourself, pull down the latest SVN and go for it, and pass it on to the developers once you’re done so they can work with you on getting it into the next version.
-
[quote=“BryceZ, post: 1684, member: 2”]The problem with making that configurable is that it’s set in the boot image, which would need to be built for it. There are methods that could be used to pass this setting along from the web server to the boot image, but I don’t think it’s been considered a priority, and that would be a non-trivial change.[/quote]
ok, I understand that…
[quote=“BryceZ, post: 1684, member: 2”]
As for the half-duplex networks… there are some older network printers are statically set to half-duplex, and unfortunately not all businesses provide sufficient IT budgets for replacing devices that aren’t “broken”.[/quote]we are talking about multicast
Every printer will surely slow down the transfer if igmp isn’t used etc.
The question was why anyone is using hubs and not switches.[quote=“BryceZ, post: 1684, member: 2”]I would suggest that you make a feature request for the change… […][/quote]
or I will keep patching it by hand every release
-
How much better does multicast perform after this change?
-
[quote=“falko, post: 1690, member: 48”]How much better does multicast perform after this change?[/quote]
mmh, it’s quite a while ago that I tested it - don’t know any numbers anymore but it was enough to say that I will patch the files after each release again
I can’t test it currently because we’ve upgraded our network and now the server and the clients are the bottleneck (5 GiB/min for Multicast and full 1 Gbit/s for NFS - with decompressing on the client).
-
haha must have been good enough then, so all i have to change is [COLOR=#000000][COLOR=#dd0000]–half-duplex [COLOR=#000000]to[/COLOR] --full-duplex [COLOR=#000000]?[/COLOR][/COLOR][/COLOR]
i may just give that a test, cheers
-
is it really as simple as changing --half-duplex to --full-duplex?
-
So another question I have, for unicast, or imaging 1 device, is that set to half-duplex or is it set to full-duplex?
-
[quote=“falko, post: 1711, member: 48”]haha must have been good enough then, so all i have to change is [COLOR=#000000][COLOR=#dd0000]–half-duplex [COLOR=#000000]to[/COLOR] --full-duplex [COLOR=#000000]?[/COLOR][/COLOR][/COLOR]
i may just give that a test, cheers[/quote]
would be great to have the higher speed confirmed.
Setting it on the FOG-Server should be sufficient - it’s a udp-sender option and not udp-receiver[quote=“Kevin, post: 1720, member: 3”]So another question I have, for unicast, or imaging 1 device, is that set to half-duplex or is it set to full-duplex?[/quote]
Unicast is handled over nfs, not udp-sender
-
Jtb, you’re right. I don’t know why I thought that was in the boot image.
-
[quote=“falko, post: 1711, member: 48”]haha must have been good enough then, so all i have to change is [COLOR=#000000][COLOR=#dd0000]–half-duplex [COLOR=#000000]to[/COLOR] --full-duplex [COLOR=#000000]?[/COLOR][/COLOR][/COLOR]
i may just give that a test, cheers[/quote]
Have you tested it yet?
-
no not yet, if I get time today I will post back my findings
-
just done a quick test, after editing the MulticastTask.class.php my multicast speed was at 580-590/mb min. When set back to half duplex the multicast was at the normal (for this network) 670mb /min