Slashdot Mirror


Best TCP/IP Stack Implementation?

paultantk asks: "This mailing list suggests that the FreeBSD TCP/IP stack is sub-par. It was the best in the 90's, but not anymore. So the question is, which operating system now holds the title for the best TCP/IP stack implementation?"

151 comments

  1. Best TCP-IP Stack? by TripMaster+Monkey · · Score: 3, Interesting


    That's easy. Windows.

    mmm..mmmmm..mmmmMMHAHAHAHAHAHAHHAHAHAHAHAHAHA!!!

    Damn...couldn't keep a straight face. ^_^

    Seriously, though, if FreeBSD is no longer king of the mountain, my vote would have to go with NetBSD (it's always been the BSDs, hasn't it?), although the term "best" is rather open-ended, and subject to serious variations of interpretation. Perhaps before we set about answering this question, we ought to decide just what we mean by "best".

    --
    ____

    ~ |rip/\/\aster /\/\onkey

    1. Re:Best TCP-IP Stack? by Anonymous Coward · · Score: 0

      Actually i was thinking that if the BSD stack is not good any more, the stack in windows which is a bsd stack basically is equally bad then?

    2. Re:Best TCP-IP Stack? by Jeremiah+Cornelius · · Score: 2, Funny
      The OS is stacked, and that's a fact
      'Ain't holdin' nuthin' back!

      IP brick...
      HOUSE!
      IP brick...
      HOUSE!

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    3. Re:Best TCP-IP Stack? by Seumas · · Score: 0

      Don't be stupid. TCP/IP is on the way out. It's ancient, outmoded, outclassed and doesn't serve much of a purpose anymore. With the popularity of consoles these days, they will begin to have more control and influence over our networking subsystems in the coming years and it's only a matter of time before XBOX or Nintendo force us to do away with the horrible crap we've tolerated from TCP/IP and adopt their own standard network protocols universally.

    4. Re:Best TCP-IP Stack? by sethadam1 · · Score: 1

      That's the sillient thing I've ever heard. With the rise of NAT, 802.11, RSS, AJAX, VoIP, and home networking, IP communications are stronger than ever.

      I'd even argue that Google Maps and re-established the internet as we know it. Now that rich, cross platform web-apps are a reality, the web is once again rife for the taking, further cementing IP in long term existence - even if it's eventually IPv6 (or IPv9 or whatever if you're in China).

    5. Re:Best TCP-IP Stack? by Seumas · · Score: 1

      Rich cross-platform web-apps? Are you talking about AJAX? That also is on the way out. It's only a matter of time before Colgate-Palmolive puts the breaks on its popularity with a series of trademark lawsuits.

    6. Re:Best TCP-IP Stack? by Anonymous Coward · · Score: 0

      I recall reading somewhere recently a pretty convincing argument that the Windows stack no longer has much to do with the BSD stack. It uses some of the userland programs (ftp, etc) still but the TCP/IP stuff was totally rewritten in recent versions, apparently. Too lazy to Google it, but don't let that stop you from doing so!

    7. Re:Best TCP-IP Stack? by frodo+from+middle+ea · · Score: 1
      Not to be a troll or anything, but why is everyone freaking out so much over google maps ?

      I mean it's only a map, and it's not like everyone is on the go all the time to places they don't know directions to. I know its a cool little web application , but come on.

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
    8. Re:Best TCP-IP Stack? by joto · · Score: 1
      Not to be a troll or anything, but why is everyone freaking out so much over google maps?

      Probably because they are americans. This is a map showing Oslo (the capital of Norway), and surrounding areas. Note the complete lack of any roads, names, or any useful information at all. If you zoom out, you will find out that google knows that Norway is a country, but it doesn't even know the name of our capital.

      Well, back to http://finn.no/kart/ for me...

    9. Re:Best TCP-IP Stack? by Anonymous Coward · · Score: 0
      That's easy. Windows.

      Microsoft took FreeBSD's TCP/IP stack and stuffed it into Windows.

    10. Re:Best TCP-IP Stack? by BinLadenMyHero · · Score: 1

      TCP/IP doesn't serve much of a purpose anymore.

      What the fuck?!!
      And the whole Internet thing, isn't it enough of a purpose?

    11. Re:Best TCP-IP Stack? by Anonymous Coward · · Score: 0

      The original poster is clearly fucking brilliant. He managed to ensnare a troll (BinLadenMyHero?!) in his troll.

      One of the better excecuted troll attempts I've seen in awhile and people even failed to realize what he was attempting in later replies when he became much more obvious and started to reveal his madness.

      Kudos to you, good sir!

      Even old time Slashdotters appreciate the occasional well-crafted troll. Or author one themselves!

    12. Re:Best TCP-IP Stack? by Squozen · · Score: 1

      Yep. It's just as useless for Australians as well.

    13. Re:Best TCP-IP Stack? by Profane+MuthaFucka · · Score: 1

      Norway, Norway, Norway, the country where I want to be.

      No wait, that's Finland. Sorry.

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    14. Re:Best TCP-IP Stack? by baadger · · Score: 1

      It's not just obscure places like Norway either (:P~ you know i'm kidding right), some of the coverage of the UK is lacking in detail, for example Multimap.co.uk shows schools, hospitals, even supermarkets whereas Google is lacking. Most of the UK's (and some of the US's) satellite coverage is still very low resolution.

      It's a good web app alright, but still an infant in terms of substance for some of us.

      On the plus note, I was able to zoom right down onto a relatives house in Vancouver,BC,CA. So you have to admire the Gmaps goal of photographing the entire planet.

    15. Re:Best TCP-IP Stack? by Keruo · · Score: 2, Insightful

      As a finn, I'd jump to the chance to move to Norway as soon as possible, this EU nonsense is starting to resemble too much USA.

      --
      There are no atheists when recovering from tape backup.
  2. WOW at target raising! by Uber+Banker · · Score: 2, Insightful

    From TFA:

    Required for full three month are US$18,900 (15,600 or CHF24,000)

    26. July 2005: Pair Networks, pledged US$14,000 Thank you very much!

    Go Pair Networks!

    1. Re:WOW at target raising! by rebug · · Score: 1

      It's not exactly altruism .

      --

      there's more than one way to do me.
    2. Re:WOW at target raising! by Uber+Banker · · Score: 3, Informative

      Well... it is in that Pair Networks are far from the biggest network (webhosting, in their context) company, yet they are contributing something which will be released under the BSD licence, hence truely free... and will be of benefit to all both large and small. So yes it is alturism but in a form which also benefits themselves, as all great alturism should do (spreading good amongst all should benefit yourself, however directly or indirectly).

      So I say GO PAIR NETWORKS!

  3. OS/2 Warp Server for E-Business by setzman · · Score: 1

    Otherwise known as Aurora.

    --
    C:\>
  4. The answer is... by Z0mb1eman · · Score: 1

    ....zzzzzz*klunk* OW!

    I wonder if it's possible to sue Slashdot for posting an article summary so mind-numbingly dull that it caused some readers to fall asleep and hit their head on their desk...

    --
    ClutterMe.com - easiest site creation on the Net. Just click and type.
  5. Third party TCPIP.SYS? by hackwrench · · Score: 1

    Anybody know of a tird party TCPIP.SYS for Windows XP?

    Also the http://www.lvllord.de/ patch should be mentioned here. Does anybody have any information on how information for patches like this one (i.e. how to know that TCPIP.SYS was the file to patch and where to patch it) is acquired?

    1. Re:Third party TCPIP.SYS? by jonwil · · Score: 1

      I wonder if the ReactOS TCPIP.SYS is complete enough to use for this and if it is usable on real windows...

  6. Ooooh! Mystery conclusions! by cbiffle · · Score: 2, Insightful

    I don't see how the linked document suggests the stack is sub-par. All it says is that the guy wants money to fund optimization, like PHK's done before.

    If the page started with "OMG Linux is fastar than us!" then, yes. But I don't see how you reached your conclusions based on this material.

  7. In the context of what ? by johnjones · · Score: 4, Informative

    you have to put things in context

    security ? - OpenBSD / NetBSD / Linux

    performance ? - MS Windows 2003 / Linux / FreeBSD
    (windows has been showen to support very nice acceleration card NAPI on linux has been showen 2.6 kernel slower than 2.4 at the recent kernel summit and freeBSD is still up there on exsisting hardware the rewrite is about supporting new models )

    Portability ? NetBSD / Linux / OpenBSD

    context is everything

    regards

    John Jones

    1. Re:In the context of what ? by bhima · · Score: 1

      So, I wonder how different the OpenBSD stack is compared to FreeBSD or MacOS X...

      --
      Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
    2. Re:In the context of what ? by Ahnteis · · Score: 1

      Note that the Windows version mentioned is the 2003 server. (I believe the Windows XP 64-edition shares the same TCP/IP stack.) :D

    3. Re:In the context of what ? by Anonymous Coward · · Score: 0


      Performance? Solaris 10.

    4. Re:In the context of what ? by Malfourmed · · Score: 1
      you have to put things in context

      security ? - OpenBSD / NetBSD / Linux

      performance ? - MS Windows 2003 / Linux / FreeBSD

      Portability ? NetBSD / Linux / OpenBSD

      Looks like we have a winner.

    5. Re:In the context of what ? by Anonymous Coward · · Score: 0

      (a deltic so please dont moan about spelling but the content)

      You're a train? I didn't even know you guys could type!

    6. Re:In the context of what ? by Anonymous Coward · · Score: 0

      Didn't anyone ever tell you that Linux is for ricers? Linux = MS-OS (metrosexual OS)

  8. Amiga by tonsofpcs · · Score: 1

    AmiTCP or Miami.

    Nothing like paying for your tcp/ip stack, 15 years after the company who made your computer went out of business.

    1. Re:Amiga by Anonymous Coward · · Score: 0
      Back when I had an Amiga, I stuck with AmiTCP 3.0b2; I think I patched the binary (it comes with source but I didn't have a suitable compiler) to bump the version number of bsdsocket.library up, given 4.0 was just 3.x with annoying shareware notices.

      I believe they're using this stack as the basis of the one in AROS.

      You know, I think I'm going to post this anonymously.

    2. Re:Amiga by Just+Some+Guy · · Score: 1

      Oh, I don't know. The bsdsocket.library that came with the copy of Amiga Forever I bought two days ago seems to do pretty well, although I admit that borrowing the stack of the host machine probably made it pretty easy to write.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Amiga by Anonymous Coward · · Score: 0

      Sorry? AmiTCP is gratis, as is AmigaNOS, another free implementation of the TCP/IP stack.
       
      Miami is shareware.

    4. Re:Amiga by Anonymous Coward · · Score: 0

      Since when? Link?

  9. Re:Ooooh! Mystery conclusions! by TripMaster+Monkey · · Score: 1

    From TFA:
    The TCP code now needs a general overhaul, streamlining and cleanup to make it easily comprehensible, maintainable and extensible again. In addition there are many little optimizations that can be done during such an operation, propelling FreeBSD back at the top of the best performing TCP/IP stacks again, a position it has held for the longest time in the 90's.
    Hope this helps.
    --
    ____

    ~ |rip/\/\aster /\/\onkey

  10. Living on that much? Wow... by hackwrench · · Score: 1, Informative

    To compare, $6300 is roughly how much a person living on SSI disability in the U.S has to live on in a year. What really reeks is that in many areas in the U.S. many disabled people have an education of Associates Degrees or better but can't get the support they need to work or even find a job. Then sometimes there are no jobs in the area and there's no way to move or figure out where to move to.

    1. Re:Living on that much? Wow... by ltbarcly · · Score: 1

      If their so damn smart why can't they figure out a way to overcome?

      In other news, an Associates Degree doesn't qualify you to wipe butt for tips.

      And that $6300 a year? That's alot better than the previous $0, and of course they could have opted for disability insurance before they were disabled (assuming they weren't defective at birth).

    2. Re:Living on that much? Wow... by tepples · · Score: 1

      and of course they could have opted for disability insurance before they were disabled (assuming they weren't defective at birth).

      I was defective at birth, you insensitive clod!

  11. Re:Ooooh! Mystery conclusions! by m_chan · · Score: 4, Informative

    Agreed, I don't read that post to say that described the stack as "sub par".

    I did notice something interesting. If you look through the sponsorships he received, a significant amount ($14,000) was pledged was by Pair Networks. They are one of the larger hosting providers in the U.S. and hundreds FreeBSD servers at their data center in Pittsburgh. It is unlikely that they would grant 14 stacks of high society at something they did not research and find to be of direct benefit. I am not an employee of Pair, but I have been a customer for seven years.

    By the way, Pair's Mirrors are quite handy.

  12. that's easy! it's MacTCP! by he1icine · · Score: 4, Funny

    In the good old days before OpenTransport and well before OSX, we had MacTCP. It was just fantastic.

    --
    Ignorance is the Agent of Fear; Fear Is the Agent of Violence - >1
    1. Re:that's easy! it's MacTCP! by Hard_Code · · Score: 1

      Trumpet.
      Winsock.
      Dubs and Spinners Edition.
      Biatch.

      --

      It's 10 PM. Do you know if you're un-American?
    2. Re:that's easy! it's MacTCP! by tverbeek · · Score: 1

      Yeah, I loved entering IP addresses in decimal. It was so intuitive and simple to convert each octet to binary, then enter that as a single decimal integer.

      --
      http://alternatives.rzero.com/
    3. Re:that's easy! it's MacTCP! by mikiN · · Score: 1

      ???

      Take a dotted quad IP address: a.b.c.d
      Take any run'o'the'mill calculator and punch (replace a.b.c.d with appropriate values):

      a
      * 256
      + b
      * 256
      + c
      * 256
      + d
      =

      Easy as pie.

      --
      The Hacker's Guide To The Kernel: Don't panic()!
    4. Re:that's easy! it's MacTCP! by mikiN · · Score: 1

      Correction:

      a
      * 256 =
      + b =
      * 256 =
      + c =
      * 256 =
      + d
      =

      --
      The Hacker's Guide To The Kernel: Don't panic()!
    5. Re:that's easy! it's MacTCP! by Shanep · · Score: 1

      Hi mikiN,

      Actually, that is not quite correct. The calculation along those lines is:

      With a dotted decimal notation IP address of a.b.c.d:

      (a * 16,777,216) + (b * 65,563) + (c * 256) + d = decimal IP address.

      As you could imagine, with an IP address being a 32bit binary number, 2^32-1 is 4,294,967,295 and 255.255.255.255 equals (255 * 16,777,216) + (255 * 65,563) + (255 * 256) + 255 = 4,294,967,295.

      Your calculation incorrectly comes out to 261,120 and does not consider the correct significance of each individual DDN byte.

      I figured this out a few months ago, so that I could perform reduction of many individual subnets into largest possible contiguous groups to allow bounds checking from within a shell script. The script breaks down subnets assigned to various countries into a smaller list of larger blocks.

      For example,

      10.0.0.0 - 10.0.1.255 US
      10.0.2.0 - 10.0.4.255 US
      10.0.5.0 - 10.0.5.255 UK
      10.0.6.0 - 10.0.6.255 US
      10.0.7.0 - 10.0.7.255 US

      Would become:

      10.0.0.0 - 10.0.4.255 US
      10.0.5.0 - 10.0.5.255 UK
      10.0.6.0 - 10.0.7.255 US

      Although the actual numbers were converted to decimal to allow easy bounds checking within a script:

      167772160 167773439 US
      167773440 167773695 UK
      167773696 167774207 US

      Interestingly, NetBSD allows pinging of decimal IP addresses. Is this common amongst the free UNIX like OS'?

      Anyone know an easy way to calculate the dotted decimal notation IP address if given the full decimal IP address? With simple on-paper calculations like these? I was trying to figure it out, but then cheated by just pinging the decimal IP, forcing ping to timeout in near 0 seconds and then used "cut" to extract the DDN IP from the output. A bit dodgy, but I was in a hurry.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    6. Re:that's easy! it's MacTCP! by Anonymous Coward · · Score: 0
      Hi shanep mikiN's implementation is correct when using an ordinary pocket calculator, as many of them do not follow the 'My Dear Aunt Sally' method, and execute consecutive calculations progressively. In standard mathematical notation, this is displayed as such:
      ((a x 256 + b) x 256 + c) x 256 + d
      I'd guess that this would be the more optimal implementation for a von-neumann architecture, as results from multiple sets of parentheses do not have to be held concurrently before adding them together; your implementation is a possible candidate for SMP. Gentoo GNU/Linux also allows pinging of full decimal IP addresses (using ping from the iputils package). As far as I know, the ony way of splitting a full decimal IP address into it's dotted form is:
      d = z mod 256 ; mask off the top 24 bits
      z = z div 256 ; integer division or shift right by
      ; 8 bits, a decent optimizer would
      ; spot which to use
      c = z mod 256 ; rinse-repeat
      z = z div 256
      b = z mod 256
      z = z div 256
      a = z ;assuming a 32bit integer
      There may be faster ways.
    7. Re:that's easy! it's MacTCP! by Shanep · · Score: 1

      Ahh, so it does! Appologies mikiN.

      I was failing to enter every equals when I tested it.

      I thought to do this easily in C I would simply have to read the 32bit number four bytes at a time?

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    8. Re:that's easy! it's MacTCP! by Shanep · · Score: 1

      BTW, I have just noticed that I made a typo. Where I used 65,563 I should have used 65,536.

      Thankfully, bc seems to adhere to PEMDAS so I don't have to use parentheses.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
  13. Battle of the Stacks by bjb · · Score: 4, Interesting
    OK, how quickly is this turning into one of the following:
    1. "my OS is better than yours, so therefore my stack is better".
    2. "I've got this obscure stack for my old/obsolete/obscure machine, so it r0x!"
    3. Linux, of course!
    4. OS X, of course!
    etc..

    I'd be interested in seeing WHY a stack is better, and this means real data or stories like performance numbers or efficiency observations, etc.

    On the other hand, machines built since 1998 have been fast enough and stacks have probably been optimized enough that we don't even notice anymore. For example, it was huge when Solaris 2.5.1 was replaced by Solaris 2.6; the stack was reworked because of "we're the dot in dot.com" web serving duties in 1997. However, those days people were still running SPARCstation 5/10/20's for their webs (read: 40MHz CPUs) and it made a difference. Today, your 500MHz+ CPUs don't really hiccup that much from stack inefficiencies. Sure, slashdot the darn box and you'll see some numbers, but the sites that are regularly hosting that kind of traffic are probably running heavier-duty machines.

    My rant, anyway :-)

    --
    Never hit your grandmother with a shovel, for it leaves a bad impression on her mind...
    1. Re:Battle of the Stacks by Alomex · · Score: 2, Interesting


      I know for a fact that IBM looked into all available Linux compatible TCP/IP stacks in 2001 and found them incredibly defficient (including among its many flaws having to shift every byte sent du to improper word alignment!!). They went about rewriting the whole thing. I don't know if the mods were ever made public, though.

    2. Re:Battle of the Stacks by macshit · · Score: 1

      Today, your 500MHz+ CPUs don't really hiccup that much from stack inefficiencies.

      People's expectations have risen as well -- if you read a kernel mailing list, you'll see people posting things like "My machine has 5 gigabit ethernet cards installed and I can't saturate all the links simultaneously while routing the packets and encrypting them! OMG!!!"

      --
      We live, as we dream -- alone....
    3. Re:Battle of the Stacks by Anonymous Coward · · Score: 0

      and in your mind, defficient is the opposite of efficient?

    4. Re:Battle of the Stacks by Biolo · · Score: 1

      It does still matter, Sun recommends 1GHz of CPU (UltraSPARC IV, not P4 which is less effective clock for clock) per 1Gb/s of network IO. Given multiple gigabit interfaces (they do a nice quad GE card now), or even 10Gb/s interfaces, that's a lot of CPUs just to feed the bandwidth...and this assumes all you are doing is chucking out the data, any encryption or data manipulation CPU power required is on top of this. That is why Sun is reworking (has reworked?) their already pretty good stack, and putting in hardware offload engines for the (tcp|udp)/ip packet generation and handling.

      If you're talking about low bandwidth then I agree you will hardly notice it on a modern CPU, but I see a significant CPU hit on my dual athlon Linux workstation just copying a few gigs of files from my local (SCSI) disk to the server nfs share, and that 'only' hits 160Mb/s on the net.

      --
      Stealing a rhinoceros should not be attempted lightly.
  14. Its still vapor at this point but by bofkentucky · · Score: 2, Interesting

    Solaris 10's new stack is supposed to be the new top dog of the TCP/IP world.

    --
    09f911029d74e35bd84156c5635688c0
    1. Re:Its still vapor at this point but by Anonymous Coward · · Score: 0

      Maybe some suppose so, but everyone with functional brains will know that Solaris and its TCP/IP stack suck bigtime.

    2. Re:Its still vapor at this point but by hackstraw · · Score: 1

      Solaris 10's new stack is supposed to be the new top dog of the TCP/IP world.

      Compared to what? Solaris 9. Somewhere between Solaris 8 and 9 the TCP/IP stack suffered a 30% performance hit on the same hardware compared to Solaris 7. I have no data for Solaris 10, but hopefully they have fixed something.

  15. $6300 Us per month?!?!? by VolciMaster · · Score: 0, Offtopic
    What the heck is this guy spending money on? Ok, I don't live in switzerland, but I manage to get by on $1000 US per month here in the US. I work, go to school, commute, and have bills like the rest of the world.

    I want to know what he's spending that much money on.

    1. Re:$6300 Us per month?!?!? by duffbeer703 · · Score: 1

      In most US states, about 50% would go towards various federal state and local taxes. The rest rapidly gets eaten us by food, fuel, housing, etc.

      When you start making good money, its harder to live on less. When I was in college, I lived on a total of about $300/mo including rent, food, booze and entertainment. Now... its probably closer to $3000/mo for my wife and I.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    2. Re:$6300 Us per month?!?!? by EllF · · Score: 1
      Now... its probably closer to $3000/mo for my wife and I.

      Holy god, man -- what are you spending it on, and where? I live a -very- comfortable life on $1800/month, living in an apartment in Boston. I don't drive a BMW or go out to eat every day, but I could pare that down by about 50% if I wasn't paying student loans.

      --
      We who were living are now dying
      With a little patience
    3. Re:$6300 Us per month?!?!? by wayne606 · · Score: 1

      Expenses always grow to match income ... Also I'm sure none of the above responders have kids, pay mortgages, support aging parents, etc etc

    4. Re:$6300 Us per month?!?!? by dtfinch · · Score: 1

      Probably opportunity cost. If he wasn't working on the FreeBSD TCP/IP stack, he could be earning as much as $6300 a month.

    5. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      Try buying a house sometime, and anywhere in flyover country doesn't count. I assume Boston's housing market is pretty high since it's a big city, but I know from experience that California's is insane. My mortgage payment alone is $2800 a month. You may call that throwing away money, but I call it an investment. Our 3 bedroom, 1600 sq ft house (definitely not huge by anyone's standards) appreciated about $60,000 in the first year we owned it.

    6. Re:$6300 Us per month?!?!? by jellomizer · · Score: 1

      Well there are things like this.
      Mortgage with Taxes and insurence for me is 1000 a month.
      Home maintenance is about 100 a month
      2 cars I am paying 600 a month
      GAS and Maintenance about 100 a month.
      Food about 200 a month
      Things like clothing etc are around 50 a month

      So all in all that is a little over 2000 a month for me. Luckally My house is a 3 family appartment so I get rent for the other 2 units. So that essenctilly cuts my mortgage to 100 a month. But still many of these bills are paying off dept.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    7. Re:$6300 Us per month?!?!? by phfpht · · Score: 1

      It's not difficult for expenses to add up.

      High (est) Estimate
      Rent: $1500
      Car Payment: $600 (or two @ $300)
      Car Insurance: $300
      Gasoline: $250 (SUV)
      Utilities: $200
      Broad(band): $50
      Food: $800 (eat out more)
      Entertainment: $500
      Student Loans: $200
      Total: $4400

      High(er) Estimate
      Rent: $1200
      Car Payment: $300 (nothing expensive)
      Car Insurance: $100
      Gasoline: $100
      Utilities: $200
      Broad(band): $50
      Food: $400
      Entertainment: $250
      Total: $2600

      Low Estimate:
      Rent: $600
      Car Payment: $0 (it's paid off)
      Gasoline: $100
      Utilities: $150
      Broad(band): $50
      Food: $200
      Entertainment: $100
      Total: $1200

      These are after taxes numbers.
      Now try adding in expenses for two, or kids and I can't see how anyone with kids can get by on less than $80,000US a year.

    8. Re:$6300 Us per month?!?!? by IpalindromeI · · Score: 1

      Expenses always grow to match income

      No, they grow to match your lifestyle. If you're living comfortably on $1000/mo and get a new job making $2000/mo, your utility companies don't magically find out and start charging you more. Your car payment or insurance premium doesn't automatically go up. Your taxes do, but that's it. If you don't make any changes to your lifestyle, you are not paying more in expenses. In fact, with the extra money you can pay off debts sooner, which means you'll be paying less interest and therefore have even fewer expenses.

      --

      --
      Promoting critical thinking since 1994.
    9. Re:$6300 Us per month?!?!? by duffbeer703 · · Score: 1

      Mortgage+PropertyTaxes: $1300/mo
      Two car payments (36mo): $600
      Food: $450
      Gas: $250
      Misc: $400

      We really don't live a lavish lifestyle... no fancy furniture or plasma TVs. We've paid off the student loans and have no credit card debt.

      The house is by far the biggest expense. We have a nice house, but it was owned by old folks and needs alot maintenance.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    10. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      It only counts if you sell it and have the cash in hand. Before that, it's poker chips, nothing more. There's just as much an over inflated housing bubble now as there was a stock bubble in the late 90's. In fact it's probably much, much worse, and most people are still in complete denial over it. All you have to do is pay attention to the financials to see it. Those inflated prices you are relying on and consider as cash in your pocket are from get rich quick with little work speculators using borrowed money on top of borrowed money on top of borrowed money. I *strongly* suggest you don't assume this will go on forever. I also suggest you don't be so arrogant as to assume that only you will know when to "cash out" and sell before the bubble pops. You and millions more all seem to think that some fool in the future will hand you this completely outrageous amount of money for some little hovel and you'll be some retired uber millionaire or something. Dream on. The foreigners who have been financing this US speculation bubble are getting a little antsy lately, at some time they are going to bail. Oil at 60$ a barrel and the US economy stagnates (it is now, they have to cook the numbers to keep the employment stats look even marginally good), once it reaches 75 or so higher, it will retreat, and fast. Poof, bubbles burst. Millions more laid off, no money for even outsourcing as the CUSTOMER BASE shrinks. It's com-ming! You can't stop it now.... And millions of people will be stuck with mortgages they still owe for places that will be worth about 1/5th what they think now, and a lot of them will have no income other than joke temp unemployment checks.

      Have you ever seen an area once the major local business goes south? All of a sudden 10 times as many homes on the market? Go do some research and find out, you might be surprised. Check out what happened in some of the rust belt areas back in the 70's, and that is small potatoes to what is coming.

      There's a REASON they changed the bankruptcy laws a couple months ago, it's not because they were just bored or anything. Did you happen to catch that news? It came and went fast, but it's critical to understand what's going on now. The really BIG BIG money boys know exactly what's coming,they are causing it, more or less on purpose to boot, and they will wind up with all the real estate including yours for pennies on the mortgaged dollar.

      Same thing they did to the suckers in the great depression who never bothered to learn the difference between actual accumulated wealth and credit and stock market bingo cards. Slight variation lately, but not too much really.

      Learn from history or repeat, two choices. good luck.

    11. Re:$6300 Us per month?!?!? by cjsnell · · Score: 1


      Whatever. When I (voluntarily) left my six-figure/year tech job to enlist in the Army National Guard and return to college, I took a paycut that left me with exactly 10% of my previos pay.

      Yes, it was a bit of a shock but I got along just fine. In fact, I was happier than I'd ever been. No, I couldn't drive a shiny new car any longer, nor could I live in a swank 2-bedroom condo but I have enough money to get by and pay my bills.

      Now that I'm out of college, I live in $2000 take-home/month and pay $800/month in student loans (the Army's "money for college" is largely bullshit, I'm afraid), but I still live very, very comfortably. $6,300/mo, even before taxes, seems a bit excessive.

    12. Re:$6300 Us per month?!?!? by duffbeer703 · · Score: 1

      Why should a developer capable of re-writing a TCP stack be making a subsistence living?

      I could quit my job, move into a crappy apartment in the ghetto, sell my car to drive a '91 Civic and get a job at Starbucks or whatever.

      But why? The work I do is worth alot to my employer, we have a 15 year home loan and modest late model cars. I'd like to keep my kids out of public school and live debt free. What's wrong with that?

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    13. Re:$6300 Us per month?!?!? by jrockway · · Score: 1

      Do people really pay $100 a month for gasoline?

      I've never driven a car, so I don't really know, but I always thought public transportation was "more expensive" than driving. I pay $75 a month (in Chicago), but people in the suburbs can pay nearly $200 a month on train fare alone. Does this end up being cheaper than gas?

      --
      My other car is first.
    14. Re:$6300 Us per month?!?!? by penguinboy · · Score: 1

      Do people really pay $100 a month for gasoline?

      Easily. With a 36-mile commute (1-way), 30MPG car, and gas at $2.30/gal, that's $110/month just for getting to and from work. Add in after-work and weekend driving, and there's $150. Of course most people have shorter commutes so $100 is probably a closer total for a month.

      I think public transit is often less expensive than owning a car (buying the car, gas, insurance, taxes, maintainence) but it gives you a lot more flexibility. Here (Boston), the train system is pretty limited. If you miss a train outside of rush hour, you'll be waiting 30 minutes or an hour for the next one. With a car, you can go whenever you want. The layout of the rail network is single-purposed: getting into and out of Boston. Getting from a suburb on one line to a suburb on another line means going through Boston, even if the locations are close by car.

    15. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      Wow, you're dense! He gives you the reason right in the announcement: Switzerland is not the cheapest place to live.

      In fact, Switzerland is downright expensive. Here are some numbers:

      Eating lunch: No less than ~$30 USD/plate
      Eating dinner: No less than $40 USD/plate
      Riding the Bus: $3 USD
      Highest "Fast Cash" Button on ATMs: ~$2000 USD

      Switzerland is E X P E N S I V E. You've obviously never visited the place, much less lived there. Think and do some research before posting.

    16. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      I run my own consulting business, and if I could get away with $100/month on gasoline, I'd live like a king. I currently pay about $32/tank on Long Island, which lasts me at most one day. Being that I don't work sundays, I spend _at least_ $32/day on gas, or $192/week. My car, a '95 Galant, gets about 22mpg, which isn't great, but gas prices have killed my ability to invest in a new car for now...

    17. Re:$6300 Us per month?!?!? by topham · · Score: 1

      I pay $40(CDN)/week on gas with gas prices where they are now.
      (Actually, it's closer to 5*$40/month).

    18. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      $6300 is a slightly above average salary in Switzerland I'm afraid. Some of you really need to be beaten with a clueclub.

    19. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      I just worked it out for myself. $4.60 per day(weekdays only, 20 days/month) for the train(short drive to train station + parking + Metra, no el, no bus), and $4.20/day for driving. I won't bore you with the details of the calculations, but I'm convinced that it's cheaper for some people. Either way the real savings is in time. Driving takes twice as long and you can't get any work done.

    20. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      Ooops. That should have been 9.20/day for the public tranportation, not 4.60. So yeah, public tranportation is more expensive. But I still make it up in the time savings.

    21. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      In some parts of the country, the current real estate "bubble" may indeed pop. But not in southern California. People continue to move here faster than the homebuilders are building new housing. There's absolutely no end in sight for that trend. Lots of recent studies back this up. The bottom end gets more crowded and it pushes the rest of us up. It may well level off or even take a slight dip -- which is cool, this is a long term investment -- but it will *not* pop. Not here.

      Call it denial all you want, I call it doing my research. Of course nothing's guaranteed until you cash out, but I feel quite confident.

      Paying such high prices on another area of the country? No way. Pop!

    22. Re:$6300 Us per month?!?!? by MarcQuadra · · Score: 1

      OK. I'm in an apartment just outside of Boston. Here's my breakdown:

      $750 - rent
      $100 - utilities (aggregated and averaged)
      $125 - car payment
      $250 - car insurance payment (WTF Massachusetts!)
      $125 - gasoline!
      $200 - retirement fund contribution
      $75 - data services (broadband, vonage, etc.)
      $50 - health/dental insurance contribution
      ---
      $1675 - total so far

      I haven't even included a bunch of other little things, these are all my 'mostly inflexible' costs. Bear in mind that in those numbers I haven't had anything to eat yet or gone out at all. Uncle Sam also takes out well over one third of my gross income for federal and state taxes, social security, medicare, and car excise tax.

      I suppose the only way I'd be able to cut costs would be to move to a place where I could get a roommate, which I can't really do easily while I'm waiting for my ex to take her cat back. People are cool with one cat, but there's no way in hell you can move somewhere with two.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    23. Re:$6300 Us per month?!?!? by ltbarcly · · Score: 1

      You dumbshit. What the hell would possibly convince you to voluntarily leave a 6 figure job to join the national guard? If it was college money, you could have saved an amount equal to what they are going to give you in the entire 8 years you have to enlist in about 2 months (Yes, no matter what they tell you, all enlistments to the military are for 8 years). An then you wouldn't risk dying in Iraq for no good reason. And you wouldn't have to wear a silly looking and uncomfortable uniform that is highly impractical.

      Oh, AND you wouldn't have some shithead who can barely read yelling at you, calling you a dumshit, and making you do pushups until you throw up.

      Personally, I have managed to convince several young patriotic americans to not join the army reserve. Unless they enjoy being treated like assholes for risking their lives and making huge sacrifices, just to see the US Government weasle out of paying promised benifits.

      (ltbarcly has been in the army reserve for 7 years. He is currently pissed at them for making it impossible to recieve the student loan payments totalling $20,000 which were promised to him but not paid because of a system which intentionally makes it difficult to be paid (despite meeting all qualifications). This is called a bait and switch and is illegal in all other areas of the economy.)

    24. Re:$6300 Us per month?!?!? by Anonymous Coward · · Score: 0

      He's spending it on being in Switzerland...

      Housing costs are higher here than in the USA. The kinds of prices that slashdotters complain about in silicon valley for housing are the norm here. Food is probably 3 times as expensive. Gas prices are _way_ higher here. Etc. It adds up quickly; Switzerland is one of the more expensive places to live (not the most, by a fair margin, but more expensive than most parts of North America.)

      -- An American living in Switzerland

    25. Re:$6300 Us per month?!?!? by VolciMaster · · Score: 1
      In most US states, about 50% would go towards various federal state and local taxes.

      Outside of places like New York City, San Francisco, Miami and some of the surrounding areas, I can't think of any where in the US where 50% of my income goes to federal state and local taxes (at the $6300/mo number, at least). Sure, if I'm in a top-tier income level I might be paying 40% to state and federal (and in Yonkers of NYC an additional city income tax), but even $6300/mo gross doesn't push me to that point.

    26. Re:$6300 Us per month?!?!? by duffbeer703 · · Score: 1

      Even in a smaller city or suburb, if you own a home property taxes can end up costing you 7-15% of your income.

      You can deduct property taxes from your income taxes, of course, but it adds up. A 3bed/1bath in Nassau County, NY often pays around $16,000 in taxes. Outside of the NYC area, a typical 3bed/1.5bath house in a decent neighborhood of a distressed upstate city like Schenectady pays $4,000-$5,000 (on an assessed value of ~$65,000).

      I'm not even factoring in sales & excise taxes, which are very significant and nearly impossible to track.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    27. Re:$6300 Us per month?!?!? by Just+Some+Guy · · Score: 1
      a typical 3bed/1.5bath house in a decent neighborhood of a distressed upstate city like Schenectady pays $4,000-$5,000 (on an assessed value of ~$65,000).

      You are joking, aren't you? Aren't you? Good God, man; that's insane. I pay $2500 on ~$195,000 and thought I was getting ripped off. My father-in-law lives in Buffalo, NY, and is always going on about all the "free" services that he gets from the gov'ment like trash pickup. I have to pay to have my trash hauled, but since I guess I'm saving about $10,000 per year in taxes, I can live with it.

      --
      Dewey, what part of this looks like authorities should be involved?
    28. Re:$6300 Us per month?!?!? by duffbeer703 · · Score: 1

      I wish I was. Schenectady is a bad example... its like New York's Detriot.

      In the 50's it had a population of about 120,000 the main General Electric plant, GE Corporate HQ and a railroad locomotive factory. GE alone employed 50,000, mostly skilled tradesmen. Today GE Power Systems is barely running with about 2,500 folks.

      I live in a suburb of Albany, and my school & property taxes are just under $5,000/yr. I pay for garbage and water too.

      Why so high?

      States like NY have high taxes because of numerous and large local government. NY state government is huge, and there are over 3,500 towns, villages, cities and counties. Each entity had a paid board, supervisor/mayor/etc and many have overlapping police forces. My home is near the state university, and is within the jurisdiction of five seperate police forces. The average state policeman makes $80k/yr and retires after 20 years at half pay.

      Schools are also expensive. The average teacher's salary is around $55k and teachers retire making $75k. Some states, even in the northeast, pay civil servants far less.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    29. Re:$6300 Us per month?!?!? by drxenos · · Score: 1

      I spend over $200 a month in gas (but I drive 160 miles a day, round trip, to work and back).

      --


      Anonymous Cowards suck.
    30. Re:$6300 Us per month?!?!? by tigersha · · Score: 1

      Yeah and the sweet part is that people from Germany cross the Swiss border to fill up because gas is so cheap there!

      On the other hand, my GF recently switched jobs from Germany to Switzerland because the pay (for about 15% more work) is more than double, and the taxes are lower. And the bureucracy is less.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
  16. NetBSD still holds all the records by phoenix_rizzen · · Score: 2, Insightful

    All the transmission throughput speed records are held by NetBSD. Hence, it should be fairly obvious which TCP/IP stack is the best. :) Okay, maybe not the best, but definitely the fastest.

    1. Re:NetBSD still holds all the records by Anonymous Coward · · Score: 0

      Fuck off :)

      Linux has held all the IPv4 and IPv6 records for about the past year.

      You might also find this interesting.

      In light of some *real* information and facts, I contend that Linux has the best TCP/IP stack.

    2. Re:NetBSD still holds all the records by Anonymous Coward · · Score: 0
      Linux has held all the IPv4 and IPv6 records for about the past year.
      Yeah, it helps a bit when you're using a $4,000 NIC.
    3. Re:NetBSD still holds all the records by Anonymous Coward · · Score: 0

      Helps a bit? Oh don't worry, it helps a *lot*.

      Yeah it helps you utterly demolish NetBSD's $4,000 NIC record. Your point is?

    4. Re:NetBSD still holds all the records by Solra+Bizna · · Score: 1

      In light of some *real* information and facts, I contend that Linux has the best TCP/IP stack.

      Everyone else's information is fake.

      -:sigma.SB

      --
      WARN
      THERE IS ANOTHER SYSTEM
    5. Re:NetBSD still holds all the records by Anonymous Coward · · Score: 0

      Err no, anecdotal waffle and bullshit from slashdotters is not *real* facts. Links to posts from FreeBSD kernel developers and facts accompanied by links to prove them *are*.

      Aside from the the incorrect assertion you've made just now, where's your information?

      Didn't think so.

    6. Re:NetBSD still holds all the records by Anonymous Coward · · Score: 0

      And you got your information where again?

      Oh, yeah, I forgot this is /., where posing as someone who knows something without providing any supporting evidence whatever is par for the course.

      For anyone who'd like real tests and real data, here's a link:

      http://lsr.internet2.edu/history.html

  17. No it's not... you can download it now by kelleher · · Score: 2, Interesting
    Here you go:
    http://www.sun.com/software/solaris/get.jsp

    For details on the network stack improvements, start here:
    http://www.sun.com/bigadmin/content/networkperf/

  18. Wierdness with TCP/IP on Linux by Julian+Morrison · · Score: 1

    The linux network stack sure ain't it. Anytime I run a connection-hungry p2p program, particularly the edonkey type, it munches so much network resources everything else starts failing to establish connections. Damn nuisance!

    1. Re:Wierdness with TCP/IP on Linux by KagatoLNX · · Score: 1

      I'd like to see this, actually.

      Which version of the kernel? 2.4? 2.6?

      I've had this behavior before, but it turned out to be the D-Link firewall/router in front of the box dropping the connections. Windows XP wouldn't push the router hard enough, but a very similar program on Linux would.

      When W32/Nachi came out, this was a common problem under Windows, as it would push these little routers to the point that TCP connections would routinely time out. Anyone who's DSL mysteriously "stopped working" (when it was beyond saturated) because of this virus knows exactly what I'm talking about. I had four customers call me to fix their DSL only to find out that they had viral infestations.

      --
      I think Mauve has the most RAM. --PHB (Dilbert Comic)
    2. Re:Wierdness with TCP/IP on Linux by dimss · · Score: 1

      Something wrong happens with your computer. This should be fixed. I run network-intensive applications (incl. gnutella ultrapeer) on my Linux box without any problems.

    3. Re:Wierdness with TCP/IP on Linux by Julian+Morrison · · Score: 1

      2.6 although I think it happened before with 2.4 (not sure though).

      Could well be the router - I have an ethernet based router in front of my ADSL. I don't think it's so simple as connections piling up, though, for 2 reasons. First, I often do other stuff that could be expected to pile them up (eg: usiong "linky" extension in firefox to open 50 webcomics in tabs all at once), and this doesn't exhibit the same problem. Second, I try to turn down the settings (connections at once, connections per time, bandwidth throttle) and this doesn't seem to help.

      It seems to be particularly typical of distributed searching p2p like gnutella and mldonkey - not bittorrent. Perhaps it's the incoming packets that are throwing it off? Anyway, it's wierd. The behaviour is almost as though some connection-related resource were being leaked. Not memory or CPU - top shows nothing unusual. But the p2p program slows its bandwidth to a crawl and wedges, and everything else wedges too.

    4. Re:Wierdness with TCP/IP on Linux by Scaba · · Score: 1

      I had this very same problem until I replaced my Netgear MR814 with a Linksys WRT54G.

    5. Re:Wierdness with TCP/IP on Linux by smcavoy · · Score: 1

      ADSL stands for Asymmetrical Digital Subscriber Line.
      Asymmetrical being the important part. When you are uploading you can't download and vice-versa. The switching between these two modes is unnoticeable at low usage, but as it increases your connection will start to crawl. This is especially noticeable on a system where you download a ton of files and then ssh into a remote system. you'd notice a big lag on the ssh connection...

    6. Re:Wierdness with TCP/IP on Linux by TERdON · · Score: 1
      If your 50 webcomics in tabs all are on the same server, they won't be downloaded at the same time in a gazillion connections, but after each other. At least if your browser is even close to standard compliance, and FF is...

      --
      I have a really elegant proof for Fermat's last theorem. If this sig was only a bit longer...
    7. Re:Wierdness with TCP/IP on Linux by Omega996 · · Score: 1

      er, hate to break it to you, but the 'asymmetric' part of ADSL refers to the mismatch in speed between download and upload; it has nothing to do with whether the link is half-duplex (data moves in one direction at a time) or full-duplex (data moves in both directions at the same time).

    8. Re:Wierdness with TCP/IP on Linux by Covener · · Score: 1

      Asymmetrical being the important part. When you are uploading you can't download and vice-versa.The switching between these two modes is unnoticeable at low usage, but as it increases your connection will start to crawl. This is especially noticeable on a system where you download a ton of files and then ssh into a remote system. you'd notice a big lag on the ssh connection...

      If you're saturating your upstream, you can't efficiently ACK your downloads -- which kills throughput. It's not an issue until you come very close to your upstream bandwdith because theres always ... well... bandwidth for your ACKS to make it out without being delayed.

      You typically overcome this by prioritizing the ACKS (or small packets in general) before they hit your throttled connection.

    9. Re:Wierdness with TCP/IP on Linux by TheRaven64 · · Score: 2, Interesting
      Let me guess - you're using an asymmetric connection (e.g. ADSL).

      Your downstream bandwidth is limited by your upstream bandwidth in corner cases - TCP/IP rate limiting works based on the time between ACKs. If your P2P program is using up all of your upstream bandwidth, then you may find that everything else is failing. Try throttling your P2P app to 80% or so of your available bandwidth, and see if that makes a difference. Also, consider using OpenBSD's ALTQ framework (now ported to FreeBSD and NetBSD) to prioritise ACKs.

      --
      I am TheRaven on Soylent News
    10. Re:Wierdness with TCP/IP on Linux by Julian+Morrison · · Score: 1

      No, the odd thing is that it isn't using all the bandwidth. Looking at the network monitors in and out on my KDE taskbar, the state of wedged-ness causes them both to show low activity, as though it were some sort of a resource-exhaustion deadlock.

  19. I don't think Homer will be pleased either by brokeninside · · Score: 1

    But they could always just change the name to Agamemnon. Aside from which, I don't think Colgate-Palmolive will be concerned unless the AJAX folks get into the dishwashing business.

    1. Re:I don't think Homer will be pleased either by Seumas · · Score: 1

      I'm pretty sure, from what I've read, some people claim AJAX to do everything in the world, including wash your dishes...

  20. Windows Vista? by RzUpAnmsCwrds · · Score: 4, Interesting

    No, seriously. Vista apparently has a completely rewritten network stack that's supposed to build on the work done with Windows Server 2003 (offloading work to network hardware, primarily) and was designed for IPv6 from the ground up.

    1. Re:Windows Vista? by the+eric+conspiracy · · Score: 1

      Fully rewritten = not proven to work yet. Maybe after it is out for a while it will be worthy of consideration, but something is a product that is only just available as a beta doesn't qualify.

    2. Re:Windows Vista? by iammaxus · · Score: 1

      Fully rewritten and building on the work of Windows Server 2003? How did they manage that?

    3. Re:Windows Vista? by quanticle · · Score: 1

      By "rewritten", I think GP refers to MS throwing out the Windows 2000/XP network stack, and dropping in the Windows Server 2003 network stack (with improvements).

      So the XP network stack was "rewritten", but it got used in Windows Server 2003 first, rather than in Vista, the direct successor to XP.

      --
      We all know what to do, but we don't know how to get re-elected once we have done it
  21. Re:Well duh by Thalagyrt · · Score: 1

    How'd this guy get modded troll? I'm pretty damn sure it was a joke not a troll. :P

    --
    Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo!
  22. Re:Well duh by Anonymous Coward · · Score: 0

    Yeah, the whole point is that Windows uses the BSD TCP/IP stack, so it's obviously not better. Hahaha. If you don't know what your talking about, don't mod.

  23. Best OS? by Evro · · Score: 3, Funny

    Since the TCP/IP stack is only as good as the operating system it's attached to, why don't we come right out and determine, once and for all, the best operating system ever created? I think this will be a grand, insightful discussion, completely devoid of flames.

    --
    rooooar
    1. Re:Best OS? by Anonymous Coward · · Score: 0

      Seriously, Linux is NOT an operating system

  24. Gotta be... by Anonymous Coward · · Score: 0

    Trumpet Winsock

    1. Re:Gotta be... by jellomizer · · Score: 1

      Once you figure out how the heck to get it to work you were golden. Untill you forgot again after months of using linux.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  25. Without a doubt... by Anonymous Coward · · Score: 0

    Solaris 10!

    It is simply the best when it comes to low latency servers with lots of clients.

    I used it with 50000 sockets on a single processor opteron server with absolutely stunning performance.

  26. NetBSD usage examples, hardware & software by hubertf · · Score: 2, Interesting
    Without knowing how to measure the "best" stack, the question doesn't make a lot of sense.

    But maybe the fact that NetBSD twice made the Internet2 land speed record holds for something, handling ~6GBit/s from host to host on a production network. See link to more data.

    There are also a number of products which use the NetBSD stack: Sony PSP (other link), Avocent KVM-over-IP switches, QNX uses NetBSD's IP stack, there are several switches sold by IBM and HP that use NetBSD, many network access points and smaller routers, etc.

    See the BSDrouter homepage for more data.

    Dunno if that makes the stack good, but at least it seems to get used.


    - Hubert

  27. Contiki by lmalmeida · · Score: 1

    With the uIP stack. As long as best is defined as: small with a BSD licence :)

    --
    The other .sig is funny
  28. anonymous cowards by sraak · · Score: 1

    anonymous cowards gives flying fart. or takes. whatever, he's a coward, hiding behind anonymity. it's not 3 million country. you have your "facts" wrong, stupid.

  29. duty cycle by samjam · · Score: 1

    Also consider the duty cycle, if your PC is sending out packets all in one go then maybe some of them get dropped by the router even though the avereage kb/s is without the bounds of your link.

    I came across a project a while ago that sent thernet pause frames in between (which the router should drop) in order to space out the data to avoid overrunning the router buffer.

    I wish I could remember what it was.

    Sam

  30. DragonFly? by Anonymous Coward · · Score: 0

    You know what's strange about this, just about a year ago there was an article on Slashdot titled, "What's New in the FreeBSD Network Stack". Now, the same guy who made that presentation is asking for money to overhaul it. I don't get it. What's more, didn't it turn out that quite a bit of the performance boost they achieved was due to code that Jeffrey Hsu had written for DragonFly BSD. Maybe DragonFly has the best network stack. They're definitely doing a lot of cool stuff.

    1. Re:DragonFly? by Anonymous Coward · · Score: 0

      Agreed. Hsu has done alot of good work! Go Hsu!

  31. DragonFlyBSD version of FreeBSD by Anonymous Coward · · Score: 3, Interesting

    Without a doubt, DragonFlyBSD has the best TCP/IP stack. It already has all the RFC improvements that Andre wants to add. It has a correct working SACK implementation. DragonFlyBSD is a more stable faster version of FreeBSD. Why would anyone want to pay money to do what's already in DragonFlyBSD? I would encourage any FreeBSD user to just upgrade to DragonFlyBSD.

    1. Re:DragonFlyBSD version of FreeBSD by Anonymous Coward · · Score: 0

      DragonFly is still a moving target and who knows if DragonFly will have the *best* TCP/IP stack given that DragonFly is more directed to cluster technology so there TCP/IP stack would need to be more on reliability then performance.

      Anyhow it is DragonFly, not DragonFlyBSD.

  32. Best TCP/IP Stack? by nathanh · · Score: 1

    Cisco. Duh.

    1. Re:Best TCP/IP Stack? by andreyw · · Score: 1

      Clearly, in light of the recent Cisco vulnerabilties...

      [/sarcasm]

  33. Reliable TCP/IP stack? by TTK+Ciar · · Score: 2, Informative

    To me the best network stack is one that can handle many simultaneous open sockets without problems. Performance is of secondary importance after robustness. I understand a stack will at least stall out when it tries to do more than the hardware can support, but it should pick right back up where it left off when sufficient resources are available again.

    I love Linux, and I've standardized on it as my platform of choice, but I have run into some problems with 2.4's network stack when >1000 sockets were simultaneously open and active, problems that don't go away until the system is rebooted. I've devised workarounds, but I'd rather not.

    I still need to stress-test 2.6 .. been putting it off because I don't trust early minor-revision releases, they tend to be buggy. But from what I've read it's about ready for consideration.

    But is there something better? What is the most scalable, reliable TCP/IP stack out there? Is there something that will let me open 10,000 sockets and hammer at them all at once without coming apart like wet tissue paper?

    Since I'm going to be stress-testing 2.6, I'll probably do FreeBSD and Solaris10 at the same time. Does anyone have other contenders to suggest? Not necessarily something that screams like a mofo on one socket or five, but rather something that will never, ever misbehave.

    -- TTK

    1. Re:Reliable TCP/IP stack? by Anonymous Coward · · Score: 0

      www.netbsd.org would be my friendly suggestion.
      I used net and free, find NetBSD more robust and better these days.

    2. Re:Reliable TCP/IP stack? by Anonymous Coward · · Score: 0

      I've never had any problems with 1000+ sockets on linux. Care to explain what problems you're running into?

    3. Re:Reliable TCP/IP stack? by Anonymous Coward · · Score: 0

      Both Solaris 10 and Linux 2.6.10+ can handle 10000 sockets comfortably. I do so on a regular basis on both platforms.

      That said, you should consider using a better API than poll() or select() with such a number of sockets. I prefer epoll() and /dev/poll on Linux and Solaris respectively.

    4. Re:Reliable TCP/IP stack? by TTK+Ciar · · Score: 1

      Thank you. I've been using select(), and will give epoll() a try (which appears to be available only under 2.6.x).

      -- TTK

    5. Re: Reliable TCP/IP stack? by TTK+Ciar · · Score: 1

      The symptoms are weird select() failures (falsely indicating that socket fd's have data available for reading), connect() failures, and spontaneously dropped connections. I have been able to reliably replicate these problems with a program which simply forks off 32 child processes and enters a select()/read()/accept() loop, while each child process opens several SOCK_STREAM connections to the parent and writes data to them as select() indicates the connections are available for writing.

      The perl source is here, if you can stomach the rather disgusting code structure (or lack thereof -- I wrote it as throw-away code, and haven't gotten around to rewriting it). The TCP failures were first seen in a native C program, so it's not a perl issue. I've replicated it under 2.2.16, 2.4.18, 2.4.21, and 2.4.25-1.

      -- TTK

  34. Some actual numbers by Anonymous Coward · · Score: 1, Interesting

    In a talk at NZNOG earlier this year a guy from WAND in New Zealand produced some fascinating numbers comparing the various TCP/IP stacks:

    5% Random Loss

    Goodput(kb/s) OS
    213.98 Linux 2.6.10
    207.42 Linux 2.4.27
    176.20 FreeBSD 5.3
    162.81 FreeBSD 5.2.1
    137.31 Windows XP SP2
    117.98 OpenBSD


    Page 13 of http://www.nznog.org/slides/wand.pdf Page 14 also has a nice graph.

    1. Re:Some actual numbers by setagllib · · Score: 1

      Does he intend to update those and add DragonFly and NetBSD? DragonFly in particular has had a lot of work done which should be very interesting. I'm not sure if it has been micro-optimised like some of the efforts done for FreeBSD and Linux, but on the macro scale it looks good. -PREVIEW should be slipped Real Soon Now and contains numerous improvements over the last slip, some of which may be relevant to the topic.

      --
      Sam ty sig.
  35. Here is my situation. by Inoshiro · · Score: 1

    I live in Saskatoon, Canada.

    For me, it's roughly (monthly):

    Rent: 300$
    Car payment: 0 (I buy cars for 1,000$ in cash transactions).
    Gas during the winter: 180$ (-40C means I drive everywhere)
    Gas during the summer: 50$ (I bike, only driving to get groceries and misc items).
    Car insurance: 50$
    Internet and utils: 150$
    Phone: 50$ (cell phone, no landline)
    Food: 120$

    A bus pass is about 60$/month. The insurance is a fixed, base cost on a car, while the gas is usage based. This means my transportation is 200$/month in winter, or about 100$/month in summer. OTOH, I get to go where I want, when I want, with no nasty people along for the ride. It takes about 1/3rd the time to get there, and the biking helps keep me in shape.

    Saskatoon is only ~300,000 people, though. I can cross the city on bike or car in 30 minutes.

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
    1. Re:Here is my situation. by |<amikaze · · Score: 1

      Yeah, if you play your cards right, Saskatoon living can be really cheap.

      Rent: $325
      Food: $150ish (I usually try to eat well)
      Car/Gas costs: $0
      Internet: $20

      I live across the street from the university. Work there in the summer, study there in the fall, winter and spring. I mooch off my next door neighbour for rides to go get food, since he usually needs to get food too...

  36. same idiot warmed over by epine · · Score: 1

    The fundamental stupidity of this topic is the burried premise that you can go around and change your IP stack like a flavour of ice-cream. FreeBSD has *never* had a bad TCP/IP stack as far back as I know the history.

    The vast majority of what makes a great carbureted engine carries forward for the transition to fuel injection: precision tolerances, metalurgy, balance, lubricant flow, etc. But until the combustion chamber is reworked for fuel injection, it won't impress anyone. In case anyone hasn't figured it out, we're talking about the dying gasp of the lamentable Pentium IV: let's run it at 20,000 rpm with a second radiator behind the trunk, then we won't have to fix anything else.

    Lately, FreeBSD confesses their engine has become a little cluttered with fancy new pollution controls. Along with tweaking the fuel injectors, they are making quick work of cleaning up the superficial clutter at the same time.

    In the decade between 1985 and 1995 one of the great battles in the software development industry was against the instinct of every software team to roll up their sleeves and "write it again".
    This is the same idiot warmed over. No respect for fifteen years of engineering tradition, or instinct for what portion of that tradition carries forward, or the degree of difficulty involved. Would trade his Porsche for a Hyundai if some Porsche design engineer confessed some minor aspect of their technology was a little long in the tooth. But he knows how to press submit on slashdot, so he's all set in the life skills dept. Oh, brave new world that has such people in it.

    1. Re:same idiot warmed over by Anonymous Coward · · Score: 0

      Lately, FreeBSD confesses their engine has become a little cluttered with fancy new pollution controls. Along with tweaking the fuel injectors, they are making quick work of cleaning up the superficial clutter at the same time.

      Err, no. Let's cut the crap, shall we? They're saying FreeBSD doesn't have the best TCP/IP stack.

      No need to waffle bullshit about Pentium 4's running at 20,000rpm, and FreeBSD's fuel injectors. That just lowers the IQ of anyone participating in the thread.

  37. Re:Ooooh! Mystery conclusions! by paultantk · · Score: 1
    The TCP code now needs a general overhaul, streamlining and cleanup to make it easily comprehensible, maintainable and extensible again. In addition there are many little optimizations that can be done during such an operation, propelling FreeBSD back at the top of the best performing TCP/IP stacks again, a position it has held for the longest time in the 90's.
    well, i mentioned the article SUGGESTED it, and the text in bold is how i came up with that conclusion. if the stack is not at the top now and needs to be propelled back, how else would you interpret it?
  38. Re:Ooooh! Mystery conclusions! by paultantk · · Score: 1

    Honestly I was hoping to hear slashdotter's opinions on what is the best currently from different angles. But looks like you guys took it the wrong way.

  39. Maybe some Avocents. by cbreaker · · Score: 1

    All the ones I worked with at my last contract ran Linux.

    --
    - It's not the Macs I hate. It's Digg users. -
  40. On living 'below' the cost of living by MarcQuadra · · Score: 1

    My experience has been that when people make less than the given cost of living in their area, they live a similar lifestyle, but without any type of insurance, are also forced to drive illegally because it's costly to keep a cheap car up to spec.

              When I first moved out of my parent's house, I moved in with two twentysomething women sharing a one-bedroom basement apartment for $500/month, they needed a third person so they could keep their (shared) car running.

              I'm long gone, but one of the girls I was living with got sick (she was a brittle diabetic) and went to the hospital, she came out with a $1200 dollar bill for some diagnostics and $75 worth of insulin, that was a year and a half ago and she's still paying it off.

    That being said, I did manage to live on about $350 one December when hours got really short at my work. It was a very cold, very hungry month.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  41. Car Costs by MarcQuadra · · Score: 1

    I figure that I spend about $125/month on gasoline, and I drive the smallest car I could afford (a Ford Focus).

              Gas costs about $2.40/gallon here now, and I've got an eleven-gallon tank that gets thirsty about once a week, sometimes more.

              It's not the gas that gets you though, at least in my area. I pay $125/mo for the car itself, $125/mo on gas, $80/mo on maintainance (aggregated), and a whopping $240 for insurance. The sad thing is that I pay more than twice what anyone else I've met does for the insurance, and I've NEVER been in an accident, not even a fender-bender. I guess they figure I'm a ticking timebomb since I'm a twenty-three year-old male.

              A friend of mine who has never been able to drive recently had a car given to her. I had to talk her out of registering and using it. I showed her how it would cost her at least $300/mo if she was going to use it legally here in Massachusetts.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
  42. Absolutely no end in sight... by MarcQuadra · · Score: 1

    People continue to move here faster than the homebuilders are building new housing. There's absolutely no end in sight for that trend.

              Funny, because during the great depression people were moving into California quite rapidly too, and it wasn't considered an economic boon.

              I think you'll find that if interest rates go up because foreign investors stop buying dollars, a lot of people aren't going to be able to afford their mortgages anymore. When your neighbors can't afford their mortgages and new ones are being issued at 14%, the selling prices will rapidly depreciate, and the vale of YOUR house is based on the recent sale prices for houses in your neighborhood.

              Beware, there's something really wrong in this country when it comes to home prices. I think it has to do with the ease of borrowing. Banks are bending over backwards trying to lend people money because they KNOW it's a winning proposition and that people are willing to take it.

              In my area, you have to make four times the median household income to buy a house now, and it's getting worse every day. Everyone thinks they'll retire by selling off their homes, but nobody's going to be able to afford them unless the prices normalize.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails