Slashdot Mirror


Unix TCP Equivalent Settings in Windows 2000?

sameerdesai asks: "While working on a project that required client-server functionality I was running into processes that wouldn't finish and eventually hang. While running packet tracing, I found out the tcp_fin_wait_2_timeout setting on the server side (UNIX) was too low for the Windows client, and after increasing that value it worked great. I am trying to apply a similar technique for a Windows server and was wondering what the equivalent registry key is for UNIX's tcp_fin_wait_2_timeout setting? Also, is there a guide out there that compares TCP setting in UNIX with Windows?"

7 of 65 comments (clear)

  1. Danger Wil Robinson... by hoggoth · · Score: 5, Insightful

    I will not deploy any software that requires me to start tweaking obscure registry values that change my server's basic TCP behavior. I'm sure I'm not alone in this.

    I don't know what you are planning to do with this project, ie: sell it to the masses, make it open source, use it in house. Just keep this in mind.

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)
    1. Re:Danger Wil Robinson... by Curtman · · Score: 5, Insightful

      Thats a very unrealistic thing to say. There is no magical configuration that will be optimal in all circumstances. Tweaking your registry to try and get a few extra FPS out of Doom3 is one thing, but administering a large database with many users is something completely different.

  2. The registry key for windows by esac17 · · Score: 5, Informative

    Is HKLM\System\CurrentControlSet\Services\Tcpip\Param eters
    REG_DWORD
    30

    Setting this to anything below 30 decimal will just set it to 30 anyway though.

    http://www.microsoft.com/windows2000/techinfo/re sk it/en-us/default.asp?url=/windows2000/techinfo/res kit/en-us/regentry/58811.asp

    1. Re:The registry key for windows by sporktoast · · Score: 5, Informative

      Looks like you forgot to mention one thing, and the slashed up URL made it slightly more difficult to discover.

      There are about a hundred different entries contained in HKLM\System\CurrentControlSet\Services\Tcpip\Param eters. The REG_DWORD in question is the one labeled "TcpTimedWaitDelay". Accepted values are between 30 and 300 (seconds).

      --
      In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss.
  3. Fishy by ezzzD55J · · Score: 4, Insightful
    This state is the amount of time a TCP implementation will keep a TCP connection open that it has closed itself, i.e., sent a FIN for (it has no more data to send). However, the other TCP is still allowed to send as much data as it likes, until it sends a FIN (once that FIN is ACKked by this side, _then_ the connection is really released - all that remains is the blue/red army problem which isn't the topic now).

    So, what is this application doing relying on a timeout value in this phase? It would be terrible to be dependent on a TCP implementation in an application!

  4. Re:I don't get it by the+last+username · · Score: 5, Funny
    Sure. All you have to do is...

    Convince IT management it's a good idea

    Reduce Windows IT support headcount (make people redundant)

    Hire Linux IT support/developers

    Obtain budget for new hardware (I assume you didn't really mean that all the other apps on that server have to be ported from Visual Basic, so we're actually talking about a new server here)

    Explain increased staff costs and new hardware to senior management

    Explain free, "unsupported" software to senior management (or did you want funding for a Redhat support contract too?)

    Convince senior management it's a good idea

    Then either...

    Install Linux

    Port app to Linux

    Test

    or...

    Update CV (called a resume in French)

    Hit the job websites

    Phew! Well, at least you didn't have to...

    Change a single registry setting on an otherwise working system

    I'm happy running Linux at home (actually I run BSD, but that's besides the point), but I'd need a damn good reason before I'd suggest "just installing Linux" in a Windows-only shop.