• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Udp-Sender: half-duplex?

Scheduled Pinned Locked Moved
General
4
19
7.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jtb
    last edited by Feb 26, 2012, 11:34 AM

    Is there a reason why FOG uses only half-duplex? In my environment full-duplex performes better 😉

    Jens

    1 Reply Last reply Reply Quote 0
    • K
      Kevin
      last edited by Feb 26, 2012, 3:24 PM

      How are you able to tell that it’s running at half-duplex?

      "The quieter you become, the more you are able to hear"

      New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

      1 Reply Last reply Reply Quote 0
      • J
        Jtb
        last edited by Feb 26, 2012, 3:32 PM

        [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]

        Jens

        1 Reply Last reply Reply Quote 0
        • K
          Kevin
          last edited by Feb 26, 2012, 3:39 PM

          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 🙂

          "The quieter you become, the more you are able to hear"

          New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

          1 Reply Last reply Reply Quote 0
          • J
            Jtb
            last edited by Feb 26, 2012, 3:45 PM

            [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 😉

            Jens

            1 Reply Last reply Reply Quote 0
            • B
              BryceZ
              last edited by Feb 27, 2012, 4:15 PM

              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.

              1 Reply Last reply Reply Quote 0
              • J
                Jtb
                last edited by Feb 27, 2012, 4:22 PM

                [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…

                Jens

                1 Reply Last reply Reply Quote 0
                • B
                  BryceZ
                  last edited by Feb 27, 2012, 4:33 PM

                  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.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jtb
                    last edited by Feb 27, 2012, 4:49 PM

                    [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 😉

                    Jens

                    1 Reply Last reply Reply Quote 0
                    • F
                      falko Moderator
                      last edited by Feb 27, 2012, 10:46 PM

                      How much better does multicast perform after this change?

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jtb
                        last edited by Feb 29, 2012, 10:04 AM

                        [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).

                        Jens

                        1 Reply Last reply Reply Quote 0
                        • F
                          falko Moderator
                          last edited by Feb 29, 2012, 11:20 AM

                          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

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kevin
                            last edited by Feb 29, 2012, 2:41 PM

                            is it really as simple as changing --half-duplex to --full-duplex?

                            "The quieter you become, the more you are able to hear"

                            New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kevin
                              last edited by Feb 29, 2012, 2:51 PM

                              So another question I have, for unicast, or imaging 1 device, is that set to half-duplex or is it set to full-duplex?

                              "The quieter you become, the more you are able to hear"

                              New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jtb
                                last edited by Feb 29, 2012, 6:48 PM

                                [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

                                Jens

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BryceZ
                                  last edited by Feb 29, 2012, 7:39 PM

                                  Jtb, you’re right. I don’t know why I thought that was in the boot image.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Jtb
                                    last edited by Mar 7, 2012, 8:58 AM

                                    [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?

                                    Jens

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      falko Moderator
                                      last edited by Mar 7, 2012, 9:14 AM

                                      no not yet, if I get time today I will post back my findings

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        falko Moderator
                                        last edited by Mar 7, 2012, 9:43 AM

                                        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

                                        1 Reply Last reply Reply Quote 0
                                        • 1 / 1
                                        1 / 1
                                        • First post
                                          2/19
                                          Last post

                                        156

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project