Announcement

Collapse
No announcement yet.

Facebook Is Hiring To Make Linux Networking Better Than FreeBSD

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by Michael_S View Post
    I assume Facebook is specifically trying to hire people to add kqueue or something almost identical to kqueue to the Linux kernel.
    FreeBSD has recently added epoll support in kqueue for the Linuxulator. I think it should ease the work of those devs to certain extent.

    Comment


    • #32
      Originally posted by xeekei View Post
      While you guys throw fanboy poop at each other, all I have to say is: thank you Facebook for contributing to open source software. It'll be interesting to see what comes out of this effort.
      Sir, this is the internet. Throwing poo is the most popular activity. Well, that and adult content.

      More seriously, I agree with your point that it's good Facebook is doing this.

      Originally posted by xeekei
      All you needed to do was look at Facebook's past projects before posting. Google "HipHop PHP".
      If you look at Facebook's github.com page for their open source software, https://github.com/facebook their PHP-derived stuff (HipHop and its successor HHVM) are under the same license as PHP itself, which is PHP's bizarre license. Most other projects are BSD license with an additional patent grant, which is good.

      I'd prefer GPLv3, but aside from Red Hat I'm not aware of many big corporations supporting projects that use it. And as you said above and as I said earlier, anything open source is good.

      Comment


      • #33
        haha I know that 99% of all job offers are at least in germany only because they are cheaper than normal company advertisment so they use them as company ads.

        "We are a successful company we hire all the time new people look how strong we are".

        But now companies start to use them for trolling.

        They could absolutly as easy write something like "we search a kernel network developer to make the linux network stack better" they would not even have to mention freebsd, but that was their goal to troll.

        Its funny 99.9999% of all people on the world cannot tell if thats true what they are claiming so we have to trust em or just dont belive them. for 90% of the internets Web servers it seems that if linux is really slower it just doesnt matter. So it cant be that bad it seems.

        Comment


        • #34
          Originally posted by Pawlerson View Post
          This is just example from Berkeleys paper. If you really know something you wouldn't just copy paste from it. If this is just one part of the problem I'm waiting to hear about others.
          I didn't even read that paper before Michael brought it up. I worked with epoll and kQueue both and speak from experience. Subjectively it also seemed to me that the system CPU usage was lower on freeBSDs under bigger networking stress than in Linux, but I don't have the numbers to prove it.

          As for the 3x, that was the worst case scenario model in which you'd get both read and write events each iteration. It's highly improbable, and I agree that something to the point of ~1.5 times of syscalls is the real ratio. That's still substantial if you're dealing with 10k+ active connections which this whole discussion is about. Dealing with small number of active connections can be safely and probably even more efficiently done with threads.

          Thread-pooling kQueue/epoll sets is I think the best way to go tho, best of both worlds.

          I'm a Linux user and consider Linux to be faster in 90% of applications but networking was always better in freeBSD at least (can't speak for other BSD flavors).

          Comment


          • #35
            Originally posted by Michael_S View Post
            Be fair - everything that killed MySpace had to do with the user interface and the auto-play audio feature, and very little to do with Windows. Linux or FreeBSD would not have saved them from their 1997 Geocities interface.
            Myspace was all about microsoft windows. I once asked someone working there why they didn't use Linux. Do you know what they said? "The things we are doing here are so cool and awesome that windows is the only possible platform for us. There's no way we could make it work with linux". Talk about living in a bubble! I think they'd gone to one too many microsoft pep rallies. Later on, one department built an ad server farm using Linux, and it was the only part of the whole operation that was making money. But it was too little, too late. I went to interview at Fox for a job with the up and coming linux team, and seriously considered their offer because of all the cool benefits, but in the end, the killer traffic in Beverly hills dissuaded me and I stayed where I was. But there is no doubt in my mind that their demise was directly tied to their blind devotion to microsoft windows.

            Comment


            • #36
              Originally posted by david_lynch View Post
              Myspace was all about microsoft windows. I once asked someone working there why they didn't use Linux. Do you know what they said? "The things we are doing here are so cool and awesome that windows is the only possible platform for us. There's no way we could make it work with linux". Talk about living in a bubble! I think they'd gone to one too many microsoft pep rallies. Later on, one department built an ad server farm using Linux, and it was the only part of the whole operation that was making money. But it was too little, too late. I went to interview at Fox for a job with the up and coming linux team, and seriously considered their offer because of all the cool benefits, but in the end, the killer traffic in Beverly hills dissuaded me and I stayed where I was. But there is no doubt in my mind that their demise was directly tied to their blind devotion to microsoft windows.
              Interesting. I had no idea. I just know that all of my friends left MySpace because the user interface was horrid and if you opened friend's pages into six tabs you got six songs playing at once.

              Comment


              • #37
                Originally posted by Almindor View Post
                I didn't even read that paper before Michael brought it up. I worked with epoll and kQueue both and speak from experience. Subjectively it also seemed to me that the system CPU usage was lower on freeBSDs under bigger networking stress than in Linux, but I don't have the numbers to prove it.

                As for the 3x, that was the worst case scenario model in which you'd get both read and write events each iteration. It's highly improbable, and I agree that something to the point of ~1.5 times of syscalls is the real ratio. That's still substantial if you're dealing with 10k+ active connections which this whole discussion is about. Dealing with small number of active connections can be safely and probably even more efficiently done with threads.

                Thread-pooling kQueue/epoll sets is I think the best way to go tho, best of both worlds.

                I'm a Linux user and consider Linux to be faster in 90% of applications but networking was always better in freeBSD at least (can't speak for other BSD flavors).
                It seems you're right about this. I've found some benchmarks which show great performance of kQueue and coincide with your tests. It will be nice to have its equivalent in Linux. It's the first time I got hard evidence of someones claims at Phoronix.

                Comment


                • #38
                  Originally posted by Pawlerson View Post
                  It seems you're right about this. I've found some benchmarks which show great performance of kQueue and coincide with your tests. It will be nice to have its equivalent in Linux. It's the first time I got hard evidence of someones claims at Phoronix.
                  If that's really true, then they should just add the kqueue(2) API and implementation to Linux. It's not like it would be a huge burden for all the hardcore network applications to support it since many of them already support *BSD (which usually means they support kqueue(2)). Let's not forget about event loop libraries like libevent that already support it.

                  Comment


                  • #39
                    Originally posted by Michael_S View Post
                    Be fair - everything that killed MySpace had to do with the user interface and the auto-play audio feature, and very little to do with Windows. Linux or FreeBSD would not have saved them from their 1997 Geocities interface.
                    So not the fact they did things like have terrible security, deleted all users profiles, had huge spam problems, was brought by Murdock ( of Sky / News of the world fame) ??

                    Comment


                    • #40
                      Originally posted by Pawlerson View Post
                      It's the first time I got hard evidence of someones claims at Phoronix.
                      As opposed to all the troll bullshit you post.

                      Comment

                      Working...
                      X