Slashdot Mirror


John Carmack on Coding a Linux IP Stack & Winmodem

An anonymous reader pointed us to an interesting article over at Shugashack talking about John Carmack wanting to rewrite the Linux IP stack and write a software Winmodem driver for Linux. He wants to squeeze the latency out of both of these components to try to kick MS into gear to write better stuff on their side. If it turns out true, it could be pretty cool for gamers on both platforms. Don't put any stock in it, its just a rumor, but its interesting.

424 comments

  1. More info? by worth · · Score: 1

    Anyone have any more information on this? Also, does anyone know if the winmodem driver will be opensource?

    1. Re:More info? by Anonymous Coward · · Score: 0

      Evidently it's already open source, because Carmack is able to have a go at it. :) It's just a driver. I don't think you need permission to make a driver for a generic Winmodem. I may be wrong, but that's what I've always thought.

  2. rewrite what stack? the one in 2.2 or in 2.4? by e0n · · Score: 1

    I thought we already get a new stack with the 2.4 kernel? Or is the new IP stack so bad it needs a rewrite even before it's out?

    --
    -- Remove 'ABC' for real email address.
    1. Re:rewrite what stack? the one in 2.2 or in 2.4? by Zurk · · Score: 1

      nope. IMHO, the ip stack has not changed since 2.2..what we have in 2.4 is a replacement for the firewalling code (netfilter instead of ipchains), better NAT (1:1) and a huge change in the disk control code especially the SCSI layer. i dont think the ip stack needs a rewrite except for possibly lower latencies and i'll be impressed if carmack can come up with a stable stack thats faster than the one we currently have. ip stacks are waay different from writing games.

    2. Re:rewrite what stack? the one in 2.2 or in 2.4? by Anonymous Coward · · Score: 1

      The Linux IP stack is the most confusing bunch of spaghetti code around. Every so often some brave soul jumps on kernel traffic and suggests a complete rewrite due to the incomprehensible and total mess of code that is the current stack. It seems like after some big thread about how terrible the code is the individual just goes off for something easier. I'm all for a total rewrite and will help in any way possible. Sounds like fun.

    3. Re:rewrite what stack? the one in 2.2 or in 2.4? by Anonymous Coward · · Score: 1

      > IMHO, the ip stack has not changed since 2.2.

      Wrong, in 2.3 it's been heavily reworked to be multithreaded so it can execute on multiple processors simultaneously on a SMP system.

    4. Re:rewrite what stack? the one in 2.2 or in 2.4? by Anonymous Coward · · Score: 0

      And so are graphics drivers, that doesn't stop John C. from helping out the utah-glx gang :-)

      The man is good. I'd like to see something come of this.

    5. Re:rewrite what stack? the one in 2.2 or in 2.4? by Anonymous Coward · · Score: 0

      And just how many games speaking TCP/IP have you written smarty pants? Wait... how many IP stacks or games have you written at all? Just because you know him as "John the game coder" doesn't mean that is all he has done in the past. Lots of programmers have written many pieces of code, but have choosen different paths in their carreers. Carmack's reasons are obvious, but I'd think he could write a stack. Actually anyone could figure it out, and probably be good at it with enough time vested. Some of you ppl are so quick to judge others.

  3. Linmodems.org by Dungeon+Dweller · · Score: 5

    http://www.linmodems.org/
    ^-- This group has been working on the winmodem drivers for linux for quite a while. There are even plenty of goodies to download.

    --
    Eh...
    1. Re:Linmodems.org by alhaz · · Score: 2

      Yes, and they want to use them for PC Telephony. Nothing on that page gives the impression that they even want to use them as modems.

      And they don't seem to have much in the way of source code, other than a piece that will take a lucent-based winmodem on or off hook.

      They do, however, have the closed-source binary that Lucent wrote to support their pci winmodem under linux.

      --
      This is just like television, only you can see much further.
    2. Re:Linmodems.org by Dungeon+Dweller · · Score: 1

      http://www.stud.enst.fr/~bellard/linmodem.html
      ^-- Modem functionality... Not just PC telephony.

      --
      Eh...
    3. Re:Linmodems.org by AviN · · Score: 1

      Here's a Linux driver for the PCtel PCI modem.

      ftp://ftp.gps.caltech.edu/pub/stone/mdm/pctel.zi p

      There's also an open-source Lucent PCI modem driver at http://www.close.u-net.com (not fully functional yet), and a closed source driver at http://linmodems.org/linux568.zip, but it only seems to work with specific kernels at the current time (this will change eventually, I hope).

  4. Pretty cool for just about everyone by Paolo · · Score: 2

    I'd argue that gamers aren't the only ones interested in having a better TCP stack, but how about sysadmin's and anyone using the net with Linux. This would also have some interesting implications not only with Microsoft, but say, Apple, in that both vendors would be challenged to improve TCP/IP performance in order to keep pace with Linux. I'm sure the job will be easier for Apple with OS X, since it's based on BSD.

    --
    "In individuals, insanity is rare, but in groups, parties, nations, and epochs it is the rule." -Nietzsche
    1. Re:Pretty cool for just about everyone by seaportcasino · · Score: 3

      This would also have some interesting implications not only with Microsoft, but say, Apple, in that both vendors would be challenged to improve TCP/IP performance in order to keep pace with Linux

      I don't quite get this argument that if Linux improves its TCP/IP stack, the Microsofts and Apples of the world will begin shaking, suddenly stop what they are doing to completely rewrite a critical piece of their respective OSs that have been through years of debugging. I mean, Oracle makes a hell of a better database with many more features, but did that stop them from releasing Sql 7.0; this software is basically a buggy piece of shit and after one service pack there is still this fucking lame trusted connection bug that affects every single one of our users every single day AND THEY STILL don't have a fix for it yet!!! So I guess you will be waiting a LONG time for your newly rewritten TCP/IP stack. And it's probably just as well, anyway. That's what makes Linux so alluring, so attractive. Bugs get stomped out right away, and the ones that don't at least you can fix yourself!

    2. Re:Pretty cool for just about everyone by Anonymous Coward · · Score: 0

      I don't quite get this argument that if Linux improves its TCP/IP stack, the Microsofts and Apples of the world will begin shaking, suddenly stop what they are doing to completely rewrite a critical piece of their respective OSs that have been through years of debugging.

      Earth to clueless: uh....hello?

      We are already seeing this with Samba and W2K. Check out the benchmarks for W2K and you will see after getting their teeth kicked-in by Samba, Micro$oft has gone back and hand-optimized SMB, resulting in a nearly 100% performance improvement over NT 4.0. Bad news for Linux, but great news if you a M$ lackey.

      This is conjunction with a strategic FUD ad campaign: brain-damaged ads in InfoWorld that talk about how great NT is for file and print services. It features a lawyers office ("Very important we have accurate and timely printing") and tries to scare IT execs into believing anything else will put their print jobs at risk. OH PLEEZE! Most of us don't have the spare dual-PPro 200/512 required to drive those 3 queues. ;-)

      You can bet your grandmothers underwear (take those off) that they would do the same if Linux's TCP stack started outperforming NT's.

    3. Re:Pretty cool for just about everyone by Anonymous Coward · · Score: 0

      I'd like to see benchmarks showing samba performing better than nt or 9x cifs. I have done extensive benchmarks on 10, 100 and multiple 100mbps networks, and samba has always been slower by at least 15% and averaged about 30% slower than NT server. The machines running samba were linux and IRIX and similarly configured.

      I seriously doubt that your claim is true -- however, if it is, please give me the details, as I would like to be using IRIX and Linux machines as primary CIFS fileservers.

    4. Re:Pretty cool for just about everyone by Anonymous Coward · · Score: 0

      Considering Samba is entirely in userspace, it's no suprise that it's slower than NT's 'native' implementation (like Linux/Unix's 'native' NFS kernal code)

      As someone who uses NT SMB everyday, I'm glad they went back and optimised it. It's ass slow now. Certainly Unix users aren't the only one who has noticed this, the wiser NT folks are well aware, so I doubt Samba is the primary reason they improved the code. Don't forget that Microsoft's primary problem right now is getting the NT4 shops to upgrade to Win2000 -- they can worry about the Unix and Netware boys later.

  5. Re:Carmack Is A Selfish Bastard by cdmoyer · · Score: 1

    What are you talking about? Are you saying that Carmack want's to sell windmodems? Or that he is going to start charging for his Linux Inovations?


    Hmmm... let's look at what he's done, release quality games for Linux, released source code to some excellent games, done some great stuff for openGl. John Carmack is the man!!

    --
    /* CDM */
  6. I Wonder... by mochaone · · Score: 1

    what Alan Cox thinks about John Carmack thinking about rewriting the Linux stack. I thought Alan Cox was the man in that area? I guess he wouldn't mind John's input but the statement in the linked article seems to imply that John thinks the Linux IP stack is flawed.

    --
    Hates people who have stupid little sigs
    1. Re:I Wonder... by jarek · · Score: 1

      Alan certainly has relevant opinions about that part of the kernel but I believe Dave Miller is the one who wrote most of the new NET-4 code.

      /jarek

    2. Re:I Wonder... by mochaone · · Score: 1

      ok, can someone get Dave Miller on the horn to see what he thinks?

      --
      Hates people who have stupid little sigs
    3. Re:I Wonder... by Foogle · · Score: 1
      Um... Given that this is just heresay right now, and possibly not even a serious commitment on Carmack's part, I think that might be hasty. Let JC take care of it if he's interested.

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    4. Re:I Wonder... by Anonymous Coward · · Score: 0

      Hi Foogle, you gay stinking bitch !!!

    5. Re:I Wonder... by Syberghost · · Score: 3

      I guess he wouldn't mind John's input but the statement in the linked article seems to imply that John thinks the Linux IP stack is flawed.

      If you think it's not flawed, you have a serious misconception about Linux.

      If you think Alan Cox would be perturbed by someone wanting to fix it, you have a serious misconception (or, more probably, a series of them) about Alan.

      Now, is it fatally flawed? No, of course not.

      BTW, although Alan did the initial work, there's an awful lot of other people's code in there. I don't hang out on the kernel lists, but I don't believe Alan would have a claim on it as "his code", even if he were inclined to make such a claim.

      It's moot, however, because the GPL makes it our code.

    6. Re:I Wonder... by Anonymous Coward · · Score: 0

      Hi Foogle, you gay stinking bitch !!!

      To be gay is to be happy. Perhaps you mean un-gay.

    7. Re:I Wonder... by mochaone · · Score: 1

      why is it flawed? I know zilch about the stack but just stating that someone has a serious misconception about it for feeling that way, but not stating supporting reasons doesn't make you look knowledgeable. It just makes you look opinionated. And you know what every one says about opinions.

      --
      Hates people who have stupid little sigs
    8. Re:I Wonder... by barzok · · Score: 1

      Until you can prove 100% without a shadow of a doubt that something is perfect, it's flawed to some degree. Just because one person doesn't see the flaw doesn't mean it isn't there. That's one reason why we like our code open - more eyes = more flaws found faster.

    9. Re:I Wonder... by mochaone · · Score: 1

      Until you can prove 100% without a shadow of a doubt that something is perfect, it's flawed to some degree.

      huh? I'm not a mathemetician. I'm just looking for specific areas where it's functionality can be improved. I assume that if someone says a product is flawed they have metrics to support their claim. Your comment doesn't make much sense.


      --
      Hates people who have stupid little sigs
    10. Re:I Wonder... by Duranos · · Score: 1

      Anytime you want to prove your a real man, step up to the plate, bub.

      Until then, let experts who know what they're talking about do so.

      --
      a better sig would normally be here. -blah-
    11. Re:I Wonder... by Anonymous Coward · · Score: 0

      Anytime you want to prove your a real man...Until then, let experts who know what they're talking about do so


      hehehe. i guess your expertise isn't in the english langauge. damn, you silly bastards make it too easy for me !!!

    12. Re:I Wonder... by Anonymous Coward · · Score: 0
      Thanks, e.e., love, but, working off of the fact that your shift key works well enough for you to overpunctuate your final sentence, I'm inclined to think you could spare a few capital letters in your "enligh language" flame.

      Too easy, indeed.

  7. Go Carmack Go... by mr.nobody · · Score: 2

    I applaud Carmack for his work, if he is in fact going to rewrite the IP stack. However, does he, or anyone else for that matter, think this will "pressure Microsoft" to modify their implementation? Hasn't Microsoft operated with this air of "We'l do what we want, when we want?" Why should this change that now?

    --
    mr.nobody
    --Don't you wanna go where nobody knows your name?
    1. Re:Go Carmack Go... by Hrunting · · Score: 3

      Carmack wields a lot of power in the PC world. When he publicly came out saying that id would develop games for the MacOS, Apple's prestige rose significantly. When Carmack said he liked MacOS X, Apple's prestige again rose. One of the major barriers to leaving Windows has been the superior gaming support. Tied in with Carmack's OpenGL coding, he is working hard to make Linux a viable gaming platform. When a programmer as respected and as good as Carmack says that something is flawed and he is going to fix it, people like Microsoft listen. They may not do anything, but they certainly listen. If Microsoft were to lose a chunk of the gaming market to Linux (and many gamers have the technical and 'Net experience to jump ship to Linux pretty easily), they would definitely feel it.

    2. Re:Go Carmack Go... by jhines · · Score: 1

      If Linux becomes the hot gamers platform, it will catch Bill G's eye. 3d gaming is one area that is pushing computings directions.

      At least if nothing else, MS will spin some fud on why latency is not such a bad thing.

    3. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      hahahahaha. all you John Carmack weenies crack me the fuck up. Carmack isn't even the best GAME programmer out there. Just because you know his name you think he's some kind of God? Get fucking real. Carmack has about as much influence on Microsoft as a piece of shit laying on the road.

      Keep dreaming geeks !

    4. Re:Go Carmack Go... by Darchmare · · Score: 1

      This coming from an anonymous coward with poor writing skills?

      You're not that great of a source, either, bub. And this is coming from a person who doesn't even like first person shooters all that much, so don't give me your "John Carmack weenie" crap.

      - Jeff A. Campbell
      - VelociNews (http://www.velocinews.com)

      --

      - Jeff
    5. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      I promise to disparage you John Carmack sycophants more eloquently next time.

      Why not make it interesting and make it a deathmatch?

    6. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      No contest. I'd blow that Darchmare fag away.

    7. Re:Go Carmack Go... by Darchmare · · Score: 2

      *sigh*

      You know, troll, you need to learn to read before you can write.

      As I said, I don't even really care much for most of the software Carmack has written (ie. I don't play first person shooters very much). What I am saying, however, is that there is NOTHING negative coming from this. So what if he receives public recognition? Just about every coder out there would love to be well regarded for what they do. Don't blame Carmack because he has been successful at it.

      You have never said what it is exactly that you have against the man? There are a bunch of other famous coders out there - aren't they the same? Is it their fault they are well known?

      - Jeff A. Campbell
      - VelociNews (http://www.velocinews.com)

      --

      - Jeff
    8. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      No contest. I'd blow that Darchmare fag away.

      Wimp anonymous coward! Not even a man, but just a troll making noise under a bridge.

    9. Re:Go Carmack Go... by Darchmare · · Score: 1

      Ooh, 'fag'. That's cute. 5th grade level insults really show off your intelligence. Not only am I speaking to an idiot, but a homophobe.

      Redneck.

      - Jeff A. Campbell
      - VelociNews (http://www.velocinews.com)

      --

      - Jeff
    10. Re:Go Carmack Go... by IntlHarvester · · Score: 1

      Why stop at Linux? If a third party vendor wanted to implement their own Windows TCP/IP stack, it's certainly possible.

      In fact, several of the old 16-bit Winsock vendors (Trumpet, etc.) did sell stacks for Win95 and NT that claimed some advantage over the Microsoft implementation.

      (I'm ignorant of the actual technical details, but I would imagine that the MS stack is weighed down with various backwards compatibility issues, as well as the NBT stuff.)
      --

      --
      Business. Numbers. Money. People. Computer World.
    11. Re:Go Carmack Go... by Analog · · Score: 5
      It's been some time now, but I read an article a while back written by a guy who was hired by Microsoft for the express purpose of analyzing how much of a threat John Carmack was to them. He worked for them in this capacity for about six months.

      It seems they're very afraid of him for two reasons. One has been touched on several times here already; if he chooses to support some sort of gaming api that they didn't develop (graphics, sound, what have you), it makes it nearly impossible for them to gain a stranglehold on that aspect of the system.

      Their real fear, though, is apparently that his gaming engines are damn near operating systems unto themselves, and should he decide to turn them into a 3d operating environment, he'd eat their lunch with it.

      The report that the guy returned to them basically said it remained to be seen if Carmack was interested in such a thing, but that should he decide to do so he would pretty much own that arena. So I'd say that should he do something with the specific intention of making them pay attention, pay attention they would.

    12. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      get real. I used fag all the way up until the 10 grade. After that I used root-licker.

    13. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      hahahaha. I love how stupid people spread urban legends. Microsoft already hired the true brains from Id, Mike Abrash.

    14. Re:Go Carmack Go... by drix · · Score: 2

      I hope it doesn't. That kind of sloth will drive them straight out of the marketplace, which, hey, would be great.

      --

      --

      I think there is a world market for maybe five personal web logs.
    15. Re:Go Carmack Go... by A.+Lynch · · Score: 1

      get real. I used fag all the way up until the 10 grade. After that I used root-licker.

      Good for you. So you're in what, 11th grade now?

      With all of the amazing coding skills that you must have (to be able to bitch about John Carmack), why don't you spend less time being juvenile and more time doing something productive?

    16. Re:Go Carmack Go... by dyslexia · · Score: 1

      Just ignore the ass.

      --
      --Have a Johsonville brat.
    17. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      don't be jealous because you're irrelevant

    18. Re:Go Carmack Go... by LarsG · · Score: 2

      However, does he, or anyone else for that matter, think this will "pressure Microsoft" to modify their implementation?

      If he had said something like that 2, or even 1, year ago I would have laughed too. We are living on Internet^h^h^h^h^h^h^h^hLinux time, though.

      Why do you think MS got W98SE out the door so soon after the release of W98? They felt the "pressure" of people jumping on the Linux bandwagon to get ipmasquerade. They were in such a hurry to do this that they went out and bought NAT2000 instead of developing it in house.

      3D/online gaming is going to be a big hit on Linux during the next year. Within 6 months, we'll have a fast and stable OpenGL environment and good drivers for most or all consumer 3D accellerators. If Linux can run those games better than Windows (i.e. so much better that it is mentioned in game reviews in game magazines), you can bet your ass that MS will feel pressure.

      MS is going to copy anything that is better in Linux to try to minimize the number of people going to Linux because of missing features in Windows.

      --
      If J.K.R wrote Windows: Puteulanus fenestra mortalis!
    19. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      Since when has quality ultimately mattered in the great WinTel popularity contest?

    20. Re:Go Carmack Go... by Anonymous Coward · · Score: 1

      I'm sorry, but regardless of how good/bad a programmer you may think he is, it's clear that he is the single most INFLUENTIAL game programmer (game PROGRAMMER, not game DESIGNER) on the planet, and one of the most influential programmers, period. What has he done? Other than the obvious influence within the game industry itself, as in the hordes of games trying to become "Quake-killers"--mostly using the licensed Quake engine anyway--and initiating the whole "3D first-person shooter" craze with Wolf3D, Doom and Quake, there are some important things Carmack has influenced: GLQuake in one stroke made OpenGL safe for game developers to use. (consumer 3D chip/card manufacturers scrambled to create high-performance OpenGL drivers--or at least "miniGL" drivers with only the calls used by Quake--just to run GLQuake. Previously they had only supported Direct3D, since it was obvious that with Microsoft's muscle behind it that's what everyone would be using...) Otherwise developers would still be limited to Direct3D and Glide for games, and OpenGL would still be for "pro" use only (as in CAD/3D modelling/animation use on expensive workstations running NT/*nix) Quake 2 continued this trend, and Quake 3 helps complete it by requiring a full OpenGL ICD, not just a miniGL driver. (But by this time quite a few other games are beginning to support OpenGL). Again, developers such as 3dfx were scrambling to complete a high-performance full OpenGL ICD in time for the release of Q3Test (not even the full game!) In the process (fueled by his public comments on the unsuitability of Direct3D), Microsoft was forced to make dramatic changes and improvements to Direct3D. (which they probably would have done anyway, but nowhere near as fast or as well--why would they need to if nobody was using any competing APIs?) In addition, GLQuake probably was the primary factor in the dramatic rise of consumer 3D cards in the first place--I bet as much as 50% of the sales of Voodoo Graphics cards in the first year (the first really great, hugely popular consumer 3D chipset) were due to GLQuake. This success caused other companies to jump wholeheartedly into producing "Voodoo killers" who might otherwise have held back on their 3D support (even other 3D-accelerated games usually had fewer demands than GLQuake and could work ok on slower 3D chips such as Verite or Rage Pro, and the idea of a game being "3D-only" was a foreign one at the time). He was probably the primary influence in getting Apple to adopt OpenGL and dump QuickDraw3D and RAVE. This should also enhance OpenGL on Windows and other platforms, as developers looking to create cross-platform 3D applications will find it advantageous to use OpenGL from the beginning. He has also been instrumental in making gaming safer on Linux, with his strong support for the Quake series on alternative platforms (initially for the purpose of servers). Quake/QuakeWorld pretty much initiated the whole internet gaming craze--sure there have been a few netgames substantially before that, but Quake made it HUGELY popular, and QuakeWorld made it smooth and responsive even over modems. This was due to the robust client-server networking design and the ability of anyone to set up a public server, with the IP addresses indexed on public web pages or master servers. And QuakeWorld used clever client-side prediction to produce smooth, appearantly immediate response even under conditions of high latency. Post QuakeWorld, any game shipping without good, smooth internet support is at a big disadvantage (just as post-Quake, any game without full 3D graphics looked "dated" and post GLQuake/Quake 2, any game without 3D acceleration also looked dated). And the huge rise of such multiplayer gaming led to such organizations as the Professional Gamer's League and Cyberathlete Professional League, who now offer first prizes in competitions of up to $50,000 (following on the heels of organizations such as ClanRing), not to mention substantailly increasing demand for superior connection technologies such as ISDN, cable modem and DSL. There are MANY people who will pay a lot for a fast (low latency as much as high bandwidth) net connection to fuel their gaming habit who woudln't otherwise pay that much just to speed downloads. (online Quake became a sport, and hence competitors would go to great lengths to ensure they had the right equipment in order to compete). I expect Quake had a measurable and perhaps substantial effect on the demand for and growth of high-performance internet access. I'm sure there's more--he's helped Matrox write OpenGL drivers, and has probably had a big influence on companies such as ATI as well. There are many in related industries (3D graphics hardware, sound hardware, networking, etc.) who probably consult with him on how to get their products working well with his games, both current and future--3D chip makers ask him (among others, but his opinions probably count more heavily than most) what features to design into their future chipsets that games will want to make use of in the future. It's not just a matter of the Quake series being incredibly popular, but also that Carmack as a programmer knows so much--everyone I know of who has met him has come away with the impression that he's one of the smartest people they've ever met. I don't know if that story about Microsoft being nervous about Carmack is true or not (first time I've ever heard of it, could be urban legend), but in some ways I wouldn't be surprised. He SHOULD make them nervous, he's someone who can speak up and make people listen, and make his voice heard even over Microsoft's PR, and in fact recently he has been making noises about pursuing 3D over the internet and similar non-gaming technologies, since VRML etc. have been such huge disappointments to date. And if he's not the best game programmer out there, who is? Who else is making a game as good looking as Quake 3, with as good networking, that plays well on such a range of hardware and software with such good performance and stability? Not even Tim Sweeny of Epic is beating him at that game. And who else has done more to push graphics and networking technology forward in gaming over the last 5-10 years by creating games with revolutionary (for a game) technology that everyone else struggles to match or beat? Or in making expandable/modifiable/scriptable game engines? He's also been extremely generous in eventually releasing the source code for his games to the public.

    21. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      I'm ignorant of the actual technical details

      Then shut the fuck up. There is a good reason why there is no alternative winsock (real 32bit stuff, not that crap for Win31). The reason is that it's closed, and it would require disassembling and reverse engineering to implement all those "extentions" given us by God... I mean M$FT. If your stack breaks down existing applications (many build with MSVC that uses above mentioned extentions), then no one is gonna use it, when they use built-in thingy for free.

    22. Re:Go Carmack Go... by IntlHarvester · · Score: 1

      The Trumpet, etc. stuff for Win 95/NT was 32-bit.

      People *would* use an alternative stack if it improved gaming performance. They would even, gasp, reboot to switch back to the MS stack so that everything worked.
      --

      --
      Business. Numbers. Money. People. Computer World.
    23. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      Surely all these extensions are implemented through the API documented in the MSDN, and therefore no disassembly/reverse engineering is required?

    24. Re:Go Carmack Go... by Anonymous Coward · · Score: 0

      What brand of root-licker do YOU use? Mine got all worn out and I'm shopping now...

  8. You are a Selfish Bastard by dynamo · · Score: 1

    Nevermind that the intent of writing winmodem drivers for linux is to UN-stifle the poor people who are stuck with a winmodem they can't get to work under a decent, law abiding operating system? I mean, c'mon, how many of us DON'T know someone who got bitten by the "it's a modem for only $30 at Frys" bug???

  9. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    Carmack would be able to write linux software modem applications if the modem vendors released specs. He should apply pressure to them. But that requires too much work, I guess. Takes time away from him riding around town in his fancy, little cars.

  10. That qaulifies as a story? by Anonymous Coward · · Score: 0

    Bare rumor? not much of a story.

  11. linmodems by Russ+Nelson · · Score: 1

    http://linmodems.org is the place to go for Linux winmodem support.
    -russ

    --
    Don't piss off The Angry Economist
    1. Re:linmodems by Anonymous Coward · · Score: 0

      That link is linmodems.org. They seem to have given up on data connections using the things, instead relegating them to digital telephones.

  12. Do we want to allow other OS's to use winmodems? by Little+Brother · · Score: 2

    OK, so I admit that one of the most common complaints that new Linux users have is that they can't get their winmodem to work in Linux. Most of them go out and buy real modems and are then happy. Allowing them to use winmodems in linux however will keep them from ever buying a full modem and seeing that it is remarkably better. Also people will no longer make sure the new system they are getting does NOT have a winmodem. This has one major disadvantage, the companies that make the winmodems will get more and more buisness. Thus the already difficult task of finding a modem that isn't a winmodem will become significanlty MORE difficult. (See your high school economics textbook)

    On another note: has anyone figured out how to make an external winmodem yet?

    --

    Little Brother, watching the watchers

  13. Your Mother's a Selfish Bastard by Anonymous Coward · · Score: 0

    Winmodems are evil. So is Carmack. They should both be rendered obsolete.

    1. Re:Your Mother's a Selfish Bastard by Anonymous Coward · · Score: 0

      Winmodems are evil. So is Carmack.

      Perhaps you would like to use that logic during a deathmatch with the God of Quake himself. You'd be flying pieces of smoldering ash.

    2. Re:Your Mother's a Selfish Bastard by Anonymous Coward · · Score: 0

      he's a coder. i dont think he can play for shit anyway.

    3. Re:Your Mother's a Selfish Bastard by Anonymous Coward · · Score: 0

      QIII sucks. UT blows it out the water. Carmack is yesterday's news.

    4. Re:Your Mother's a Selfish Bastard by Anonymous Coward · · Score: 0

      he's a coder. i dont think he can play for shit anyway.

      Don't go to sleep tonight. Your worst dreams will come true in deathmatch hell with the coder who made the rules. Your final moments will be spent bowing before the God of Quake on your severed knees.

    5. Re:Your Mother's a Selfish Bastard by KRW · · Score: 1

      Even if YOU think UT is better, keep in mind that Quake has been the series of games that all other games strive to beat. Without Carmack, UT wouldn't be have the game it is today. IMO both UT and Q3 rock, it doesn't matter which one is better ...

    6. Re:Your Mother's a Selfish Bastard by Rational · · Score: 1

      Oh, that explains it. We have an Epic Games sock-puppet in Slashdot.

      UT is a load of derivative, me-too bollocks. Maybe some day Epic will do something original, but that will have to be after Carmack retires.

      --
      "Be nice, veer left, and never stop thinking" Iain Banks - Walking On Glass
    7. Re:Your Mother's a Selfish Bastard by Relforn · · Score: 1

      Your worst dreams will come true in deathmatch hell with the coder who made the rules.

      Ah, you're talking about the hacked 'open source' Quake binaries that are destroying what remains of Quake I net play. Yes, coders do "make all the rules" up there as they go along, don't they?

    8. Re:Your Mother's a Selfish Bastard by Anonymous Coward · · Score: 0

      Not even close. UT does have its advantages, but not in areas touched by John Carmack. Yes, UT has a wider variety of weapons uses, and a wider variety of gameplay tyeps, and a wider variety of map designs. but those are all gameplay design decisions, not engine coding. UT does have better bots--but that was the one area that JC did not work on directly himself. He considered it his biggest mistake in making Q3 that he ceded control of that code to one of his assistants, and it was the primary reason Q3 just shipped last month instead of 6 months ago. Overall, the Q3 engine is clearly superior. Better graphics, better networking, better performance, etc.

  14. Interesting... by Phyrkrakr · · Score: 1

    So, if I'm reading the story right, this means that one person is going to rewrite the IP stack for support for Winmodem drivers. Linux needs more driver support, so I think this is a step in the right direction, but perhaps this should wait for the new version? It's kind of bad for someone to spend the effort on doing this and then have it be obsolete in a matter of weeks.
    Phyrkrakr
    "God doesn't play dice"-Einstein

    --
    Psychic spies from China try to steal your mind's elation.
    1. Re:Interesting... by bmetzler · · Score: 2
      Linux needs more driver support, so I think this is a step in the right direction, but perhaps this should wait for the new version? It's kind of bad for someone to spend the effort on doing this and then have it be obsolete in a matter of weeks.

      Well, I kind of assume that if this is more then a rumor, it'd be something that was developed during 2.5, not something whipped out for a frozen 2.3 and then not integrated.

      -Brent
    2. Re:Interesting... by Charlatan · · Score: 1

      So, if I'm reading the story right, this means that one person is going to rewrite the IP stack for support for
      Winmodem drivers. Linux needs more driver support, so I think this is a step in the right direction, but perhaps this
      should wait for the new version? It's kind of bad for someone to spend the effort on doing this and then have it be
      obsolete in a matter of weeks.



      Not really - I think that there are 2 different stories here. The first being about a potential rewrite of the Linux IP Stack, and the second being about possible support for WinModems.

      The IP Stack isn't even remotely related to WinModem support.

  15. Hoooooold on - by Blue+Lang · · Score: 1

    We can stop this entire thread right now. By saying that JC wants to rewrite the Linux "IP Stack" they're implying that someone as network knowledgable as he is would infer that latency is an artifact of it.

    Bzzzzzzt.

    Latency is caused by a ton of factors - and the IP stack, unless you're talking about running thousands of clients on a single, multi-processor machine, aint really one of them.

    Chalk it up to the rumor mill.

    --
    Blue

    --
    i browse at -1 because they're funnier than you are.
  16. Carmack by crayz · · Score: 1

    You know, Carmack has posted on Slashdot before:

    http://slashdot.org/users.pl?op=userinfo&nick=Jo hn+Carmack

    maybe he'd like to comment?

    1. Re:Carmack by artemis67 · · Score: 1

      I believe he's on his honeymoon. That was the reason he didn't go to MacWorld this past week.

  17. MS/BS by Little+Brother · · Score: 1

    Paolo Wrote:

    both vendors would be challenged to improve TCP/IP Performance in order to keep pace with Linux

    Ok, you might be right about Apple, but I doubt Microsoft would try to improve their tcp/ip stack. Microsoft would instead realease anther FUD saying that it (Microsoft) has a better overall performance or even better stack for some obscure reason other than standard benchmarks or tests.

    Those who don't study history will repeat its errors.

    Those who don't will find new ways to error.

    -author unknown

    --

    Little Brother, watching the watchers

    1. Re:MS/BS by bmetzler · · Score: 2
      I doubt Microsoft would try to improve their tcp/ip stack. Microsoft would instead realease anther FUD saying that it (Microsoft) has a better overall performance or even better stack for some obscure reason other than standard benchmarks or tests.

      Redmond, WA - Today, in reponse to Linux' high performance TCP/IP stack, a Microsoft spokesperson announced that they would not be changing their software. "Suckers^H^H^H^H^H^H^HConsumers are not interested in a fast TCP/IP stack. As our tradition is, we listened to the consumer and are going to provide the ability to display 92 billion shades of green. Suckers^H^H^H^H^H^H^HConsumers like colors, and we feel that this continues to provide the value in our products that suckers^H^H^H^H^H^H^Hconsumers have come to know and expect. Bill Gates had the follow to say at the press release. "I choose 92 billion because that's my personal net worth. Oh, and green because that's the color of money, and I like money."

      -Brent
  18. Re:Carmack Is A Selfish Bastard by Krusty+Da+Klown · · Score: 1

    I can't believe this message is anything but a troll. Are there really people out there who would criticize someone for doing what they want to do? Especially someone who has contributed so much to enjoyment in their lives?

    If you've never played any of his games of never benefitted from any of his work, then why would you even care what he does?

    If you have benefitted from his many years of work, then get over yourself and let the guy do whatever he wants to do. He's earned it!

    John's just a man, but it amazes me how many people demand that he keep slaving away at making more games for them, like he's some sort of indentured servant or something.

    Of course I know I've just wasted my time talking to someone who probably hasn't done a thing for anyone but himself. :)

  19. Won�t help, "PowerPlay" looks more promising by FutileRedemption · · Score: 1

    The IP stack of Linux and Windows98 already are pretty good latency wise. More tweaking or even rewriting most likely wont give any significant advantage.

    Tweaking a winmodem driver however might result to some reasonable gain (connect with sub-max but reliable speed, switch off compression, tweak modem protocol). But this doesnt change anything on the ISPs side. And doesnt help anyone with an external modem. Or ISDN/ADSL/Cable.

    Valves PowerPlay looks much more promising: router-priorization of game packets (less ping, less packet loss), UDP header compression, bandwidth guarantees, later a special modem real-time protocol. And some more stuff like multicast for voice etc.

  20. Linmodem is a waste of time by the+eric+conspiracy · · Score: 1


    I really dislike software modems. If you want to decrease latency attributable to modems, the way to do it is optimize the modem firmware ala USR.

  21. The reason by pnevares · · Score: 5

    The /. post doesn't begin to explain what this is about, so here you go:

    From a Gamespot write-up on PowerPlay:
    PowerPlay, a set of standards and protocols that will apply to both game developers and Internet service providers (ISPs). By working on both sides of the problem, PowerPlay promises to bring LAN-like gameplay to a modem near you. If you think that sounds like something that is well beyond the range of a single company, you are right--and that's why Newell got Cisco Systems involved.

    Newell is Gabe Newell of Valve, makers of Half-Life. The reason Carmack's doing this is to contibute to the PowerPlay project.

    John...wants to take a stab at rewriting the Linux IP stack and a soft modem driver to see how much latency he can remove, and use that to pressure Microsoft into cleaning up the Windows stack. That would be really useful data to have.

    And here's the official PowerPlay website.


    Pablo Nevares, "the freshmaker".

    --

    Pablo Nevares, "the freshmaker".
  22. Re:Carmack Is A Selfish Bastard by dynamo · · Score: 0

    Do you really think that Jon-Motherfucking-Carmack is underhandedly trying to increase his fame and popularity by writing some _winmodem_drivers_ for linux? What is he going to be remembered for, in the end? Not some drivers. It is idiotic of you to think he could be doing this for any type of personal gain. I bet he can even afford to by a real hardware modem, and doesn't even need these drivers to use the internet (well, I think he has a T-1, so it's not such a problem for him), so it'a gotta be purely altruistic.


    Why don't you find a bridge to hide under and assault thoue who try to cross.

  23. Anti-trust by RuntimeError · · Score: 0
    What we need is an anti-trust law suit against Microsoft for this Winmodem scam.

    It is quite clear that Winmodems stiffles the competition in the OS market. People are going to be forced to by MS Windows [TM, Crashus Everytimus] just to use their modem. This is far more dangerous than releasing I.E., free with Win9x to kill Netscape.

    Even performance-wise, Winmodems suck as much as windows, because the CPU and the operating system endup doing work the Modem can do itself. Therefore, the customer is not getting the best deal possible. So I believe customer protection groups have a case here.

    And as Winmodems degrade the performance of the machine in question, Microsoft [TM, Killcompetitus Maximus] can not, in any sane way, claim that Winmodems are an advancement in technology. It is just another diabolical project by Microsoft Dirty-tricks Department [TM], to make sure that humanity shall forever be doomed by a substandard operating system.

    Windows 95: n. 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.

    1. Re:Anti-trust by Kyobu · · Score: 1

      I hate MS as much as everyone else, but one thing you say is, no offense, retarded. No one's gonna go out and buy a $90-$200 OS just so they can use a WinModem which they could replace with a real modem for $50. Pretty much anyone who would buy a Winmodem is also the kind of person who would buy an already-assembled, Windows-installed computer. If they later become interested in running a real OS, then they'll benefit from Linmodem support.

      --
      Switch the . and the @ to email me.
    2. Re:Anti-trust by thopkins · · Score: 1

      Winmodems are made by companies like 3com and Diamond. Windows is made by Microsoft. How would MS have anything to do with whether or not a modem has drivers for linux? If you want to file a law suit for this it'd be against the modem companies, not Microsoft.

    3. Re:Anti-trust by RuntimeError · · Score: 1
      Winmodems only work with windows. Why ? Instead of the Manufacturers manufacturing modems according their own specification, MS gives the manufacturers a specification, and makes them churn-out a modem that fits the given specification. Then Microsoft [tm] hides the specification, so that nobody else can write drivers for it. They also make the manufacturer sign an agreement prohibiting them ( the manufacturer ) from releasing the specification.

      The modem companies therefore, cannot release drivers for Linux. Winmodems are manufactured on the initiative of Microsoft [tm], and not on the initiative of the modem companies.

    4. Re:Anti-trust by IntlHarvester · · Score: 2

      Microsoft has nothing to do with Winmodem "specifications". Perhaps you can argue that a communication API like TAPI makes winmodems possible, but I highly doubt that was Microsoft's original intent.

      Face it -- the average PC buyer wants spend $800 and get a complete package including monitor, printer, modem, *and* a respectable Megahertz number. Because they can't include last year's CPU, the OEMs pretty much have to cut corners everywhere else. So they save $5 and package a winmodem -- no big conspiricy.

      Since many Winmodems don't even work in Windows NT (or 2000?), I'm sure Microsoft isn't that happy about the situation either. It deprives them of some upgrade revenue. On the other hand, if you have the secret Bill Gates memo ordering Dell to ship winmodems to stop the evil 1% market share of Linux and OS/2 users, you'd better put up or shut up.
      --

      --
      Business. Numbers. Money. People. Computer World.
    5. Re:Anti-trust by Anonymous Coward · · Score: 0

      your naivete saddens me. It will be your ultimate downfall, I imagine. oh well, stupid fucks like you deserve what you get.

    6. Re:Anti-trust by Anonymous Coward · · Score: 0

      The only catch with this assertion is how truely misleading that MHZ figure is. You can still 'conform' to this years numbers while still skimping on the CPU. Meanwhile, you get simpler (relative to the OS) more predictable hardware that doesn't have to worry about the single biggest point of failure with PC's these days: the software.

    7. Re:Anti-trust by IntlHarvester · · Score: 1

      Why will it be my downfall? I don't buy any of this crap, and the people that do generally don't ask me for my opinion.
      --

      --
      Business. Numbers. Money. People. Computer World.
    8. Re:Anti-trust by IntlHarvester · · Score: 1

      OK - this is less sarcastic: My post was an attempt to explain the situation, not justify it.

      WinModems are a product of Microsoft's monopoly, not a cause. Or, consider them a "network effect", where the lack of OS competition allows vendors to cut corners and design/package only for one or more of Microsoft's OSes.

      Back to the original post I was replying to -- there is no secret Microsoft winmodem specification. In fact, each different kind of "winmodem" is actually incompatible with each other. Most of these have had no specs released at all, or the Linux community would have written drivers. What Windows does have is the TAPI layer (sometimes called Unimodem), which presents a uniform interface to applications for different kinds of communication interfaces (regular modems, parallel port modems, ISDN TAs, winmodems, etc.). This solves the Windows 3.1 problem where each comm application supplied it's own driver, which was a support nightmare.

      Many of the winmodems do not have Windows NT/2000 drivers yet, which is going to slow Win2000 adoption as much as it slows Linux adoption. Hope that pops the conspiricy bubble around here.

      (Note, "WinModem" is actually a 3Com brand name - I'm talking about them in the generic sense.)
      --

      --
      Business. Numbers. Money. People. Computer World.
  24. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    John Carmack has done nothing for anyone but himself. If he were interested in others he would think before speaking and putting his geeky foot in his mouth. I piss on John.

  25. Latency Reduction by __aaedhn419 · · Score: 3

    [disclaimer: I may have no idea what I'm talking about]
    I believe part of Carmack's goal in rewriting the stack and working with softmodems is to specifically allow game optimizations. (duh)

    One limiting factor in Quake's internet performance is the lag time created by poor modem implementations. Many modems are excessively stringent about enforcing buffering, with the effect that my ultimate last ditch blaster shot is delayed because the 'modem' wanted to fill its buffer.

    In theory, rewriting the stack and modem support while stress testing it with a busy quake connection will allow inefficiencies to be eliminated.

    I doubt that there is anything 'wrong' with current linux implementations - they are just naturally focused on http/ftp designs.

    Zephyr
    Alfredo

    1. Re:Latency Reduction by SurfsUp · · Score: 3

      One limiting factor in Quake's internet performance is the lag time created by poor modem implementations. Many modems are excessively stringent about enforcing buffering, with the effect that my ultimate last ditch blaster shot is delayed because the 'modem' wanted to fill its buffer.

      Yes, of course. I didn't realize right away why Carmack would want to rewrite the softmodem code - essentially he'd want to write his own modem and optimize it for latency. Knowing his style, I'd say chances are he'd optimize for throughput, reliability and low cpu overhead as well. That done, it would be a trivial step to take the linmodem code and package it as a real modem, thus standing the the modem industry on its ear.

      There's another part of the chain that needs to be rewritten and that's the Linux scheduler. In order to produce an excellent linmodem implementation with minimum latency you'd have to have garaunteed realtime response in the kernel. It's not so hard to do (thought doing it extremely well requires the usual talents) and it's my understanding it's being looked at by a number of people - Andrea Arkangelli's name comes to mind.

      --
      Life's a bitch but somebody's gotta do it.
  26. Re:Do we want to allow other OS's to use winmodems by MaximumBob · · Score: 2
    You seem to have forgotten the chief advantage of a winmodem. They're cheap. The average user is concerned more with cost than with the difference in performance between a Winmodem and a regular modem. The performance hit for a winmodem is there, of course, but it's not incredibly noticeable to Joe Six-Pack.

    If the Linux community ever wants to see Linux catch on for the general public, Linux will have to address the needs of the general public. One of those needs is that we'd like our winmodems to work under it. If the Linux community banded together and decided that they didn't want winmodems supported, it could only hurt the OS's chances of winning over "average" users.

    If you're to have Linux as the OS of the elite, that's one thing. But if you're looking to see Linux catch on, this is a step that I think needs to be taken.

  27. Interesting Microsoft patent in this area... by victim · · Score: 1
    Patent 6,003,108 is this little gem the was obvious to anyone that ever wrote a network device driver...

    A method and system for interrupt-responsive execution of a communications protocol which obtains data sent by a sending computer a receiving computer via a communications interface. An interrupt handler routine is provided which includes the communications protocol. When data requested by an application executing on the receiving computer is received by the communications interface, an interrupt is sent by the communications interface to the CPU in the receiving computer. When this interrupt is received, the interrupt handler routine is immediately accessed and executed to timely execute the communications protocol. As a result, the communications protocol obtains the data from the communications interface before it can be overwritten by new data sent by the sending computer. The application program can then be executed at a later time to read the data obtained.

    I haven't spent the hours required to understand all the details, but it sounds like every network stack I've ever worked with. It has a bunch of extraneous implementation details thrown into the claims to make exact matches of prior art unlikely, but that's probably just to drive up the cost of litigation.

    I say "go on you silly patenters". It will take a large mass of ludicrous examples to motivate enough voters to overcome the industry lobbyists.








    1. Re:Interesting Microsoft patent in this area... by quasimoto · · Score: 1

      Darn, I could have patented my perfect serial file transfer program for CP/M with BIOS support; then sued everyone who transfers a file using an IRQ based handler. That would be 197x or 198x, it is just so long ago, cough, wheeze. -d

    2. Re:Interesting Microsoft patent in this area... by profesor · · Score: 1

      Actually, the description sounds different, but hardly revolutionary. What they are saying is to run the stack in the IRQ handler; most stacks I've worked with just pull the packet out in the IRQ handler, and all the packet processing is done outside of the context of the interrupt handler.

    3. Re:Interesting Microsoft patent in this area... by Anonymous Coward · · Score: 0

      This would utterly destroy process scheduling latency. The only place it makes sense to do the stack in the bottom half is small embedded systems running tiny little custom OSes. Putting this in a general purpose OS like linux, BSD or windows would be unimaginably brain-damaged.

  28. Re:Do we want to allow other OS's to use winmodems by dattaway · · Score: 2

    A winmodem is like a video card without the accelerator.

    An external winmodem? The closest thing I have seen is from the Sound-HOWTO about using the sound card to impliment 9600 bps FSK methods. This method is more useful for hams, but I'd imagine you could use a modemless laptop coupled to a payphone handset in a jiffy.

  29. Re:Do we want to allow other OS's to use winmodems by Hrunting · · Score: 2

    But what makes a WinModem bad? Is it the modem itself or is it the code that handles it? I tend to think that it's more of the code than the actual parts themselves. There are definitely benefits to owning a real modem, but if the code is significantly improved, who says a WinModem can't work as well as a real modem?

    And I never have a problem finding a real modem now. What problems are you having finding a real modem? Almost any computer parts dealer, online or not, carries regular modems in plenty of stock.

  30. John Carmack by HaKn5La5H · · Score: 1

    Well, if anyone can "squeeze the latency out of both of these components" it would be Carmack. We still do need a multitasking IP stack, right?

    1. Re:John Carmack by Anonymous Coward · · Score: 0

      You know what, why don't we have John Carmack code every piece of sotware that we'll ever need, since he's obviously the best programmer ever.

      You people need to stop riding his jock.

    2. Re:John Carmack by Anonymous Coward · · Score: 0

      > We still do need a multitasking IP stack, right?

      The TCP/IP stack in Linux 2.3 is multithreaded and will happily run across multiple CPUs.

      What isn't multithreaded yet are the network _drivers_. At present, only 1 network card can be active simultaneously. This is being fixed, see:

      ftp://ftp.crc.ca/mirrors/by-site/amber.inr.ac.ru /IProute/README.softnet

    3. Re:John Carmack by HaKn5La5H · · Score: 1

      Yeah.... I was just trying to say that Carmack is known for optimizing past hell and that's what we want done to the stack, nothing more.

  31. Re:Do we want to allow other OS's to use winmodems by BigDaddyJ · · Score: 4
    OK, so I admit that one of the most common complaints that new Linux users have is that they can't get their winmodem to work in Linux. Most of them go out and buy real modems and are then happy. Allowing them to use winmodems in linux however will keep them from ever buying a full modem and seeing that it is remarkably better.
    But for simple e-mail and some minimal web browsing the performance isn't substantially different to make this a big point.
    Also people will no longer make sure the new system they are getting does NOT have a winmodem. This has one major disadvantage, the companies that make the winmodems will get more and more buisness. Thus the already difficult task of finding a modem that isn't a winmodem will become significanlty MORE difficult.
    Well, what *is* a winmodem? It's a software-based modem. There's nothing wrong with that in theory; the problem is that the modem manufacturers haven't released the specs or the source code on how to drive these modems, and only release Windows drivers. Many of them use Lucent's or Rockwell's chipsets -- if we could convince THEM that it is well worth it to open their specifications (What are they gonna lose? Some STATE-OF-THE-ART technology? Oh, the horror!) then software modems could be justifiable for everyone, because they really do lower the cost a few bucks (yeah, yeah, not that it makes a big difference, but in today's cut-throat world they all try to cut).

    Of course *real* modems have their advantages, especially for people who want the least CPU utilization and lowest ping times, especially gamers or for dial-in servers. But there isn't anything inherently evil about software-based modems that require us to stamp them from the earth. Remember the big trend a couple years ago towards multipurpose DSP's that could drive your modem and your sound card (for instance, MWave)? They're great ideas... IF the companies that designed and built them allowed others to tap into the power and support other platforms.

    --bdj

  32. You can't remove most of the latency in modems by Anonymous Coward · · Score: 1

    Nearly all of the latency present in modems (be they winmodems or high performance dsp based modems) is inherent in the signal processing and reliable link protocols. I'm finding this rumour of dubious value at best.

  33. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    software can never outperform pure hardware implementation. software modems just allow new ways to handle applications.

  34. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    Carmack is in this to enhance his name. nothing more, nothing less.

  35. A bit more than heresay by Hrunting · · Score: 4

    Usually, when John Carmack says that he's going to do something, he sets about doing it, and he already has plenty of experience with network optimization coding (e.g. Quakeworld). I would give this a bit more credit than a 'rumor'.

    Blue's News went into a bit more detail about why this quote means what it means. Yesterday, Cisco, Valve, and others mentioned a new concept called PowerPlay which is something that will involve ISPs, equipment, and software code. Epic is already coding PowerPlay information into the Unreal Tournament engine so that they and others will be able to take advantage of it. Basically, PowerPlay is a ISP-side enhancement to improve the quality of dial-up gameplay.

    The reason Carmack is quoted here is because id wasn't on the list of companies officially supporting PowerPlay. As you can well guess, this raised many eyebrows in the gaming world, and the reason is simply that Carmack didn't want to be involved with the implementation of it. No doubt, id will put code in their upcoming products, but Carmack himself doesn't want to do work. Why? Other projects.

    Also, Gabe Newell is pretty well respected in the gaming community, so these words probably aren't meant to give rise to any rumor mills. They're probably the truth.

    So as a 'rumor', it's a very well-founded one. Carmack is familiar with Linux program, so I'm sure the concerns about Carmack possibly interfering with the work of others will turn out to be baseless. It'll all work itself, and if we get any code out of Carmack, it's bound to be very good code.

    1. Re:A bit more than heresay by Anonymous Coward · · Score: 0

      You know what's funny? I bet that some John Carmack weenie moderated you down so that John Carmack's post shows up first. The moderator who did that is a cocksucker supreme.

  36. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    John Carmack has done nothing for anyone but himself.

    John would be more generous if he'd kick your ass.

  37. Re:Do we want to allow other OS's to use winmodems by Tim+Behrendsen · · Score: 1

    I have to admit I bought a WinModem for my in-laws over Christmas (a replacement for a "real" modem) as an experiment since performance is foremost in her mind. It actually works surprisingly well. I haven't noticed any real performance problems, although browsing tends to be modem limited rather than CPU limited (well, if your using IE it is. If your using Netscape, the latest Cray isn't enough.)


    ---

  38. Good Job, Taco! [OT] by Dast · · Score: 1

    "Don't put any stock in it, its just a rumor, but its interesting."

    Glad to see you are taking some editorial responsibility. When rumors are posted, they should be marked as such. I can remember a several times when /. posted a rumor story as fact and other sites grabbed the headline as being true.

    Maybe stories should have a rumor flag on them, so that anyone who wants only serious news can filter? Just a thought.

    --

    This sig is false.

  39. Re:Do we want to allow other OS's to use winmodems by Tim+Behrendsen · · Score: 1

    oops... I should have said "not foremost in her mind".


    ---

  40. Re:Do we want to allow other OS's to use winmodems by ion++ · · Score: 1

    just how many years to come do you think people will be using modems ?? I think that broadband services will grow faster and faster, because the more broadband owners there are, the more services, like movies on demand will there be, and that will create more people wanting broadband. Also, people not living in houses, but dorms, appartments in cities... will team up and buy a big internet line together. ion++

  41. The IP stack? by Tim+Behrendsen · · Score: 2

    I find it curious why he would want to tweak the IP stack. I'm sure you might be able to squeeze a bit more efficiency out of it, but I can't imagine shaving off more than a 0.5ms (much less?) versus the 100-150ms the modem introduces.


    ---

  42. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    hardware modems are cheap as hell. whom do you think you're kidding? winmodems have always been about Microsoft roping in hardware vendors to support the windows platform to the exclusion of other platforms. You can continue to take it up the ass from Microsoft, but I won't be joining you.

  43. Re:Carmack Is A Selfish Bastard by Darchmare · · Score: 2

    Sounds like jealousy to me.

    1. Nobody is forcing anyone to purchase Quake or any other game.
    2. His changes would be _free_.
    3. I assume his changes would help others, not just Quake customers, right.
    4. So what if a person enjoys nice cars? I know I do. More power to him.
    5. Don't be an asshole. He's pry brought more enjoyment to people than you ever will.


    - Jeff A. Campbell
    - VelociNews (http://www.velocinews.com)

    --

    - Jeff
  44. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    Carmack is in this to enhance his name. nothing more, nothing less.

    You mean that just because he has written some legendary software he is no longer entitled to an opinion? Many people here have become famous from their works, should that make them any less important than the rest of us? Carmack has a reputation for getting things done and making a statement with his works.

    Back under your bridge troll before you get fragged.

  45. What IS powerplay? by Anonymous Coward · · Score: 0
    .. a set of standards and protocols ..


    Can you get more specific than that? Are these application layer protocols or will they replace something more fundamental?

    1. Re:What IS powerplay? by pnevares · · Score: 1

      It looks like something that's coded into the games, and the ISPs route that traffic differently, which is why a dedicated dial-up service for PowerPlay 1.0 is set to be introduced in a couple of months.

      Carmack isn't working specifically on the PowerPlay standard, but it'll obviously be in the games he codes in the future.


      Pablo Nevares, "the freshmaker".

      --

      Pablo Nevares, "the freshmaker".
  46. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    John can't fight. he's a geek.

  47. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    ------
    5. Don't be an asshole. He's pry brought more enjoyment to people than you ever will.
    ----

    You've been talking to his girlfriend huh?

  48. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    You can continue sucking his dick if you want to, I don't engage in that behavior. John Carmack doesn't impress me. He codes fucking games for Christ's sake. In the great scheme of things, that ranks right above winning a farting contest.

  49. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    John can't fight. he's a geek.

    You have no room to stand. Your anonymous.

  50. TCP is too slow... by Haven · · Score: 2

    For LAN games TCP/IP is way too slow. I use UDP myself, it has very low overhead, and I use only good hardware so there is little collision if any.

  51. modem? hmm. by _GNU_ · · Score: 1

    Why bother with old technlogy, you won't go many ms under 100 whatever you do.
    why not focus on getting broadband to the public instead, I got my switched ethernet connection a couple of months ago, and I havent seen >5ms since.

    1. Re:modem? hmm. by Anonymous Coward · · Score: 0

      Are we supposed to pull these connections from our rear end? Other things are simply not availably in my idea.

  52. Exactly... try the serial, TTY and PPP drivers by Rob+Riggs · · Score: 2

    The serial driver (more specifically, the PPP line discipline code) ia a bigger bottleneck than the IP code ever will be. There is plenty of work that can be done in this area. The biggest gain will be in flushing the completed frame as soon as it is available, rather than processing the entire TTY buffer, or even the entire UART buffer, for that matter.

    However, you really don't want to have the PPP code in the serial interrupt handler, which is where it would have to live if one were watching each byte as it comes from the UART.

    --
    the growth in cynicism and rebellion has not been without cause
  53. Re:Carmack Is A Selfish Bastard by Darchmare · · Score: 2

    And this is different than who? Linus? RMS?

    Any other coder would be very happy to have any form of recognition (this is not a 'bad thing'). Just because someone has attained it means nothing, other than a combination of luck and skill. What's wrong with that? In the end, he ends up with a little publicity, and Linux ends up with some useful code - for free.

    I'm amazed you know Carmack so well. How are you so damned certain what he wants and doesn't want? It seems to me that this is a Good Thing for all involved.

    - Jeff A. Campbell
    - VelociNews (http://www.velocinews.com)

    --

    - Jeff
  54. Competition by Skyshadow · · Score: 2
    I dunno, I think that MS has invested quite a bit of time and energy into trying to prove that their gear is better than Linux's.

    Besides, the whole idea of Linux pressuring MS to improve ought to bring a smile to the face of every consumer on earth -- this is that whole "competition" thing we've been missing throughout most of the 1990's.

    ----

    --
    Every year during my review, I just pray the words "slashdot.org" aren't mentioned.
  55. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    For LAN games TCP/IP is way too slow. I use UDP myself

    UDP is a form of TCP/IP packet.

  56. Re:Carmack Is A Selfish Bastard by Darchmare · · Score: 2

    ---
    In the great scheme of things, that ranks right above winning a farting contest.
    ---

    Oh, I see. You're in competition. That makes things more clear.

    Anyhow, coding a 3d game like Quake isn't exactly trivial. If it is, please supply a link to your own code and we'll talk.


    - Jeff A. Campbell
    - VelociNews (http://www.velocinews.com)

    --

    - Jeff
  57. Look at it the other way by barzok · · Score: 1

    Until you can prove that something is right, assume it's wrong. Until you can prove that there are NO flaws, assume at least one exists.

    1. Re:Look at it the other way by sterwill · · Score: 1

      You, sir, have several obvious and insulting flaws. Please prove that you are perfect, and then I will put you on par with other humans I know.

      --

    2. Re:Look at it the other way by barzok · · Score: 1

      I openly admit I'm not perfect. Nor is any other human being, unless they're delusional. So how am I below any other human based upon that?

    3. Re:Look at it the other way by Mawbid · · Score: 1

      /me wonders: If he reasons like a brain damaged monkey, wouldn't it make more sense to conclude that he is a brain damaged monkey than a 13 year old?
      --

      --
      Fuck the system? Nah, you might catch something.
  58. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    But what makes a WinModem bad? Is it the modem itself or is it the code that handles it? I tend to think that it's more of the code than the actual parts themselves. There are definitely benefits to owning a real modem, but if the code is significantly improved, who says a WinModem can't work as well as a real modem?

    There are very set limits to how fast signal processing code can go, and it's not going to get much faster than it is - the inner loop for most signal processing tasks is a MAC - multiply and accumulate - that inner loop takes probably 90% of all the processing (the rest is mostly overhead). Without faster hardware, you're not going to improve that routine an significant amount. However, it does mean when you upgrade your CPU, it's like upgrading your modem too.

  59. big deal by ArchieBunker · · Score: 1

    I hope they do find a way to use winmodems, then I can get a fully functional 56k modem for less than $30. All the of the winmodems I have seen get full speed with no problem.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  60. Good, but how much difference will it make? by Anonymous Coward · · Score: 0

    This is a pretty interesting approach to optimizing internet gameplay, but it would definately be a good thing if we could reduce the latency. Most hardcore gamers will go a long way to get even a slightly better ping, so we would have alot of new Linux users if there's a more efficient stack.
    But how much optimization can actually be done? I realize that the current implementation has been designed with non-realtime protocols in mind, so there's certainly some room for improvement. If you could chop upwards of 5ms off of your ping, it's worth it, but is that even possible? I would think that any difference would be on the order of a fraction of a millisecond.
    Can anyone with experience in this area comment on how much of the latency is actually caused by current stack implementations, and how much we can possibly hope to chop off?

    1. Re:Good, but how much difference will it make? by TZA14a · · Score: 1
      Can anyone with experience in this area comment on
      how much of the latency is actually caused by
      current stack implementations, and how much we can
      possibly hope to chop off?

      Well, I can tell you that when I ping another machine on my LAN with thrice the rate a Quake connection would generate, it gets RTTs between 1.5 and 2 ms. So IMO latency in the IP stack is completely ignorable. What sucks is the next hop over the modem -> 70ms more, and that's not "the IP stack".
      --
      "The use of COBOL cripples the mind.
      Its teaching, therefore, should be

  61. Trolls, Inc. by Anonymous Coward · · Score: 0

    You know what, why don't we . . .

    Is it just me or is the air getting thick from the smell of inbred trolls from Redmond in here?

    1. Re:Trolls, Inc. by Anonymous Coward · · Score: 0

      no, that's just the stench of unknowledgable Linux and John Carmack weenies.

    2. Re:Trolls, Inc. by Anonymous Coward · · Score: 0

      no, that's just the stench of unknowledgable Linux and John Carmack weenies.

      The bloody smell of fragged trolls blasted from the dark, moldy crevises of their bridges may offend a few, but the smell of longhaired programmers is what it takes to make that happen. Its just part of the job.

  62. Re:Do we want to allow other OS's to use winmodems by wampus · · Score: 1

    If you live in the middle of nowhere, where the telcos don't give two shits about the customers because the market is too small, you are going to have a modem for a long time. The cable company sounds sort of puzzled when you ask about cable modems, and DSL is out of the question because of how far the switches are spaced out around here.
    ---

  63. Re:TCP is too slow... Hello? McFly? by Seraph · · Score: 1

    UDP is a form of TCP/IP packet.

    While the Internet Protocol suite has become commonly known as "TCP/IP" and thus this statement is marginally semantically accurate, to imply that UDP is a subset of TCP is just wrong.

  64. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    Are you stupid? It's either UDP or TCP. They are both transport protocols.

    This is exactly what I hate about slashdot. A bunch of dumb fucks running around after reading an intro to <insert anything> and thinking they know everything.

    If you don't know what the fuck you're talking about, do some research you dumb bastards. it won't hurt to not have your stupid comment grace this website.

  65. Skills by JamesKPolk · · Score: 2

    Now, I know that John Carmack is 'Da Man (tm) when it comes to 3D game graphics... and he is obviously knowledgable about writing certain kinds of network games..

    Does all of that skill necessarily imply that Carmack can necessarily write a stack for Linux, that is truly better for games? I mean, it'd have to be able to handle all sorts of hardware, all sorts of circumstances, SMP, etc. etc. And, we must remember that kernel development is pretty different from app development in many other ways, too..

    The article, after all, phrases it as "take a stab at" the project. Maybe he'll just flick a few bills off his megawad of cash, and fund some development, should he not eke out enough milliseconds to bug MS. heh heh

    1. Re:Skills by jallen02 · · Score: 1

      Once you learn enough about programming nothing stands in your way from doing just about anything else. If you can optimize a 3D game as massive as QuakeIII. You can learn about a TCP/IP stack and optimize it.

    2. Re:Skills by Anonymous Coward · · Score: 0

      yeah, that makes sense. I suppose Carmack can also program databases as well. yeah, I guess Carmack is an expert on Set theory since he's obviously an expert on everything else. When will Carmack be releasing the Carmack OS?

      What a bunch of lame dicksuckers you people are.

    3. Re:Skills by Anonymous Coward · · Score: 0

      you my friendly retard, are an ignoramus. this is the problem with all you armchair coders. you think programming is the solution to problems. let me clue you in on a little secret. programming is the tool that real problem solvers use to create solutions. you may know how to make the world's best Hello World program but that does not necessarily mean you know the problem domain that allows you to code software to do 3D imaging of the inside of someone's knee.

      Granted Carmack is handy with topical 3D programming, he is not knowledgable in all problem domains. He may be a great network applications programmer, but who is to say that he can design the greatest TCP/IP stack?

      Remember, programming is a tool. It is something you master in order to create a piece of software to create a solution to a problem.

    4. Re:Skills by slashdot-me · · Score: 1

      > this is the problem with all you armchair
      > coders. you think programming is the solution
      > to problems.

      Oh come on. We're not talking about hard science or anything. It's a freakin' network stack. Get a book, look at the code. I'm sure there are a few obvious tradeoffs that could be retuned for low latency. Thousands of grad students have studied this area of CS, go read their papers. There's bound to be some tricks not already in the code.

      Ryan

    5. Re:Skills by Anonymous Coward · · Score: 0

      yeah, it's so fucking easy that anyone reading a book can do. yeah, that sounds accurate. fuck off, retard.

    6. Re:Skills by jallen02 · · Score: 1

      That was one of those self-hyprocitical posts that sort of invalidates itself before it ever gets posted... I did not say John Carmack could do that. I implied it yep. I said if you are intelligent enough to program a massive 3D engine/game WHICH has networking code IN IT. I would imagine its not a far cry to study and LEARN how to do tcp/ip implmentations? Looking at OTHER code books etc.. Its not like its a massive theory involving years of research to prove it or anything. Once you understand enough of 'Computer Science' You can apply that knowledge to any area. And with enough time invested to learn and specalize in that area you can do anything and do it well. Dont give me this weak stuff about solutions or some such nonsense? You saying since I spent 4 years learning TCP/IP and how to implment it I cant learn how to learn database theory and become good in that? NEVER EVER say someone cannot learn something. Thats all I said. Not that JohnC is a master TCP/IP programmer. he can learn it just like I could or you could.

    7. Re:Skills by Anonymous Coward · · Score: 0

      Actually you are an idiot, and he could be very good at all those things. The point I think you are missing is that Carmack is 1) incredibly itelligent 2) live to progrm 3) has an insatiable appetite for gaining new knowledge, particularly if that allows him to program more interesting things, and 4) he HAPPENS to program games--games that happen to use nearly every field of computer programming, from the obvious of 3D graphics and networking to the less obvious such as AI and pathfinding and interpretive or semi-compiled languages/scripting. But he could be just as happy programming anything interesting, not just games.

  66. Re:Carmack Is A Selfish Bastard by be-fan · · Score: 1

    If it weren't for games, Linux would not be in the place it is now. Hear me out first. What made x86 hardware even in the same ballpark as Suns and SGIs? Games. Games continued to push x86 hardware until one day, someone realized, "Hey I can run a server of this!" No x86 servers, no Linux. Hell, no x86 servers and the small guys would never make it onto the internet.

    --
    A deep unwavering belief is a sure sign you're missing something...
  67. Re:TCP is too slow... Hello? McFly? by The+Man · · Score: 1
    Hello McFly yourself. The term TCP/IP is something of a windowsism to begin with. Since it doesn't support UDP [well? at all?], presumably MS figured they'd just lump them together and call it one protocol (never mind that they DO support ICMP which is certainly not TCP).

    For the record, IP (Internet Protocol) is a lower-level protocol that routes generic packets on the internet or equivalent. TCP (Transport Connection Protocol), UDP (User/Unix Datagram Protocol), ICMP (Dunno, used for ping and traceroute and such), IGMP (fairly obscure), and several other higher-level protocols sit on top of IP.

    While TCP is the most common type of packet using IP, it's certainly not the only one. UDP is also quite common at least in the real world, and almost everybody supports ICMP. Alternatives to IP are things like Unix domain sockets.

    For most developers the decision revolves around TCP vs UDP (IP is a given in today's networks), and the primary difference is that TCP is connection-oriented (ie data is guaranteed to arrive in the order it was sent, and if the next packet in line isn't at the reader yet, it blocks or returns EAGAIN) while UDP is connectionless (ie data is sent in datagrams which can arrive in any order, and readers do not block as long as any datagram is available to read).

    From this sumamry you can probably see why UDP is fundamentally better for things requiring near-realtime transport across flaky networks like the Internet - TCP is indeed quite slow for these purposes, since packets that get lost in the shuffle must be resent, and later packets have to wait for that one to get through before they can be read. Naturally there are things one can do with TCP to work around this limitation but UDP is still better. Of course, in real applications both types are used. A typical package will use TCP for control and UDP for data. If Carmack really wanted a better game development platform from Microsoft, he should pressure them to provide (better) support for UDP. Out of generosity they could even call it User Datagram Protocol instead of the more correct Unix Datagram Protocol, since anything Unix must be bad.

  68. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    I don't code 3d games. There are several people who do and who do it quite better than Carmack. Carmack had his 15 minutes of fame.

  69. shut up by ArchieBunker · · Score: 1

    No one is forcing you to buy a winmodem. The only reason your computer came with one was the price. My friend has a 56k winmodem on his 486/50 (no fpu even) and it works great, 5.5k/sec downloads with no real cpu usage.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
    1. Re:shut up by Anonymous Coward · · Score: 0

      either your friend is an idiot, or you misunderstood him. Or his "winmodem" has a DSP on it, and he(or you) doesn't understand the difference between a winmodem that uses nonstandard UART and command set and a software modem with no DSP. No winmodem (the software kind, the kind being discussed in this article and thread) is going to run well on a 486/50. DSP type tasks run most efficiently on a DSP chip, but barring that, a processor with integer SIMD operations can do it too. A slow non-SIMD, single issue CPU like the 486 is not gonna cut it.

      But I'm sure he (or you) plays quake3 just great on a 386 with a S3 VIRGE.

    2. Re:shut up by Anonymous Coward · · Score: 0

      Yup, I wouldn't be suprised if the guy has an IBM MWave DSP modem, which were common in the 486 and early 586 era.

    3. Re:shut up by inquisitor · · Score: 1

      You must be joking! I have a 56K Winmodem (Rockwell HCF - I got taken in, and I hate it - BTW, Winmodem is a trademark of 3Com USRobotics) and I get as little as 4.3Kb/s, max. The specifications supplied with it *demand* a Pentium 166MMX - I'm using a Pentium II-266 - and it's still slow on my system, and uses huge amounts of CPU. I've even got slow text display on IE. Sorry, but I can't accept this.

  70. Because ping is king... by Phillip+Birmingham · · Score: 2

    ...and many gamers will do anything to lower their latency, including switch operating systems. If the Linux version of a game consistently showed 50 ms less latency than the Windows version, there would be a lot of interest in Linux from the gaming community.

    --
    Make me aerodynamic in the evening air
    1. Re:Because ping is king... by Caspuh · · Score: 1

      50 milliseconds less latency? That would be a difficult task, since an NT server running quake2 on a lan will result in a 7 or 8 ms quake ping between the NT server and the win9x clients.

    2. Re:Because ping is king... by shogun · · Score: 1

      Well Carmack will then have to tweak the protocol stack so enable four-dimensional routing. ie handling packets that come from the near future.

    3. Re:Because ping is king... by Anonymous Coward · · Score: 0

      But on the Internet, which all this is about, it's a pretty easy thing to do as average modem latency is 300-400ms

    4. Re:Because ping is king... by Anonymous Coward · · Score: 0

      Who the fuck would rewrite a TCP/IP stack and *winmodem* drivers for LAN play you fucking moron? Think before you post.

  71. modem latency by Chaostrophy · · Score: 3

    A software modem could be a huge win. First off, you are no longer pushing your data through a 16 byte fifo buffer, that is costing you over 300 interupts a second at 53k, and that boils down to a lot of cpu time. Second, the modem hardware is good for at least 60ms of your latency, acording to the guy behind an old popular macintosh network game Bolo, which was writen to studdy networking issues.

    So a software modem that knew ip could help a lot, and be much nicer than an old style hardware modem

    --
    Plato seems wrong to me today
    1. Re:modem latency by dattaway · · Score: 2

      DSP's are made for number crunching and are the best for communications that require waveform processing. Compare the performance of using your main CPU versus a hardware modem. It will work, but its like a video card without the accelerator. Everything will be slow.

      Those 300 interrupts you talk about are just to move memory into the buffer and hardly CPU intensive. Software modems are a different beast, where ALL off the free CPU time is spent trying to mathematically create a decent signal. Now, if we had this "software modem" flashed to the modem's DSP, or offloaded to an alternate processor off the main bus, this would be a huge win.

    2. Re:modem latency by spectecjr · · Score: 2

      A software modem could be a huge win. First off, you are no longer pushing your data through a 16 byte fifo buffer, that is costing you over 300 interupts a second at 53k, and that boils down to a lot of cpu time.

      Don't know where you get your figures from, but the FIFO saves you interrupts - it doesn't increase them. It means you get 1 interrupt per 16 bytes of data - not 1 interrupt per byte of data. You can always turn the FIFO off.

      Second, the modem hardware is good for at least 60ms of your latency, acording to the guy behind an old popular macintosh network game Bolo, which was writen to studdy networking issues.

      Quite possibly - but given the baud rate of the average modem, that 60ms is bog all.

      So a software modem that knew ip could help a lot, and be much nicer than an old style hardware modem

      Gimme a cable-modem any day.

      The biggest problem on PC's is the old UART chips just don't cut it. They're badly designed - instead of having RTS/CTS flow control with highest priority, and letting the chip handle it all automagically (like the Phillips IM26C91 family of UART/DUARTS and quad-UARTS which are exceedingly good in my experience), you have to bring the CPU into the process so that you can manually flip the RTS/CTS lines. Which frankly, sucks and causes latency problems.

      *sighs* Legacy hardware - don't you just love it?

      Si

      --
      Coming soon - pyrogyra
    3. Re:modem latency by kangasloth · · Score: 1

      Indeed, such winmodems as you describe really are crummy, but i've heard that others are just DSPs connected through the PCI bus. Bit of an improvement over uart, wouldn't you say?

      I think the MWave (combo sound card/modem) is such a beast. Problem is (last i checked), it's not at all linux-friendly.

      Besides, i can't wait to ditch my last ISA card ;)

  72. All he has to do is threaten... by khiron · · Score: 1

    And the rumour be carried around the world (thanks /.) and someone at Redmond will be tasked with the job.

  73. JC vs DaveM (Re:A bit more than heresay[sic]) by Anonymous Coward · · Score: 0

    Look, people, I'll agree that Carmack is a pretty sharp applications/games hacker but a lot of the networking code has been either written or tweaked by David S Miller, one of the most serious kernel speed freaks around. I'm not going to say there's no room for improvement - NEVER! - but Carmack's in for a rude surprise, especially when he learns that nobody will take his patches because they will almost certainly (if they exist) trade bandwidth for latency, a classic tradeoff. Plus, if his kernel code looks anything like his games code, Linus will puke his guts out while replying "NEVER WILL I ACCEPT THIS SHIT IN __MY__ KERNEL!!!" Go back to userspace, John, and write the GaMeZ for the lil kiddiez to use; it's easier to make money that way too.

    1. Re:JC vs DaveM (Re:A bit more than heresay[sic]) by Anonymous Coward · · Score: 0

      thanks, dude. That needed to be said.

    2. Re:JC vs DaveM (Re:A bit more than heresay[sic]) by Anonymous Coward · · Score: 0

      A cool thing with Linux is that we could have two separate TCP/IP stacks and a choice between which one we wanted to run.

  74. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0
    Windows supports UDP just fine. The header just has an extra pair of ports for multiplexing, that's all.

    --ac

  75. Re:TCP is too slow... Hello? McFly? by Detritus · · Score: 1

    A minor correction, ICMP is an integral part of IP. If you draw a diagram of a networking stack, IP and ICMP are at the same level, UDP and TCP are one level higher.

    --
    Mea navis aericumbens anguillis abundat
  76. Re:Carmack Is A Selfish Bastard by rnd() · · Score: 1
    Jeff,

    I think you are spendnig too much time humoring the trolls...

    if you ignore them, they'll go away.

    mmm

    --

    Amazing magic tricks

  77. Re:Carmack Is A Selfish Bastard by drix · · Score: 2

    Really - who? Carmack is one of the best programmers in the world, IMO. The proof is in the pudding. Look at Q3A. The network code is so tight in that game that I actually get He designed his own SMP implementation, for chrissake. Microsoft and their army of engineers hasn't been able to do this for Windows for 5 years. Carmack is a really, really smart guy and I have no doubt that any contributions he makes will be definite improvements on what was there before.

    --

    --

    I think there is a world market for maybe five personal web logs.
  78. John Carmack && reworking Linux IP stack == good! by crimsun · · Score: 1

    Um, I can't believe I'm reading some of these replies! After all that John Carmack has contributed to the entire computer industry, we have the gall to lash back at him in this manner... He is one heck of a programmer, not to mention one heck of a nice guy! If he wants to "take a stab" at reworking the Linux IP stack, then the Linux community should welcome him with open arms, not this "are you sure he can do it"/"he's a greedy basta'd" crap. As it has been said before, he has much experience with network optimization (think QuakeWorld, people, not to mention that Q3A plays *wonderfully* on my seriously lagged 28.8!); why shouldn't he be able to hack out (and I mean that in the most respectful manner) something that will ultimately benefit all Internet users?

    Btw, the issue of latency is *huge*. I constantly play on a 28.8 in contrast to my school Ethernet connection, and latency sure kicks my rear on that 28.8 (not to mention that I'm a sorry Quake player, too! ;-). PowerPlay is definitely a good step in the correct direction.

  79. Re:TCP is too slow... Hello? McFly? by roca · · Score: 1

    TCP/IP has been standard nomenclature since long before Windows had it. UDP is a thin veneer on IP, but TCP is a very significant component of the protocol suite.

    There is one really really big and important difference between TCP and UDP: TCP does flow control and congestion control, but UDP does not, unless you layer it on in your application, which most people don't.

    Without TCP congestion control, the Internet would collapse in a flaming heap tomorrow. This would also happen if everyone decided to switch to UDP for everything.

    For whoever doesn't know what congestion control is --- it's a scheme that slows down your transmission rate when you detect that your data's being lost in the network, presumably because of congestion. The idea is to avoid overloading the network so everyone can get a useful share. It works very well, having been studied and tuned for decades. Anyone who tries to reimplement it in their own UDP-based protocol is very unlikely to get it right first time.

  80. Meant to say... by barzok · · Score: 1

    Nor does any human being believe they are, unless they're delusional.

  81. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    You sound like some punk who has never in his life spent any time outside the big cities. There are people who'se nearest neighbor is 10 miles away, and some of them are lucky to have voice telephone lines availible. High bandwidth will most likely never be availible for them, at least not until someone comes up with a consumer bidirectional satellite connection.

  82. And your reasoning is... by barzok · · Score: 1
    How do you make that conclusion?

    Feh. What's the point in trying to have any kind of reasonable conclusion with someone who may or may not exist. For all I know, "Anonymous Coward" could be a scriptbot looking for posts to make nonsensical replies to.

    1. Re:And your reasoning is... by Anonymous Coward · · Score: 0

      hey junior, go back to cleaning your room and putting your toys away. every time you open your trap you sound stupider.

    2. Re:And your reasoning is... by Anonymous Coward · · Score: 0

      Someone implied that there might be something wrong with Linux -- Quick! Circle the wagons!

    3. Re:And your reasoning is... by Anonymous Coward · · Score: 0

      implied, being the critical word in your sentence. If you have the facts, share them. If you don't, you're either very stupid (very possible in this case) or just spreading FUD.

      You silly bastards never learn.

    4. Re:And your reasoning is... by Anonymous Coward · · Score: 0

      Ask Carmack (post #175) -- he's the one doing the implying. Suggesting that parts of Linux can be improved is not FUD or stupidity, it's how Linux got where it is today.

      But if you disagree, please be consistant and start flaming people who imply there might be flaws in Windows 2000 without bringing objective evidence to this bullshitting table.

    5. Re:And your reasoning is... by Anonymous Coward · · Score: 0

      here's a comment that some dumb fuck named Syberghost said with regard to Linux's TCP/IP stack:

      If you think it's not flawed, you have a serious misconception about Linux.

      The bumb bitch that Syberghost is, he refused to provide any facts that would support the statement that came out of his ass.

      Carmack had nothing to do with Syberghost's stupid, moronic post. You further spread FUD by suggesting that spreading FUD about Linux helped get it where it is. I disagree, uncle fucker. Sharing legitimate concerns, backed up with metrics, helped make Linux what is today.

      You dumnb cocksuckers who come in here slinging bullshit will always get shot down by me. I'm the sheriff in these here parts.

    6. Re:And your reasoning is... by Anonymous Coward · · Score: 0

      Only to people who don't filter AC posts.

  83. Moderate this thread down, please by SurfsUp · · Score: 1

    This coming from an anonymous coward with poor writing skills?

    You know, troll, you need to learn to read before you can write.

    Ooh, 'fag'. That's cute. 5th grade level insults really show off your intelligence. Not only am I speaking to an idiot, but a homophobe


    The above comments were all given a default rating of 2, showing that just having a lot of karma doesn't necessarily mean you deserve the +1 bonus. *sigh*. It's time to raise my reading threshold to 3.

    Was it Groucho Marx who said "Any club that would have me as a member, I don't want to belong to"?

    Yes, moderate this down too, and none ofthis ever happened right?

    --
    Life's a bitch but somebody's gotta do it.
    1. Re:Moderate this thread down, please by Darchmare · · Score: 1

      And you think the use of the homophobic term 'fag' as a disparaging term is any better? That's what I was responding to.


      - Jeff A. Campbell
      - VelociNews (http://www.velocinews.com)

      --

      - Jeff
    2. Re:Moderate this thread down, please by Anonymous Coward · · Score: 0

      your post at a default +2 proves your point nicely.

  84. Re:TCP is too slow... Hello? McFly? by dirty · · Score: 1

    Just an FYI, all IP stacks MUST support ICMP. IIRC TCP requires ICMP for initiating connections, and it is used to signal a broken connection and all sorts of things. Also, ICMP = Internet Controll Message Protocol, and IGMP = Internet Group Message Protocol. And one final thing, windows supports UDP just fine.

    --

    -matt
  85. OpenGL and Direct3D by Anonymous Coward · · Score: 0

    Carmack's use of openGL for game programming forced Microsoft to start making Direct3D allot more useful. I will totally get all gitty if Carmack and other Linux peeps turn Linux, not only into the primo server and desktop workstation, but also the killer gaming platform. Everyone knows that a huge part of the Linux croud still keep a partition of windows95/98 around, just so they can play games ;-)

  86. So much certainty, so few facts. by Mr+Z · · Score: 1

    Whatever. Mike Abrash went from Microsoft to idSoftware for a single game, and then went back to Microsoft. The last time I spoke with Mike Abrash (over email), he said he was working on Natural Language Processing, anyway.

    --Joe
    --
    1. Re:So much certainty, so few facts. by Anonymous Coward · · Score: 0

      he went there becuase Carmack begged him. Also, it's open knowledge that Mike has been working on that technology which is used in Word to do all that stupid auto-correcting crap. Don't try to act like you have some kind of relationship with him. Mike doesn't hang out with stupid people.

    2. Re:So much certainty, so few facts. by Cuthalion · · Score: 2

      You know, it's really easy to turn that feature off, if you don't like it..

      --
      Trees can't go dancing
      So do them a big favor
      Pretend dancing stinks!
    3. Re:So much certainty, so few facts. by Anonymous Coward · · Score: 0

      To my knowledge, Sir, Abrash was doing lots of low level assembly stuff for video drivers in Windows 3.1. His low level skills were very handy for the age where video accelerators (even 2D) were luxury. In ID he was responsible for optimizing software renderer in Quake --> lots of very good assembly.

      I highly doubt that the guy with such a background would bother doing that crap for MSWord.
      However, his skills could be good for natural processing, it's too slow even in C.

    4. Re:So much certainty, so few facts. by Anonymous Coward · · Score: 0

      No, it's not you dildo. It's like a 1000 fucking checkboxes to unmark.

  87. Network Stack already rewritten by Anonymous Coward · · Score: 0

    There is already a reworked ip stack and I'm using it now. (kernel 2.3.36) The network code has been heavily modified in a move to much finer-grained locking, and removal of inefficient extra memory copies.

    and this is not just theoretical stuff -
    I'm here to tell you that the speedup in quake3 is very significant over the 2.2 kernel. Moving to 2.3 was just like getting a hardware upgrade for free - it's way faster than 2.2, even with Ingo Molnar's low latency patches.

    I'll never go back to 2.2 again.

  88. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    Lol... 15mins... lemme see... John Carmack, his brother and Romero (now working on Daikitana) do Wolf3d... First best 3d game.. (cant tell if Commander Keen was written with Carmack onboard) When everyone tries to copy Wolf3d, we get from ID Doom... now we dont walk on flat surfaces.. Then we get Quake, technically pushing new barriers, but Duke3d steals the light. Then we get Quake2... not fun to play, but boy the networking is the fun.. Now we have Quake3, gfx amazing... but prolly UT will steal the light again for more pleasant net gaming.. --- Carmack worked there and he wrote the core.. Quake engine is most oftenly used in other games (like Halflife). He releases old games that we know no one will play under gpl... Now what have you done to the scene? for the gamers? for the 3d market (heck he brought 3dfx to life by writting code to use their hardware accells in quake1 and 2).. He now is bringing OpenGL to us, so we dont haveto rely on clunky glide (which some say is nicer to program in than OpenGL).

  89. also... by Wah · · Score: 2

    ...he also came out a while back to lead a bunch of game developers in supporting OpenGL over Direct3D. They sent an open letter to M$ about their opinion (I'm not sure of the exact outcome, but I still play a bunch of games with OpGL). Quake was also one of the first accelerated games, so his significance basically comes down to, When Carmack talks, people listen, even Micro$oft (hence this whole story).

    --
    +&x
  90. Re:Carmack Is A Selfish Bastard by dyslexia · · Score: 1

    Carmack's name can no longer be enhanced. He has been my god since I got Doom II for my 486.

    --
    --Have a Johsonville brat.
  91. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    your opinion isn't worth the breath it was uttered on. Carmack isn't shit. His networking code finally came about because everyone else was doing it right. Carmack can suck my dick.

  92. Re:Carmack Is A Selfish Bastard by Darchmare · · Score: 2

    You're probably right.

    Then again, the same could be said for natural selection, but look how THAT turned out. In theory, these trolls shouldn't even exist. :>



    - Jeff A. Campbell
    - VelociNews (http://www.velocinews.com)

    --

    - Jeff
  93. Re:Carmack Is A Selfish Bastard by Darchmare · · Score: 2

    Okay, there are probably better coders. I wouldn't doubt it, actually.

    What of it?

    If he contributes something where it is needed, it's still a good thing. If one of these phantom 'better coders' comes in and improves on his code, even better.

    Doesn't mean you should rail against the guy. You're not being forced to play his games, and if his changes are less than desirable, I assume Linus wouldn't include them. It's a win-win situation. Why the anomosity then?

    - Jeff A. Campbell
    - VelociNews (http://www.velocinews.com)

    --

    - Jeff
  94. BeOS and its new tcp/ip stack. by Anonymous Coward · · Score: 0

    In the next major release from Be Inc. BeOS users will have a brand new tcp/ip stack to play with. Knowing Be Inc. they wont settle for anything less than the same performance as BSD unix. With Apache on it's way and with php and perl BeOS should be a really good server choice for normal web services.

    1. Re:BeOS and its new tcp/ip stack. by Anonymous Coward · · Score: 0
      Oh, BLOW ME!

      I've been waiting for Howard Berkey to unfuck the BeOS tcp/ip stack for oh, about 2 years now:
      • Mar 15 98: "Unfortunately select() under BeOS is an abomination. It really needs to be fixed."

      • Apr 19 98: "You will likely have trouble with traceroute; IIRC it requires networking support that BeOS does not provide through the net kit at this time."
      • Apr 30 98: "getsockopt() is there, but I don't think SO_ERROR is supported."
      • May 18 98: "However (since it *is* particularly lame that select is implemented this way), if select's behavior bothers you you should lobby Be to improve its implementation. Several of us have done so already and the more people that ask about it, the more likely the net team at Be is to make fixing select a priority."
      • Jul 7 98: "..until poll() is available for BeOS..."
      • Aug 18 98: "Right now getservbyname() will only respond with valid servents for ftp and telnet. Unfortunately this is hard-coded right now and getservbyname() does not parse a config file like /etc/services, as it does under Unix."
      • Oct 20 98: "It hasn't been addressed for r4. Sockets are (still) not file descriptors in r4. Select is still in the net kit in r4 as well. Look for big changes in both of these areas in r5."
      • Jun 30 99: "We have lots of ideas and we've pretty much got things narrowed down to how they will look. Please do not pester us about it."
      • Jul 26 99: "If they are setting linger for a specific interval, then you are out of luck until R5."
      • Sep 29 99: "..we decided to move networking into the kernel for the networking rewrite.."
      Let's face it: the problems in BeOS' networking code are legion, and they're not going to be fixed anytime soon.

      So, unless you've actually written: a) a protocol stack on Be b) a net_server add on or c) a shipping networked app, please FUCK RIGHT OFF WITH YOUR UNINFORMED, MARKETING-LEVEL BULLSHIT!
    2. Re:BeOS and its new tcp/ip stack. by Anonymous Coward · · Score: 0

      Judging from their emphasis on SMP, I would highly doubt they'd settle for mere BSD stack performance. Linux 2.3.x with softnet scales decently across CPUs. NT does well, and Solaris scales excellently. BSD/OS is the only BSD with a stack that scales AT ALL, and it doesn't do so all that well.

      Of course, the recent FreeBSD converts, lacking information, will flame away.

    3. Re:BeOS and its new tcp/ip stack. by arielb · · Score: 1

      man what the heck is your problem? He just said that the stack was being rewritten for the next release. Unless you've written a network stack from scratch, please go to Hell. Thank you

      --
      ---
    4. Re:BeOS and its new tcp/ip stack. by Anonymous Coward · · Score: 0

      FreeBSD's stack *crushes* Lunix' you bastard.

  95. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    we're here to stick it to retards like you. you can resume praying at the Linux and John Carmack temple.

  96. How to get latency down by Anonymous Coward · · Score: 2

    Does rewriting the TCP/IP stack have much chance of reducing latency? Ping times on ethernet are under 0.1 ms, so if the stack is delaying packets, it's not very much compared to the 150ms round trip time on most modems.

    As I understand, Linux supports the ToS bits. Using the "minimize delay" bit together with an ioctl to REDUCE the size of the modem driver's outgoing buffer would probably have more impact than just about anything else one could hope to do, at the kernel level. Is there really some other aspect of the kernel that causes latency that I am not aware of??

    At the modem level (winmodem driver), I could imagine again reducing the buffering, so that multiple packets without the ToS minimize delay bit don't get buffered in front of time critical packets. Turning off V42, V42bis, etc would help latency considerably, but when the errors occur, you're stuck with retransmitting, and you're stuck behind buffers before your retransmitted packet can get sent, so latency with errors is even worse without error modem-level mgt. Maybe a new modem-level protocol using Reed-Solomon (or similar) error correcting codes, with feedback (as low urgency packets) to adjust the number of error correcting bits added, so that there would be a very low likelyhood of ever retransmitting a packet...

    It's hard to imagine they'll go after the actual modulation itself or clock recovery. There is latency involved in a Vertibi decoder, but my (limited) understanding is that it's usually only a handful of bits.

    So if you've read all my babble, what do you think could really be done in the kernel and/or modem itself to lower the latency. What do you think the powerplay folks will really manage to do before March?

    ...AC, I know, should really get a slash account someday
    paul@pjrc.com

    1. Re:How to get latency down by Anonymous Coward · · Score: 0

      May I ask which nic's your referring to which get .1ms ping times? I only get 1-10ms. & would you happen to have url's showing such.

  97. Re:TCP is too slow... Hello? McFly? by Centove · · Score: 1

    ICMP (Dunno, used for ping and traceroute and such)

    Internet

    Control

    Message

    Protocol

  98. You can remove quite a bit by Anonymous Coward · · Score: 0

    TCP/IP does not need a reliable link protocol.
    In fact, the duplication is harmful.

    UDP/IP doesn't need it either.

    1. Re:You can remove quite a bit by Anonymous Coward · · Score: 0

      On the other hand, the link layer can detect and NAK garbled framing more efficiently. TCP over PPP has to rely on a bad checksum (but on an unknown connection- the addresses and ports may be corrupted!) or simply on the absence of a valid packet.

  99. Silence the ac's by dyslexia · · Score: 0

    There seems to be one or two ac's running amok and posting messages that Mr. Carmack is shit, and that there is nothing that he can do to improve anything.

    Annoying ac, you are an ass. Carmack is good at what he does (3d game engines), and has many years of experience coding. Could it be that *gasp* he can code other things as well? Perhaps even do a great job?

    Besides, the article on the shack is a replay from an email that sCary sent to Gabe, who said that Yahn talked to John. That means that 1) John said something to Yahn 2)Yahn repeated that to Gabe 3)Gabe wrote a short reply to sCary's email 4)sCary posted it on the shack. Fourth hand information should not even be discussed in anything other than a passing conversation.

    It is certainly nothing to argue about. Now enough posting, I'm off to play TFC. Look for me on the LinuxQuake.com TFC server, and remember, saying th3 Bl00 t34m 0wNz j00! in anything but a jest will result in at least 10 spies hunting your ass down for the whole game.

    --
    --Have a Johsonville brat.
  100. [OT] Idea for windowmanager by Anonymous Coward · · Score: 0

    So that post gave me an idea for a windowmanager:

    The "root window" would be the inside surface of a sphere. The perspective would be the exact center of the sphere. Optimally, one would have a separate trackball to rotate the sphere, but alternatively a 2nd mouse would do. (And, of course, meta-shift-arrows as well)

    The inner surface of the sphere could be divided into a grid of hexagons, each with a picture. Picture of what, you ask? Perhaps a choice between a view of a desktop or a custom pic. Bringing the appropriate hexagon to the centre of the screen and clicking would zoom into it to give you something akin to a regular desktop (unless you were running something which filled the screen).

    Ah, if only I was a programmer. I would certainly pour hot grits down my pants if such a windowmanager came to exist.

    1. Re:[OT] Idea for windowmanager by psaltes · · Score: 1

      You can run x inside of a ggi window, and there's a program that allows you to run 6 ggi screens, each on the side of a cube, that on top of ggi in a console or svgalib in a console or something. (I think I'm getting this right) You can rotate the cube, and its really cool looking. I've never played with it personally, but a friend of mine did on his 233 (i think) mhz laptop, so its not too processor intensive. Its not nearly what you envision but its a pretty interesting environment.

  101. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    oooohh. someone knows what ICMP means. Like the rest of us with brains don't. What a waste of a comment.

  102. Re:TCP is too slow... Hello? McFly? by LarsG · · Score: 1

    UDP is a form of TCP/IP packet.

    UDP and TCP are different protocols sitting on top of IP.

    TCP is session based. You have overhead in setting up and tearing down sessions, but it does error correction and packet ordering/acknowledge automatically.

    UDP is shoot-and-pray. No checking for lost packets and if you transfer more than one datagram of data the receiving program has to reorder the packets. Much less overhead than TCP, though.

    --
    If J.K.R wrote Windows: Puteulanus fenestra mortalis!
  103. Carmack is just freaky-cool! by Greyfox · · Score: 2
    Carmack seems to have been a major force behind getting 3D to Linux and now he wants to re-write the IP stack (Which has been a major bitch of the BSD camp since the 0. kernel days) and write softmodem drivers? (Which has been the single most major bitch of every newbie in the support channels I hang out in.) Carmack is just a freaky-cool person!

    Personally I think the person who came up with the idea of softmodems should be stripped of his degrees and forced to go through a college CS course. I don't know about these days but one of the first things we learned in Hardware 101 is that you buy cheap UARTS so that your expensive processor doesn't have to dick around with serial. Of course, modems are passe' and no one will be using them in a couple of years anyway, but it's the principle of the thing...

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:Carmack is just freaky-cool! by Anonymous Coward · · Score: 0

      The BSDer's problem with the Linux stack is that its not the BSD stack.

      Dave M's softnet code is the first open source TCP/IP stack that scales to multiple processors. (Free, Open, Net)BSD's stacks are all single threaded at the moment, and since only FreeBSD has (basic) SMP support, I don't see that changing in the immediate future.

      Of course, the really rabid BSDers will still cry out "BSD runs better under heavy load!!!1!!1" In my experience, they all suck hard under heavy load.

    2. Re:Carmack is just freaky-cool! by Anonymous Coward · · Score: 0

      The BSDer's problem with the Linux stack is that its not the BSD stack.

      Dave M's softnet code is the first open source TCP/IP stack that scales to multiple processors. (Free, Open, Net)BSD's stacks are all single threaded at the moment, and since only FreeBSD has (basic) SMP support, I don't see that changing in the immediate future.

      Of course, the really rabid BSDers will still cry out "BSD runs better under heavy load!!!1!!1" In my experience, they all OSes suck hard under heavy load.

  104. A few things were taken out of context... by Anonymous Coward · · Score: 5

    I'm in Hawaii right now and don't have my login info, so you can take this or leave it on sort of John-Carmack-Turing-Test terms.

    No way do I intend to rewrite the linux TCP/IP stack.

    I had mentioned to Yahn that it would be an interesting experiment to yank all the networking code (TCP/IP + PPP + serial driver) into user space so some cross-boundary optimization experiments can be made. I doubt there is any apreciable latency in the TCP/IP stack, but there might be some scheduling losses somewhere through PPP and the serial driver. Even if a send packet call goes syncronously all the way to the serial ring buffer, giving no real potential for latency reduction, there are still lots of possible experiments with making decisions based on normally hidden data.

    Just like the GLX driver work is Good For Me as a graphics programmer, going through all the guts of the networking stack would be Good For Me as a netowrking programmer. I may pursue this, and I may collect some interesting data, but I seriously doubt it would be any contribution to the standard network stacks.

    I had a long talk with a couple people from Valve about the PowerPlay initiative, but they couldn't give me enough specific technical details for me to endorse it. I'm all for improvements in networking infrastructure, but at this point, there isn't anything actually there, just an intention to improve gaming. They need to tell me SPECIFICALLY what I am supposed to be endorsing. At some point, bits have to go into packets and routers need to make decisions on them. Changes at that level is what I want to hear about, not strategic company relationships.

    Some networking things that could be real improvements:

    UDP header compression. I am still surprised this isn't a standard.

    An ioctl to set modems to a realtime mode that makes different tradeoffs in modulation, error correction and compression. I'm not sure if the modem standards allow things to be renegotiated dynamically or not.

    Making routers actually pay attention to QoS bits, and defining specific queuing behavior for them. A "realtime" packet should never be added to a queue if there is another one from the same connection that is already in the queue. Multiple queuings just add latency that can't be controlled at the application level. Jump-to-head-of-queue would sure be nice, but that's probably too much to ask for in the name of "games".

    I have commented in the past that software modems have the (unrealized) potential to reduce latency over conventional modems. There is some savings by just avoiding a serial FIFO, but more savings could be had be integrating more knowledge from higher levels of the communication stack. Specifically breaking modem comrpession/error correction packets at PPP boundaries (or avoiding them altogether when apropriate), for instance.

    John Carmack

    1. Re:A few things were taken out of context... by Anonymous Coward · · Score: 0

      "I have commented in the past that software modems have the (unrealized) potential to reduce latency over conventional modems. There is some savings by just avoiding a serial FIFO, but more savings could be had be integrating more knowledge from higher levels of the communication stack. Specifically breaking modem comrpession/error correction packets at PPP boundaries (or avoiding them altogether when apropriate), for instance"

      I believe that such an idea could be done with hardware modems as well. The firmware would have to be rewritten and some changes in the stack amongst a few other things, but this wouldn't be a "soft" modem trick only. Economically things would balance out as well.

    2. Re:A few things were taken out of context... by Anonymous Coward · · Score: 0

      hehehe, it's funny to watch all the Carmack weenies rush to dish out their hard earned karma points for their Lord and Saviour !!

      Oh man, I've seen it all today.

    3. Re:A few things were taken out of context... by Anonymous Coward · · Score: 0

      Uh... like people lose their karma (Carma? :-) when they moderate...

    4. Re:A few things were taken out of context... by WNight · · Score: 4

      I'd agree that the network stack doesn't offer a lot of optimization room, at the ammount of traffic Q3 uses, the network code takes a fraction of a percent of CPU usage and usually hits the network card in under a millisecond (Based on pings I'm getting now across a lan of 2-3ms), so even if that was slashed in half, it wouldn't matter much for gaming usage.

      The comment on the modems is interesting, I guess with more GeForce type cards we'll see a bit of unloading of the CPU which would make softmodems less of a performance hit.

      Having them software controllable definately does give some flexability, and I'm sure that some tweaking could be done, perhaps out of band signalling, where the application could flush the buffer, forcing the modem to send a packet now, instead of waiting for more bytes. Being able to control the packet sizes the modems use between themselves would offer some benefit, because you wouldn't have packets being held too long, or being split and thus taking longer.

      Is the hardware (what little there is) similar enough that it's feasible to write drivers, or does every winmodem speak a different language? It would be good to have Linux winmodem support, if only to make it easier to build sub-$500 systems to be able to get more people online.

    5. Re:A few things were taken out of context... by Phillip+Birmingham · · Score: 2

      At some point, bits have to go into packets and routers need to make decisions on them. Changes at that level is what I want to hear about, not strategic company relationships.

      And a thousand coders stand and cheer!

      This is why so many of us like this guy.

      --
      Make me aerodynamic in the evening air
    6. Re:A few things were taken out of context... by Anonymous Coward · · Score: 0

      Say it again brother !

    7. Re:A few things were taken out of context... by kyano · · Score: 1

      Well as far as revamping modems and the stack. I am fairly certain that if you remove the serial interface in light of an ethernet interface, you could lower latency and ping times, and infact our group is working on a solution to this right now that uses a port on a scsi external or internal card and also a 10base2 interface.

    8. Re:A few things were taken out of context... by Omnifarious · · Score: 1

      I have a webpage

      with some of my thoughts on this.

      At one time, Multitech made modems that understood the UUCP G protocol, which is an XMODEM like response for every packet protocol. Multitechs would recognize when a UUCP conversation was happening, and start sending response packets back to the server, knowing that the modem's error correction would ensure the packet would be delivered reliably. This improved things dramatically because you only had the latency induced by your serial link, and not the communication over the phone lines, and the other computer's serial link.

      Something similar could be done with PPP. In fact, I bet the PPP headers could even be stripped off by one modem and added back in by the other. Also, once USB modems start happening, the latency induced by serial communications will be cut dramatically.

      My only worry is that a lot of modem software expects to talk to serial hardware, and so USB modems won't be as popular as they should be for this reason.

      Anyway, read my webpage for more details, as well as some ideas for improving IP routing of time sensitive data without using QoS.

    9. Re:A few things were taken out of context... by Omnifarious · · Score: 2

      I have a webpage with some of my thoughts on this.

      At one time, Multitech made modems that understood the UUCP G protocol, which is an XMODEM like response for every packet protocol. Multitechs would recognize when a UUCP conversation was happening, and start sending response packets back to the server, knowing that the modem's error correction would ensure the packet would be delivered reliably. This improved things dramatically because you only had the latency induced by your serial link, and not the communication over the phone lines, and the other computer's serial link.

      Something similar could be done with PPP. In fact, I bet the PPP headers could even be stripped off by one modem and added back in by the other. Also, once USB modems start happening, the latency induced by serial communications will be cut dramatically.

      My only worry is that a lot of modem software expects to talk to serial hardware, and so USB modems won't be as popular as they should be for this reason.

      Anyway, read my webpage for more details, as well as some ideas for improving IP routing of time sensitive data without using QoS.

    10. Re:A few things were taken out of context... by Sesse · · Score: 2
      perhaps out of band signalling, where the application could flush the buffer, forcing the modem to send a packet now, instead of waiting for more bytes.

      Could you be a little more precise here? The modem doesn't really have an idea about packets -- all that is at the PPP, IP and TCP/UDP levels. This problem barely affects games at all -- for stream sockets, however, you have such an option. At least you have one the _other_ way (TCP_CORK on a stream socket in Linux 2.2.x), where a non-full packet is _never_ sent.

      Is the hardware (what little there is) similar enough that it's feasible to write drivers, or does every winmodem speak a different language?

      I've heard most Winmodems speak different languages. Perhaps we need some IEEEEEEEEEEE standard for software modems?

      /* Steinar */

      --
      (This comment is of course GPLed.)
    11. Re:A few things were taken out of context... by WNight · · Score: 2
      Could you be a little more precise here? The modem doesn't really have an idea about packets -- all that is at the PPP, IP and TCP/UDP
      levels. This problem barely affects games at all -- for stream sockets, however, you have such an option. At least you have one the _other_ way (TCP_CORK on a stream socket in Linux 2.2.x), where a non-full packet is _never_ sent.


      I mean, a way for a program to tell the modem to send *now*. It's possible to do this at the protocol level, but you never really know what the modem hardware will do. It'll just sit there until it feels good and ready to send. And it's usually right, it can cram more data in. But if you care about latency more than throughput...
    12. Re:A few things were taken out of context... by Sesse · · Score: 1

      The modem hardware won't wait at all -- serial connections are one bit at a time... There might be something before that packet in the queue, but that has nothing to do with the modem. Modems aren't packet oriented.

      /* Steinar */

      --
      (This comment is of course GPLed.)
    13. Re:A few things were taken out of context... by WNight · · Score: 2

      But the compression is. Modems hold data until they have enough to compress, because if you sent every byte as it arrive, you couldn't get any compression.

      If the application had a way of telling the modem 'ok, screw bandwidth, just get those last 150 bytes there ASAP' there's probably be a significant latency decrease.

      The problem is that the modem can't tell a download (where bandwidth is critical) from a game, where latency is critical.

    14. Re:A few things were taken out of context... by Jamie+Lokier · · Score: 1

      The compression doesn't have to delay anything. As bytes arrive, you send them and start compression dictionary searches in parallel. When the compression process actually gets ahead of the signal generator, /that's/ when you start sending the compressed form. Best of both worlds. Well anyway, I'm approaching the problem that way for the linmodem code and I hope it works. :-) enjoy, -- Jamie (secret linmodem developer)

    15. Re:A few things were taken out of context... by Sesse · · Score: 1

      The LZW (?) algorithm used in modem compression isn't block oriented. Think gzip vs. bzip2 (bzip2 _is_ block oriented).

      /* Steinar */

      --
      (This comment is of course GPLed.)
  105. Do not confuse the modem with the UART by DragonHawk · · Score: 2

    First off, you are no longer pushing your data through a 16 byte fifo buffer, that is costing you over 300 interupts a second at 53k...

    What you are describing are deficiencies in the standard PC UART (based on National Semiconductor P/N 16550A). It has been known for over a decade that the 16550A is unsuitable for anything like modern, multitasking systems. Unfortunately, like so much of the PC, we are tied to a legacy standard choosen twenty years ago for completely obsolete reasons.

    If you want to improve modem efficiency, use a better serial interface and larger buffers. USB would be a good start, as there is already a standard. Make the interface tunable, so you can use larger buffers with fewer interrupts and higher latency (good for web browsing, downloading, etc.) or smaller buffers and more interrupts to reduce latency for gaming.

    However, none of this has anything to do with the modem itself. Moving the modem DSP functions off the modem card and onto the system bus and CPU increase overhead and latency, without a significant savings in hardware costs. As near as I can tell, they are popular only because the current commodity market makes saving three bucks a unit significant when you are building a million of them.

    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  106. About time Carmack did something useful by alehmann · · Score: 0

    I'm happy to hear that Carmack is interested in making useful contributions to the world. Aside from some work on GLX, most of his development work has been on extremely violent, stupid games that incite idiots to go around shooting people.

    1. Re:About time Carmack did something useful by Anonymous Coward · · Score: 0

      Quote: "extremely violent, stupid games that incite idiots to go around shooting people" Ignorant people like this is why I hate messageboards. -Axe

    2. Re:About time Carmack did something useful by Anonymous Coward · · Score: 0

      Quote: "extremely violent, stupid games that incite idiots to go around shooting people"

      Ignorant people like this is why I hate messageboards.

      -Axe

    3. Re:About time Carmack did something useful by Ghandi! · · Score: 1

      Shhhh .....us gamers ....we really just shoot idiots on message boards.

      [McP]SpAwN

      "stupid games incite idiots to go around shooting people". -/.idiot

    4. Re:About time Carmack did something useful by cracauer · · Score: 1

      I think this is a bit unfair. Johnc programs a game *engine*. Other people take the engine and produce those kind of games they think they can sell best.

      The problem here is that the kind of games that require the most interesting engine are those that need collision detection and architecture seem from near. There is not much use of beauty in - say - a flight simulator's ground graphics. When you don't need the beauty, many of the most interesting programming tasks wouldn't be needed.

      Hence the best engine hackers work on indoor/ground games where things fly and hit something. Commercially successful exploration of this technology usually requires that these objects represent projectiles.

    5. Re:About time Carmack did something useful by Anonymous Coward · · Score: 0

      Now the original message was just lame, but this is a poor counter argument. The 'quake' engine doesn't exist in isolation for people to take advantage of. It is designed to power First Person Shooters. More specifically it is designed to power id software's (Founder and co-owner John Carmack) First Person Shooter(s). IFF FPS games adversely affect abnormal individuals then it is perfectly possible to argue that what he is doing is of reduced or no value.

  107. The rewrite is already in progress by ppetru · · Score: 2

    While the 2.2.x IP stack certainly requires a rewrite, the Linux kernel networking gurus have already thought of that, and since 2.3.15 (so in 2.4 final) the networking is fully multithreaded.

    The really big problem is that much of the power/scalability gained by the multithreading (which in essence consists of eliminating global kernel locks) is not used because of the Linux core design (the bottom-half interrupt handlers are globally serialized).

    Of course, there's a solution to this too: rewrite the interrupt handling core. This is already being done under the misterious "softnet" name (go here for details). This won't go probably into 2.4 because it involves too many fundamental changes.

    --

    Petru
  108. Trading bandwidth for latency by rogerbo · · Score: 1

    You're probably right that any improvement in latency would have a negative effect on bandwidth.

    But that doesn't mean it would automatically be rejected. Suppose it was option that could be compiled into the kernel but was disabled as a default. i.e. "Optimise TCP/IP stack for games?" as a question in the "make config".

    A games focused distro could have this kernel provided with it as well as a pre-configured XFree 86 Utah-glx-Mesa setup for out of the box 3d support.

    And I'm sure JC's quake code is ugly as all hell, but he's been contributing to the utah-glx project for a while now so I'm sure he is capable of writing "open-source" style well documentated code.

  109. Re:Carmack Is A Selfish Bastard by Darchmare · · Score: 1

    Uh, dude, I don't run Linux (full time, at least) and don't even play Quake. Of course, I've only said that 2 times already, so I wouldn't expect you to understand.

    - Jeff A. Campbell
    - VelociNews (http://www.velocinews.com)

    --

    - Jeff
  110. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0
    UDP and TCP are different protocols sitting on top of IP

    Aehm ... not quite or slightly missleading as TCP and IP are independent and none requires the other.

    Regarding the rest ... well, at times TCP seems to be shoot-and-pray to me too, but this is a problem of our local network only.

  111. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    would you like him to fuck you in the ass?

  112. Re:Do we want to allow other OS's to use winmodems by IntlHarvester · · Score: 1

    You are correct of course. However, in the US a good portion of the upper middle class lives in low density suburban and exurban areas. In addition, people like to work from summer cottages and ski resort areas.

    So, there's a big lucrative market to get broadband to areas where it isn't feasible to provide DSL or cable. I would expect to see wireless solutions that provide at least 100-200Kbps rolled out within the next few years. The cellular/PCS infrastructure is already there, and provides good coverage in all but the most remote areas. Considering how the cost of mobile phone service is dropping through the floor, I would imagine that the companies are very interested in any revenue-enhancing services.

    So, I would tend to agree with Ion++, widespread broadband is going to be available by 2005 or so. (Which is not say that modems are going away -- I know a few people still happy 28.8K modems for simple things like mail access, even though 56K access is pretty much universal.)
    --

    --
    Business. Numbers. Money. People. Computer World.
  113. Re:TCP is too slow... Hello? McFly? by borud · · Score: 1

    I recommend that you pick up a copy of W. Richard Stevens' "TCP/IP Illustrated volume 1" and read it. please.

  114. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0
    My second question would be whether it is worth the trouble. Given faster technologies like ISDN, ADSL and SDSL are available a temporary clutch for something that, to cite one of my providers engineers, never really works.

    At the end of the day guess who, or what is going to be blamed -- that other OS and it will not be Windows.

  115. Re:John Carmack && reworking Linux IP stack == goo by Anonymous Coward · · Score: 0

    Hmmz do i notice a little contradiction here : * Q3A plays *wonderfully* on my seriously lagged 28.8!); * Btw, the issue of latency is *huge*. I constantly play on a 28.8 in contrast to my school Ethernet connection, and latency sure kicks my rear on that 28.8

  116. UDP header compression standard by Anonymous Coward · · Score: 0
    UDP header compression. I am still surprised this isn't a standard.

    UDP header compression (for that matter, compression of any type of IP header) over PPP is covered by RFC's 2507 and 2509, which were published nearly a year ago. These are "standards track" RFCs. Now the only problem is getting it implemented everywhere (but maybe that's what you really meant).

  117. you give ac's a bad name by Anonymous Coward · · Score: 0

    get lost loser

    1. Re:you give ac's a bad name by Anonymous Coward · · Score: 0

      no. i think i'll stay. i'm having too much fun !!!

  118. Moderate this up by platypus · · Score: 1

    Phew, I knew there was something wrong.

    You seem to become the Alan Greespan of the home computer market and one wrong word at the false place can cause big hoopla.

    Thanks very much for clarifying this and for your patience with the gamers/open source/slashdot/trolls communities.
    Oh my, I expected a big flamefest on linux-kernel and linux-net, hope they get the message....



    1. Re:Moderate this up by Foogle · · Score: 1
      It doesn't have anything to do with John Carmack; it's Slashdot. The people of Slashdot love to bat unconfirmed rumors around until they sound like the truth: there were people, a couple of hours ago, who were talking about getting in contact with Dave Miller to facilitate Carmack's new code... as if the guy had even said "Yeah, I want to rewrite the most potentially difficult section of Linux's kernel-code"

      And it's certainly not the first time this sort of thing has happened. Slashdot loves to post unconfirmed news, whenever they get their hands on it, and suddenly it's big-time news to readers. I guess on slow days /. doesn't just report the news, it goes out and creates some.

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    2. Re:Moderate this up by Anonymous Coward · · Score: 0

      This news was actually all over the Quake fanboy sites, so it makes sense that it can get to slashdot and be responded to in a slightly more intelligent manner.

    3. Re:Moderate this up by Anonymous Coward · · Score: 2

      Mhm.. Thanks for coming out and posting that drek at Score:2. If you aren't slamming ESR, you seem to be out slamming /. and JC. Even the original post said he wanted to work on it.

      It is the nature of internet news to be a little flaky now and again. It's the nature of the internet, there is little that you can positively confirm. Also, it's not like /. was totally talking out their asses. If JC came on here and said Malda was smoking crack and he'd never want to touch the Network Stack then you'd have an argument.

      But once again, you don't.

    4. Re:Moderate this up by Foogle · · Score: 2
      Is it though? I mean, seriously, is it more intelligent? I don't know.

      I used to love Slashdot. Now it just doesn't seem the same. Read some of the posts (if you can wade through the ones about Natalie Portman), they're filled with hostility, pride, and more and more ignorance. There's a bitter quality about the site lately, and it's a big turn off to intelligent discussion.

      And isn't that what Slashdot is about? Intelligent discussion. For the past few days my posts have been followed by some AC who keeps spouting obsceneties at me. What is that all about? One AC alone isn't enough to get to me, but it's just like a giant neon sign pointing out the general trend in this community.

      It used to be (mostly) just a bunch of Linux-users talking about stuff they liked. Now it's... I don't know, but it's changed. It's high-profile, just like Linux itself. More and more people are coming here, and more and more garbage is being posted -- by users and the staff. And I know I'm not the only one who feels this way.

      (sigh) oh well...

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    5. Re:Moderate this up by Foogle · · Score: 2
      But he did. Not in those words, but Carmack's post here said that he wouldn't think about rewriting the IP stack, and that he doubted much latency could be removed from there. I'm not pointing the finger at Taco, or anyone else. I'm just saying that this was really a waste of everyone's time. Mental masturbation, really.

      Why should I treat Internet news with a lower regard than the news I get off the TV or a newspaper? There's no reason it should be "flakier". If the Slashdot crew cared enough to post actual news, and not just rumors, they would confirm their information before they made a headline out of it. Sure, they admitted that it was possibly incorrect, but that didn't really stop anyone from treating it like gospel. And how hard would it have been to confirm? Couldn't someone have picked up the phone and called Carmack? Ok, so he was in Hawaii, but that's a pretty lousy excuse for posting a story with essentially no legitimate content.

      And as for your first comment about my posts. Admittedly, I am a bit of a critical person but don't mistake what I said: I wasn't criticizing John Carmack in any way. This about the crew at /. alone. And I feel free to criticize them, namely because I think that they often do a piss-poor job of sticking to their job. Their motto is "News for Nerds. Stuff that matters." Maybe they should look at it sometime.

      Finally, I fully expect that someone will respond to this by saying "If you don't like it, then leave" -- they always do. Somehow, there are a number of people who always seem to think that using this forum is a black/white issue: We either have to love it or leave. Well my only comment to those people is "Blow it out your ass." That was my eloquent statement for the night.


      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    6. Re:Moderate this up by TGR · · Score: 1
      It seems to me that you're more the nobody. At least he LOGS HIMSELF ON, and posts INTELLIGENTLY, contrary to you. If you're the same AC I think you are, this is what I've got to say to you:

      You suck. Heck, you suck so bad, you make vacuum look crowded. Now either shut the FUCK up, or shut the fuck up.

      -m

      99 little bugs in the code,
      99 bugs in the code,
      fix one bug, compile it again...

      --

      Voting Moo Anyway!
    7. Re:Moderate this up by Anonymous Coward · · Score: 0

      Ack, I'm fairly late posting this. I doubt you'll even see it. Anyway, the point I was making is that he never expressed interest in *rewriting* the stack, just working it, maybe rewriting *sections* of it.

      I think it's still news. JC is a fairly important person in the minds of people who play computer games and for software developers on the whole. The man is quite intelligent, quite forward looking and I think that major things he does deserve to be on /. Not all nerds would consider it news, but that doesn't stop it from being 'News for Many Nerds'

      Also, I do believe that Internet news is inheriently more flaky then 'real' news. TV/Radio/Newspapers put out news a few times a day, if even that. This gives companies time to review, speculate and confirm on possible news stories. And even 'breaking' stories, like when something major happens and is on CNN, the story is just as flaky at first. Then details are added, and by the time it reaches the newsstands the next day, there's been about 12 hours on average for the media to get quotes, details, etc. Internet news is now. Not in 5 minutes, not in 5 hours. Now.

      And as for Malda sticking to his mandate, /. posts News for Nerds. As I said before, I feel that most any *major* software-related thing that happens to John Carmack is news for many nerds. Does it matter? If it means faster net code? Then it matters to some people.

      Anyway, that's just an example. People remember things that are bad more often then things that are good. If /. posts about an offtopic story or rumor story every 3 days, they get slammed for it, despite posting dozens and dozens a day.

      - T
      (and there is more then one AC who doesn't agree with you. I just don't feel that writing derogatory statements about you is suitable means of expressing my disagreement. intelligent coversation works much better.)

  119. No, the way is to use broadband by Anonymous Coward · · Score: 0

    Meaning DSL or cable modems. Dial-up modems are dead end technology.

    1. Re:No, the way is to use broadband by the+eric+conspiracy · · Score: 1

      I agree, however the rollout of these technologies is depressingly slow. Some companies like Lucent have been hit in their stock prices partly due to slower than expected movement by the phone companies to get this stuff out.

      I know it all too well. I live in the middle of the most densely populated state in the country (NJ) and can't get either a cable modem or consumer DSL services. I could get business DSL if I was willing to pay $100+ month.

    2. Re:No, the way is to use broadband by pf+kro · · Score: 1

      I know it all too well. I live in the middle of the most densely populated state in the country (NJ) and can't get either a cable modem or consumer DSL services. I could get business DSL if I was willing to pay $100+ month.

      That surprised me. I also live in NJ, and know many people throughout the state. About 1 in 20 people cannot get either a cable modem or DSL. I can actually get both, but I chose cable because of the price. (Although I am feeling the *neighborhood* start to slow the connection)
      Hope you get something soon.
      --

      --
      steve

      C-x i ~/.sig
    3. Re:No, the way is to use broadband by the+eric+conspiracy · · Score: 1


      Us folks with Cablevision are screwed as far as cablemodems go, and DSL hasn't made it to my area yet. It pisses me off to no end that Cablevision is trying to buy up sports teams here for $$$$$$$, and runs crappy MSG channels on their cable, but is still working it's way through NY and CT with their broadband internet services. Meanwhile Comcast has had cable internet access for a year or two in towns not 10 miles away.

      DSL will probably be here in about 6-12 months, but I bet it will be crappy. Bell Atlantis does not have a good record so far. And they keep sending me notes in the mail - switch to us as your ISP. Yeah, right - at $20/mo for LIMITED service with reliability and service guaranteed to be lower than my nice local provider.

      If this is how they think, this is a very bad sign.

    4. Re:No, the way is to use broadband by Andy+Dodd · · Score: 1

      Just a note: I believe Lucent's hit in stock prices was due to a few things, but the primary thing was that the Optical Networking got nailed.

      And it wasn't due to lack of demand. (Well, sort of) For one, they couldn't keep up with demand, and couldn't deliver. Second, they're apparently releasing a lot of new technologies this quarter that a lot of buyers have been holding off on their purchases to wait for.

      It depends on your cable company. Some companies are stupid (TKR cable, which got bought by Cablevision I believe, equally stupid), and others are smart (Comcast in NJ and Time Warner in NY)

      BA doesn't have DSL yet in my parents area, and I'm wary of them anyway.

      Up at college, we have both RoadRunner from Time Warner and Light.Speed DSL from Telergy. (Ithaca, NY is Telergy's first market for DSL.)

      --
      retrorocket.o not found, launch anyway?
  120. Re:Carmack Is A Selfish Bastard (Wrong About SMP) by pnatural · · Score: 1

    quake3arena only supports SMP on operating systems that are SMP-capable, which is quite a bit different from your statment that carmack implemented SMP all by his lonesome.

  121. Might be more than a rumor.. by Digital_Fiend · · Score: 1

    John Carmack has been working on the GLX project for a few months.. And when Quake 3 shipped he said he wanted to take some time off to work on some free software projects, so there may be some truth to this. This seems like a John Carmackey thing to do.

  122. Mod this up, and link from top, it *IS* him. by Anonymous Coward · · Score: 0

    This is JohnC IMHO, I compaired tri-word groupings here and in his plan and got a good match.

    1. Re:Mod this up, and link from top, it *IS* him. by Anonymous Coward · · Score: 0

      Hey thanks Dr. Toomuchtimeonmyhands, what would we have done without you?

    2. Re:Mod this up, and link from top, it *IS* him. by Anonymous Coward · · Score: 0

      Well AC since it's *you* I'll believe you, you're just *so* trustworthy.

    3. Re:Mod this up, and link from top, it *IS* him. by Anonymous Coward · · Score: 0

      Dammit he said the *turing* test...
      ;)

  123. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    If you look at MS ping and traceroute it uses UDP not ICMP, however the common UNIX variants use ICMP.

  124. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    "You seem to have forgotten the chief advantage of a winmodem. They're cheap."

    And that's the only real advantage that they have.
    You might want to make a note that that price differential is more for the hardware makers benefit than the consumer. The maker saves on some components. The modem maker marks up appropriately. The kicker is that the components that make up a "real" modem aren't pricey and could be brought down some more if desired, narrowing or even eliminating the so called price advantage. Hardware also can out perform software all other things being equal. Someone else here noted that upgrading your processor would be like getting a new modem. One people don't upgrade their processor all that much. Second is it really that economically justifiable if you compare the "horsepower"/cost of upgrading "real" modem vs upgrading cpu? Overall looking at trends and everything else and I can say that winmodems aren't the long-term bargains that everyone makes them out to be. The only ones making favorable noises towards them are the makers and people who own one. In answer to the head question we don't have to do everything everyone else does.

  125. Software Modem by kidlinux · · Score: 1

    If linmodmes.org or Carmack produce a good winmodem driver, we'd then have to call them Software Modmes, wouldn't we?
    If the "win" implies Windows, but the modem can run on other operating systems, that'd warrant a change in name, "softmodems" or something similar.

    And if either party produced a driver that could run the software modem just as well as a legacy modem, I'd prefer to buy the software modem, because they're about half the price.

    --
    -kidlinux.
    1. Re:Software Modem by SoftwareJanitor · · Score: 2

      And if either party produced a driver that could run the software modem just as well as a legacy modem,

      That will never happen if you count the additional CPU overhead of doing things like DSP and error detection/correction in software against the software modem.

      I'd prefer to buy the software modem, because they're about half the price.

      You get what you pay for. Software modems will always be a drag on CPU and RAM resources in your machine. A friend of mine says that he has measured between 7-10% extra CPU usage when running a Winmodem in his P-III 450 under NT. Is 7-10% CPU on a processor that fast worth saving $20 on a modem? Buying a CPU that is 7-10% faster will often cost you more than $20 difference.

    2. Re:Software Modem by Anonymous Coward · · Score: 0

      Not if you overclock your current by 10%!!!!!

    3. Re:Software Modem by SoftwareJanitor · · Score: 2

      The gamers already take overclocking for granted, so that doesn't really count does it? My point is that gamers don't scrimp on hardware accelleration for video and sound, why would they want to do so on their modem? I think it is because due to the general lack of information, most of them don't know any better. If they knew the whole story, I think most of them would insist on a hardware modem.

  126. Re:Do we want to allow other OS's to use winmodems by debrain · · Score: 2
    My personal hope is that the 56k modem is the last of the dial-up era. However, I also live in hope that DSL (et al.) never falls into the Microsoft dictated "software required" trap.

    I do believe that it is quite within the world of Microsoft to have dedicated modems, DSL or otherwise, that require Windows software to operate, with integration similar to the WinModem. Such a thought distresses me, on several levels, and my wish is for choice.

  127. Afaik Microsoft has released a new winsock by Otis_INF · · Score: 1

    this new winsock dll greatly reduces latency with networktraffic over tcp/ip on win9x systems. Afaik it was released last week or the week before that. Saw it on voodooextreme, someone should search it back there if he/she feels up to it :)

    --
    Never underestimate the relief of true separation of Religion and State.
    1. Re:Afaik Microsoft has released a new winsock by BrookHarty · · Score: 1

      New winsock.dll?
      Have not seen this on any beta sites. Anyone got a url about this?
      Last upgrade was on win95 from winsock1.1 to winsock2.

    2. Re:Afaik Microsoft has released a new winsock by Anonymous Coward · · Score: 0

      Yeah bitch, here it is ignorant cocksucker.

  128. Can Linux be any more pathetic? by Anonymous Coward · · Score: 0

    Jesus Christ, it seems like about every technology is in a "this is being fixed" or "it's planned for release soon" stage on Linux. Now do you see why people who've been computing for years (read: grown up since the HaX0r days, actually work with modern OSes) just might think Linux is a piece of shit toy OS? Have fun waiting around for it.

    1. Re:Can Linux be any more pathetic? by SoftwareJanitor · · Score: 3

      I probably shouldn't respond to this obvious flamebait, but...

      Jesus Christ, it seems like about every technology is in a "this is being fixed" or "it's planned for release soon" stage on Linux.

      Uh, and this is different from other OSes how? Microsoft is always saying the same sorts of things. Otherwise everyone who was using NT 3.5 would have just stayed there and not upgraded to 4.0, and the people on 4.0 wouldn't be at all interested in 2000. Even the commercial UNIXes have areas they are working on improving. This is something that is industry wide.

      Now do you see why people who've been computing for years (read: grown up since the HaX0r days, actually work with modern OSes)

      How about someone who is in their mid 30's, and works every day with Solaris, works occasionally with AIX and IRIX, and has the occasional misfortune of having to deal with Windows NT? I've tried the *BSDs as well.

      just might think Linux is a piece of shit toy OS?

      Actually, I think only people who have some sort of ulterior motive or are incredibly stupid would think that. For most people and most purposes, Linux is pretty good already. Is Linux perfect? No. Is any OS perfect? No. There are areas where Linux is better than the *BSD's and areas where the *BSDs may be better than Linux. There are areas where the commercial *nixes are better than Linux, and areas where Linux is better than the commercial *nixes. In my opinion, Linux is better than NT in just about every way that matters, other people may not agree. Sure, you can come up with wacky configurations and benchmarks to prove whatever you want, but those things matter little in the real world. Let me set up the parameters for the test, and I can prove that a Geo Metro can outperform a Lamborghini Diablo (one answer below).

      Have fun waiting around for it.

      As slow as Microsoft is, I think I will have less time to wait to get important things with Linux than I would have to if I used NT.

      Now for the answer to the Metro vs. Diablo: Give each of them only 5 gallons of gas and a 200 mile course. The Metro wins as the Diablo would have to be pushed more than half way.

    2. Re:Can Linux be any more pathetic? by Anonymous Coward · · Score: 0

      We realize from experience that nearly all software, certainly all consumer software, is in a perpetual state of beta.

      Besides, this particular issue is only a problem if you have a machine with multiple NICs. Otherwise, it's invisible to you. There are very likely lots of things like that, with all software.

      That's why the ability to meaningfully exercise your free will and make choices in a genuinely free market is so damn useful...

    3. Re:Can Linux be any more pathetic? by Anonymous Coward · · Score: 0

      > it seems like about every technology is in a "this is being fixed" or "it's planned for release
      > soon" stage on Linux.

      You mean Linux is being actively developed and improved? Why would anyone in their right mind use something that would get better, huh?


      I think you might have misunderstood what I wrote, you certainly can have more than 1 network card installed and online in Linux, it's just that the actual interrupt handler that sends data to/from the card is single threaded. This is only a problem, then, if:

      - you have more than 1 network card
      - you have more than 1 CPU
      - you have very high levels of network traffic (multiple T3 time)

      Obviously, this is not a bottleneck for most applications of Linux as a server.

      Note that packet _data_ can be sent to/from more than 1 card simultaneously, since the data is transferred via busmaster DMA (in any decent network card), and not by the interrupt handler.

    4. Re:Can Linux be any more pathetic? by Anonymous Coward · · Score: 0

      > Have fun waiting around for it.

      I should also point out that the particular limitation mentioned (single-threaded network interrupt handlers) also applies to BSD and Windows NT 4.0 prior to service pack #5 (in other words, prior to a few months ago).

      So it's not like Linux is lagging years behind everyone else in this area.

  129. Re:Do we want to allow other OS's to use winmodems by slashdot-me · · Score: 1

    > software can never outperform pure hardware implementation.

    Bullshit. Why all the craze over DSPs? Besides, it is easier to upgrade software.

    Ryan

  130. dude! by Anonymous Coward · · Score: 0

    The guy just wants to know what flaw John Carmack has found.
    Suppose you were driving your car and someone flagged you down. You pull over and he says to you "hey there's something wrong with your car!" Would you (a) say "yes I know. It would be impossible to prove that it's perfect." and drive of; or (b) ask what's wrong with it?
    So if you KNOW what's wrong with it, TELL US ALREADY! If you don't, shut the fuck up.

    1. Re:dude! by Anonymous Coward · · Score: 0

      I read the article as saying that Carmack would like to improve performance. Being as no piece of software is perfect, I'm perfectly willing to believe this could be done. Not like he's yelling "Hey! There's something wrong with your stack!"

  131. It's just you, moron. by Anonymous Coward · · Score: 0

    I actually do respect Carmack's skill, but listening to dorks like you treat Carmack like the greatest programmer in history is nauseating. Who knows, maybe he is, but you wouldn't know, because you couldn't code your way out of a paper bag if your life depended on it. So shut the fuck up already, because your opinion on who you think is a great coder doesn't mean shit. Got it?

  132. Depends.. by Axe · · Score: 1

    ..on what you mean by outperform. For my analysis code flexibility of the software solution vastly outperforms lower latency of a possible hardware implementation.
    In the case of modems (of which I have no knowledge) adaptible code maybe (possibly) be better than rigid hardware solution.. Though I would guess that it is done anyway - just by a chip on the modem board - not by central CPU - that's where Winmodems suck, not because pure hardware/software difference..

    --
    <^>_<(ô ô)>_<^>
  133. Re:Do we want to allow other OS's to use winmodems by penguinboy · · Score: 1

    By definition, an external Winmodem is impossible. A Winmodem does not have a UART and the function of the missing UART is performed by your main CPU.
    External serial ports are driven by UARTs, so it is impossible to have an external modem that doesn't use a UART.

  134. It's not the stack by slashdot-me · · Score: 1

    If the IP stack caused significant lag then ethernet games would blow too. Modems suck. Cable/DSL sucks less. Ethernet is quite nifty. The softmodem driver would probably help lag much more than tweaking the stack. Most of the serious gamers probably have cable/dsl by now though.

    Ryan

    1. Re:It's not the stack by SoftwareJanitor · · Score: 2

      Most of the serious gamers probably have cable/dsl by now though.

      I can't understand why a serious gamer would buy a Winmodem. They pay huge premiums to get the fastest 3-D accellerated video cards and sound cards and the fastest CPU's, then they scrimp on a modem that is going to suck 7 to 10% of their speed back away. Crazy. Modem manufacturers should specifically label hardware modems as better for gaming to justify the slightly higher price.

    2. Re:It's not the stack by Anonymous Coward · · Score: 0

      Cable/DSL, if properly implemented (DSL usually seems to be, cable modems are more sporadic), don't suck really any more than Ethernet. The problem is that they're usually going through congested internet routers. Ethernet fares no better once you venture out beyond your LAN, since at that point you're not talking about your original connection technology at all. The best ping times I've seen in Quake LANs (100Mbit connected through an active switch) are around 15ms (as measured from inside a Quake/QW client while connected to the server). The best online pings I've seen in QuakeWorld were also about 15ms (steady), for people on DSL connecting to the ISP the server was located at.

    3. Re:It's not the stack by overshoot · · Score: 2

      Maybe the video card outfits should consider including a real modem on the high-end video adaptors. Save a slot, speed up network gaming, and add only minimally to the cost.

      --
      Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
  135. QoS-based CPU scheduling already done in Linux by Cato · · Score: 1

    Quite a few research and production-quality versions of Linux have addressed the issue of hard real time and more importantly QoS-oriented soft real time CPU scheduling. This is normally intended for multimedia but should also help a lot with games by guaranteeing a certain amount of CPU every N milliseconds. See Linux-SRT at http://www.cl.cam.ac.uk/~dmi1000/linux-srt/index.h tml - this has links at the bottom to QLinux, which has similar features but also covers disk and network scheduling (i.e. packet queuing). Also linked are RTLinux, which in 3.0 I think may have something similar, and KURT, another RT Linux.

    One very encouraging thing about the two university projects is that they are doing cutting edge research on Linux rather than inventing a unique operating system - while the latter is sometimes necessary, Linux is often as good a testbed as any, and it makes it much easier to turn the research into open source that is of product quality.

  136. Re:John Carmack && reworking Linux IP stack == goo by Muerte2 · · Score: 1

    I think what he meant is that Quake 3 plays really well on his 28.8 compared to other games, and of course Ethernet beats that hands down. We can all admit that Quake 3 has good netcode, but even the best netcode will be helped by a lower ping. Muerte

  137. Re:... John-Carmack-Turing-Test by LetterRip · · Score: 3

    I think its a computer


    LetterRip

  138. Fool. by Anonymous Coward · · Score: 0

    That type of attitude disgusts me. The sooner you learn that the *only* measure of success is totally subjective, the sooner you will realize that work on, for example, Linux is no more worthwhile than work on something like Quake. In a Universe where Mankind is totally irrelevant, a miniscule collection organisms on a miniscule piece of rock, a Universe where there is no end-goal, anything we humans do is irrelevant and trivial, regardless of how it is perceived by other humans. None of us matter. We, as trivial collections of molecules, have only our happiness as a measure of our success. loryan@sfu.ca www.sfu.ca/~loryan/neural.html

  139. Wow by Anonymous Coward · · Score: 0

    This is the first AC post *EVER* to reach a score of 4.

    1. Re:Wow by mortonda · · Score: 1

      Actually, no.

      Some time back there was an interview on slashdot where the person getting interviewed got the "first post". and it got moderated up to 5!

      (and moderated down, and up, and down...)

  140. We don't have to have just one stack by cpuffer_hammer · · Score: 2

    Remember this is Linux with loadable modules. We can have more than one stack.

    A full stack with all the stuff needed for all the different parts of TCP/IP and the kinds of buffering that is needed for all this different ways it will be used.

    AND a striped down games stack that only talks to other stacks like itself. It would not need to respond to anything but gaming packets. You could also move part if not most of the stack to the ISP side of the wire. this could remove a lot of overhead. I mean what could be done in terms of NETBIOS type stack for local LAN (not routed) gaming. Who needs IP addresses if you are all on the same segment? heck.

    The same kinds of things could be down with win modems (if we can figure out how to control them) no buffering low latency exect...

    The point is that we can have choices we can do thing differently we don't have to be locked into a single stac

  141. DSP versus x86: when two worlds collide by Anonymous Coward · · Score: 0

    OK, let me rephrase what the poster was trying to say. Software running on a general-purpose scalar CPU like an x86, even with MMX/SSE/3DNow extensions, can never outperform a cheap, dedicated DSP chip which was designed to do nothing but fast frequency-domain transform work.

    DSP tasks are very specialized and very vectorizable. The speed of a DSP implementation scales more or less geometrically with the gate count. That hasn't been true of the x86 architecture for a long time.

    I have a great deal of respect for John Carmack, but in this case I think he's misapplying himself. Trying to make 10% of a $600 CPU act like a $10 DSP chip is not an optimization problem -- it's an ethical one.

  142. Making QoS work for gaming by Cato · · Score: 5
    Making the modem go faster is by far the biggest win, but I'm a QoS person so I'll address that issue.

    Making routers actually pay attention to QoS bits, and defining specific queuing behavior for them.

    This is happening, largely as a result of an IETF standards effort called DiffServ, which is defining building blocks from which the network behaviour required by a particular application can be provided, even in the presence of network congestion. Most routers today can interpret 8 priority levels (IP Precedence) of which 6 are user accessible - unfortunately they are not set up to do this because it is a configuration nightmare. The good news is that my company and others are going to take out the configuration hassle and make it easy for ISPs to configure their routers for DiffServ (we make network management software to configure this).

    Most twitch games will want priority queuing, or at the least some guaranteed access to bandwidth for critical packets. Unfortunately this is exactly what Voice over IP (VoIP) requires, which is probably much more lucrative for the ISPs since it can be charged by the minute... Dedicated gaming networks may well be able to set priorities that make sense for gamers, though.

    A "realtime" packet should never be added to a queue if there is another one from the same connection that is already in the queue. Multiple queuings just add latency that can't be controlled at the application level. Jump-to-head-of-queue would sure be nice, but that's probably too much to ask for in the name of "games".

    This is like many multimedia applications, e.g. VoIP and videoconferencing, where if a packet is delayed it is no use so it might as well be dropped. One approach to this is for the application to become adaptive (or maybe the IP stack or linmodem code, given some hints from the application), i.e. to not send packets so frequently in times of congestion. At least then the offered load to the network is reduced, which is important in the non-DiffServ case.

    The other approach is to use DiffServ to implement a low latency service, in which every suitably marked packet goes right to the top priority queue. Through careful limiting of what traffic gets into the network with that packet marking, the idea is that the top priority queue is almost always empty so low latency packets go right through every router with minimal queuing delay.

    It's worth noting that if the queuing is working properly, the 2nd packet should never run into the first packet anyway, so it's probably easier just to throw DiffServ at the problem. This also avoids the need to keep track of things on a per-flow basis - when there are 1000s of real-time sessions going through a larger router, you really don't want to have to keep track of sessions (aka flows in QoS speak).

    The Linux host sending the packets could implement the 'dump earlier packet' behaviour in its queuing mechanisms, but it would have to be per-flow, and the same arguments apply - it's better to reduce host, modem and router latency so that the packets go right through and have no chance to bump into earlier packets.

    If you're interested, the Linux-DiffServ project is based on the 2.2 kernel - they've done a pretty flexible and complete implementation. More general links on QoS including DiffServ can be found here, under the Links button.

    DiffServ technology is coming, and in fact exists in basic form in every Cisco router. The big issue for gaming is getting ISPs to implement DiffServ, and to charge for it in a sensible way so it's accessible to gamers.

  143. I agree by Anonymous Coward · · Score: 0

    It would be nice to see JohnC throw his weight behind PowerPlay. IP stacks are a pretty damned mature technology at this point, and I'd be utterly blown away if there is much low-hanging optimization fruit left to be picked.

    These rumors seem somewhat misguided, to say the least.

  144. Re:Do we want to allow other OS's to use winmodems by pf+kro · · Score: 1

    You do make a good point and are correct when you say External serial ports are driven by UARTs. However, a friend of mine has a USB modem. Yes, it's a 100% Software-required winmodem.
    --

    --
    steve

    C-x i ~/.sig
  145. Re:TCP is too slow and is collisionless... by Anonymous Coward · · Score: 0

    So now hardware quality determines collision rate? Better read up on CDMA loser.

  146. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    Wrong...ping and traceroute use ICMP, even in MS land.

  147. Re:Fool (offtopic) by Anonymous Coward · · Score: 0

    Now that was GOOD. Peace brother.

    (But of course it doesn't matter what I think. ;-)

  148. What's with this assumption that Linux has a bette by TummyX · · Score: 2

    better TCPIP stack?

    NT's TCP/IP stack seems to outperform linux farely substantially, because it's threaded, and generally BSD based.
    NT keeping up with Linux's TCP/IP performace? Maybe on a 486, but not on a scaled SMP or even normal high end machines.
    Linux lacks many of NT's optimization features (like IO completion ports), or evn sufficient use of any threading.

    Also, lets not forget Windows 2000 currently holds the networking speed record.

  149. Re:TCP is too slow... Hello? McFly? by TummyX · · Score: 1

    uh, TCP == Transfer Control Protocol.

  150. Re:TCP is too slow and is collisionless... by Anonymous Coward · · Score: 0

    Shared media are cheaper but suffer from contention. If you want to avoid collisions, you buy switched 100BASE-TX instead.

  151. Re:Do we want to allow other OS's to use winmodems by esnible · · Score: 1

    A GPL'ed Carmack-written Winmodem driver would be a very good thing for free software and free hardware.

    Currently, Winmodems are evil little beasts with shoddy drivers and no public specifications. John Carmack is one of the few people who could convince a modem manufacturer to disclose Winmodem specifications. A high performance open source driver, released under GPL or other sufficiently viral license would give a jolt to Open Hardware.

    I agree with you that a closed-source vendor-supplied Linux winmodem driver, and apparently Lucent has done this, is bad for everyone.

  152. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    That's funny, my copy of RFC 768 is titled "User Datagram Protocol", and the word "Unix" isn't there at all.

  153. Re:What's with this assumption that Linux has a be by Anonymous Coward · · Score: 0

    so, please illuminate for us, just where in the TCP/IP stack, do you code I/O completion ports ?

  154. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    If you lay out an IP packet, ICMP is encapsulated in the body just like TCP and UDP are. It's a utility built as if it were an application.

  155. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    Connections are controlled by the SYN, ACK, and RST bits in the header of every TCP packet. Granted, things won't work very well without unreachable messages or quenching, but you could still limp along.

  156. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    Ping is an ICMP echo request, practically by definition. And traceroute as we know it wouldn't work- it deliberately sends packets that should time out before reaching their destination, and "TTL exceeded" is an ICMP message!

  157. So THAT is what Bolo was for? by tilly · · Score: 2

    And I thought that it was just to waste time and make the girl next to me in the lab (who was an awesome player) swear constantly!

    I remember that game. Whoo boy do I remember it! Too bad it didn't survive the PowerPC transition. :-( (OK, it got rewritten, but it was simply never the same.)

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
    1. Re:So THAT is what Bolo was for? by Anonymous Coward · · Score: 0

      The author, by the way, was Stuart Cheshire, who was researching networking (such as software for Metricom wireless modems) at Stanford. I believe he later (as in a year or so ago) went to work for Apple. He had an interesting study of latencies over various connection types and good descriptions of the inherent reason for such latencies at his web site, though I forget the URL at the moment.

  158. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    wrong again. Ping uses ICMP on both windows and UNIX. Windows unix uses ICMP for tracert, whereas unix's traceroute blasts UDP packets at a presumed unused port range, and listens for the ICMP ttl expired messages.

    That is why you can easily fake out standard unix traceroute by listening to packets on that range of UDP ports. Of course, traceroute itself has an option to use a different port range, so the arms race continues.

  159. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    try Transmission Control Protocol.

  160. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    "who says a WinModem can't work as well as a real modem? "
    Me
    Everyone with more than half a brain.
    Only total fools allow themselves to get saddled with these dogs. Then again all modems kinda suck now a days I guess. I couldn't put up with one today. Really I think there's better things for people to work on with Linux than the TCP/IP stack or WINmodem support, something I hope I never see. Why should Linux support substandard hardware? If John wants to work on something maybe he should pick something more in line with his expertise? Linux only supports 2 chipsets for hardware accelerated GL that I can tell.

  161. Low modem latency by /ASCII · · Score: 1

    There is a product from 3com called the "Gaming modem", (http://www.3com.com/client/pcd/products/prod-game mod5613-int.html) that is supposed to lower the ping. The homepage doesn't say anything interesting about the product (Why are almost all corporate homepages so uninformative?), but I remember reading a review claiming it was actually mostly a driverside improvement. Could this be done for all modems? Would it matter, or is this whole "Internet"-thing just a part of the Y2K-hype?

    ---

    --
    Try out fish, the friendly interactive shell.
  162. Reducing Latency by Detritus · · Score: 3
    I've done some work in reducing latency in telemetry systems. Some of it may be useful.

    Buffering is the main problem. You have to look at the end-to-end system and find all of the places that data is being buffered. Examine hardware and software, add up all the bits and bytes of buffering.

    Packet/frame size should be kept small. If it is too large, break it up into a sequence of smaller packets. Transmit four 128 byte packets instead of one 512 byte packet.

    If possible, build the packet as it is being transmitted, a word at a time, rather than building a complete packet and transmitting it.

    On the receiving side, you can process the data in a packet as it is being received, you don't have to wait for the last byte in the packet.

    Error detection/correction hardware and software can add large amounts of latency.

    Watch out for FIFOs in the transmitter and receiver. They can add substantial amounts of latency.

    The ideal situation is to take a sample of a parameter and immediately put it on the wire. The receiver then processes the sample as soon as it receives the last bit of the sample.

    A slower modem speed may actually reduce latency if it enables you to avoid the use of error correction. A dumb modem is the ideal.

    --
    Mea navis aericumbens anguillis abundat
    1. Re:Reducing Latency by HalfFlat · · Score: 1

      The only problem with sending multiple packets is the tradeoff in bandwidth - the fifty odd bytes of header means that sending 100-byte packets instead of 400-byte packets uses bandwidth only 75% as efficiently.

      The extra header information also adds delay in and of itself, so there does come a point of diminishing returns.

  163. Wireless by Anonymous Coward · · Score: 0

    "High bandwidth will most likely never be availible for them, at least not until someone comes up with a consumer bidirectional satellite connection"

    Try cellular phone network. There are third-world countries who are skipping the "run a wire" phase of communications infrastructure, and going straight for wireless. So he may be a punk who lives in the big city that doesn't mean that people out in the "sticks" will be stuck with low bandwith connections. BTW high-speed satellite connections are available. Problem like anything nice is of course cost.

    1. Re:Wireless by Anonymous Coward · · Score: 0

      With current cellular standards, you'd be amazingly lucky to get even 30Kbps, usually much less. High-speed satellite simply can't scale to the masses; a few gigabits isn't much when you have to share it with a continent or two.

  164. Programmer at Be Inc. by Anonymous Coward · · Score: 0

    This is what one programmer wrote to me regarding the new tcp/ stack. "The stack that is being worked on will be very cool. It was designed by looking at BSD and linux and anything else, and trying to figure out how to make it faster and more modular. I am personally very impressed with the design. I, however, do not know when it'll be released. It's fairly far from done, so probably not the next release...""

  165. patch by Anonymous Coward · · Score: 0
    I look forward to seeing what happens and what patches are introduced...

    I expect to see some talk of this on kernel traffic?

  166. Re:Do we want to allow other OS's to use winmodems by C.Lee · · Score: 0

    >If the Linux community ever wants to see Linux catch on for the
    >general public, Linux will have to address the needs of the general
    >public. One of those needs is that we'd like our winmodems to work
    >under it. If the Linux community banded together and decided that they
    >didn't want winmodems supported, it could only hurt the OS's chances
    >of winning over "average" users.

    And outside of dimwitted tech reporters who work for Ziff-Davis and USA Today....Who really cares all that much about "winning" over "average" users anymore? This is the mistake that sank the Atari ST and Amiga and quite frankly is one that should be avoided at all costs. Linux and the BSD's are doing just fine without chasing after "Joe Six-pac" and his brood. If they want to take the time and effort to learn Linux or any other OS, fine. But we shouldn't bend over backwards for them. The companies who make and sell those shitty Winmodems should be recieving all the abuse they are getting from their customers over manufacturing and selling such a shitty product. It not that the "Linux community" are about to band together and decide not to support winmodems, it's that most of us just couldn't care less either way.

  167. Re:John Carmack && reworking Linux IP stack == goo by crimsun · · Score: 1

    Gracias, Muerte2, you have clarified what I so brilliantly fux0r3d up. ;-)

  168. Ken Thompson's main gripe about linux is the stack by Anonymous Coward · · Score: 1

    Ken said in a refent interview with IEE that Tom Christenson has posted here stated he fears about linux being used inn a firewall/router. He says some parts of linux are good but others are awefull and then he mentioned stability in doing things like firewalling on pc hardware. My guess is that Thompson hates the stack.

    I think its speghetti code that pc magazine has shown that its not scalable. I assume its stable and that Thompson was wrong on this. Either way it needs to go. I looked at the code and was amazed at how clutered it was.

    One thing that Carmack knows how to do is to come up with ideas on how to squeeze the last ounce of performance out of slow hardware. Quake is really its own operating system. It has its own i/o code, video buffering schemes and services and even its own custom networking code. I believe Carmack will blow the world away and I even regard him as good if not a better coder then linus. (Insert flame here)



    Anyway I would a tcp/ip rewrite. The original stack was not designed to be high performance. I believe there is alot of old code left in the tcp/ip stack that needs to go increase stability and performance.


  169. Just a few corrections... by Andy+Dodd · · Score: 1

    Mainly, Adrian Carmack isn't John's brother. Just a coincidence that they have the same last name.

    I think Brian Hook does deserve a bit more credit than you give him for the netcode and (I believe) some of the GL miniport. But it still can't be denied that JC has done a LOT for the gaming industry, and has recently been contributing quite a bit to Linux. (He's an active contributor to the driver project for Matrox boards, and probably contributes to a number of other GL drivers.)

    The gaming industry (Well, at least FPS games) wouldn't be where it is without John Carmack. No one has been able to touch ID software in terms of their programming skills. (I will admit that Epic had some great ideas with UT - but their engine gets torched by Q3's. The mod coders won't take long to fix Q3's deficiencies. No mod coder can fix UT's network code.)

    --
    retrorocket.o not found, launch anyway?
  170. Re:Do we want to allow other OS's to use winmodems by Andy+Dodd · · Score: 1

    I agree...

    USR Winmodems sell for around $100, real ones for $120.

    Real modems from other mfrs (Zoom, especially) sell real modems for less. ($80-90 or less, and that was 2-3 years ago for a 56K)

    --
    retrorocket.o not found, launch anyway?
  171. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    Hmm - I thought USB modems were actually real modems. (Although there might not be Linux support for them yet.)

  172. Commander Keen by delmoi · · Score: 1

    Carmak wrote Keen.

    Infact, the game was the first implementation of a new EGA 2-d engine

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  173. How to do IP over modems right by Animats · · Score: 5
    I see what Carmack wants to do. Modems today are done all wrong. They present an interface to the computer that looks like an asynchronous byte stream. But, in fact, the wire protocol hasn't been a byte stream since 1200 baud. All modern modems are in fact synchronous block devices, like an Ethernet adaptor. But for historical reasons, we take an IP packet, use PPP to turn it into a byte stream with block markers, shove it through a FIFO, losing the block boundaries, and then the modem breaks it into units for transmission and error correction, using some timing heuristics to try to guess the block boundaries for efficiency. Bad guesses here hurt latency. Even worse, we emulate this entire process for modems that have bus interfaces.

    A better way to do this is to have the modem accept blocks from the networking software and send packet-sized blocks as blocks. Get rid of the serial port emulation entirely; it's an anachronism and a bottleneck. We'd then have an IP modem. No more PPP byte-stuffing and control character translation.

    The hardware interface for a Winmodem potentially makes this possible with existing hardware. So it's feasible to do this in software alone. Both ends of the wire have to talk the new protocol, so the ISP end has to be updated too. But many of those systems have a T1 in one side, an Ethernet out the other, and a DSP in the middle, so they're reprogrammable.

    Good move. Go for it.

    1. Re:How to do IP over modems right by pen · · Score: 1
      NOOOO! Not after I just shelled out $100 for a Zoom 56k External!

      --

  174. Re:What's with this assumption that Linux has a be by Anonymous Coward · · Score: 0

    > Linux lacks many of NT's optimization features (like IO completion ports)

    man sigaction

    > or evn sufficient use of any threading.

    Define sufficient; some parts of Linux are more threaded than others. Why rework something if it isn't a bottleneck?

    > Also, lets not forget Windows 2000 currently holds the networking speed record.

    For what? And if so, where are all the sites out there using it :)

  175. anti-foogle attitude? by Anonymous Coward · · Score: 0

    what's with all this anti foogle atitude?

    1. Re:anti-foogle attitude? by Foogle · · Score: 1
      That's what I want to know. It's the same person, I'm pretty sure.

      -----------

      "You can't shake the Devil's hand and say you're only kidding."

    2. Re:anti-foogle attitude? by Anonymous Coward · · Score: 0

      No, it's not you ballsucker.

    3. Re:anti-foogle attitude? by Anonymous Coward · · Score: 0

      I think it's the AC's way of showing you that they love you, or something :D Just keep being happy-illigitemi non carborundum
      fist prost, not first posting today :)

  176. Hardware PCI modems from 3Com and the such... by Kit+Lo · · Score: 1
    I'm using one "gaming modem" from 3com right now. The 3Com "Internet Gaming Modem" and the "56k PCI Faxmodem" are hardware modems that will work with Linux. I checked the boxes for both of them, and the system requirements say so ( Minimum System Requirements: IBM® compatible 486DX or Pentium processor with available 2.1 PCI slot). Just use the latter modem (56k PCI Faxmodem) and go nuts, kids!

    The Winmodems are not modems web page has posted a letter on how to work these babies.

    By the way, get rid of the "exec" part if this is used in the rc.serial file and start with "setserial" and the rest of the settings.
    --

  177. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    So you are saying, that we are getting often files slower than we could on the same connection for some reason that is in stack? Then we gotto remove that stupid limit NOW. I want my modem work at it's fullest.

  178. I think you missed the point... by MenTaLguY · · Score: 2

    So you are saying, that we are getting often files slower than we could on the same connection for some rason that is in stack? Then we gotto remove that stupid limit NOW. I want my modem work at it's fullest.

    Then the Internet collapses as all the major backbones get saturated, and the world as we know it ends. Tragedy of the Commons, my friend.

    --

    DNA just wants to be free...
  179. $80? try $16 by delmoi · · Score: 0

    The average generic winmodem costs about $16-$18 online.

    You can probably find a 'real' one for about $50

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
    1. Re:$80? try $16 by Anonymous Coward · · Score: 0

      I bought a new $20 off-name modem. Works like a charm...

  180. Re:Do we want to allow other OS's to use winmodems by delmoi · · Score: 1

    My personal hope is that the 56k modem is the last of the dial-up era. However, I also live in hope that DSL (et al.) never falls into the Microsoft dictated "software required" trap.

    Well, you havn't got much to worry about, 56k is the maximum posible with the current phone system. The only way to get more would be to replace the phone system, witch is what DSL is...

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  181. Reading /. in Hawaii by MacJedi · · Score: 1
    Wow.. the man is on his honeymoon in Hawaii and still he reads /. :)

    Btw Congrats, John!

    /joeyo

    --
    2^5
  182. ... by Anonymous Coward · · Score: 0

    ...or Jesus

    1. Re:... by myconid · · Score: 1

      Im sorry, I try not to do this .. but

      lmfao...

      Hehe.. good timing..

      --

      SB.
  183. It's the Latency, Stupid - classic paper on this by epeus · · Score: 1

    Stuart Cheshire, IP guru and author of Bolo, investigated these issues very thoroughly 4 years ago, and wrote it up as It's the Latency, Stupid , which you shoudl read. He also wrote a second paper Latency and the Quest for Interactivity , which is also well worth reading, but I'll quote the conclusion for those too lazy to click a link (remember this was written in 1996):

    To improve the quality of computer network interaction, we need to do two things:
    1. We need to aggressively eliminate all causes of unnecessary latency in our computer hardware and software.
    2. For interactions with the other side of the planet, we can never beat the speed of light, so we need to develop latency-hiding techniques that give us the illusion of interactivity when true interactivity is not possible.
    As long as customers think that what they want is more throughput, and they don't care about latency, modem makers will continue to make design decisions that trade off worse latency for better throughput.
    Modems are not the only problem here. In the near future we can expect to see a big growth in areas such as ISDN, Cable TV modems, ADSL modems and even Wireless 'modems', all offering increases in bandwidth. If we don't also concentrate on improved latency, we're not going to get it.
    One first step in this process would be for the industry to adopt a modem latency rating scheme. TEN, MPath, Catapult, Sandcastle and the other network gaming companies could collaborate to set this up. Modems that can achieve a round-trip delay below say, 100ms, could be authorized to place a sticker on the box saying "Gameplay approved" and the gaming companies could encourage their customers to buy only modems that are "Gameplay approved".
    If we don't start caring about latency, we're going to find ourselves in a marketplace offering nothing but appallingly useless hardware.

  184. wasn't AC though by delmoi · · Score: 0

    It wasn't an AC post though, and the funny thing was about thirty or so people moderated it as "funny" and 18 moderated it as "offtopic" or whatever

    "Suble Mind control? why do html buttons say submit?",

    --

    ReadThe ReflectionEngine, a cyberpunk style n
    1. Re:wasn't AC though by mortonda · · Score: 1

      Quite right... I had forgotten that. Still, I thought it had happened once.

      On another note, why was this moderated off topic, but mine wasn't?

      Sheesh

  185. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    I can agree that he is in it to enhance his name, but to say that is the only reason is absolutely lame. People never do something for one reason, we always do things for many reasons, like for example, I could say you are posting out of jealousy "nothing more nothing less", but the truth is you're posting out of jealousy, ignorance, lack of control, AND lack of responsibility for what you post.

  186. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    And I bet you want to hold his hand while this happens, pervert...

  187. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    "I don't code 3d games." Obviously, you probalby don't do anything worthwhile other than swear at the people you're jealous of because you know they're smarter and more worthwhile than you will ever be. "There are several people who do and who do it quite better than Carmack." So name them. Who was making a game with a better or more advanced engine than Wolfenstein 3D in 1992? Better than Doom in 1993? Better than Quake in 1996? Better than Quake 2 in 1997? Better than Quake 3 today? The answer is nobody. Not even Tim Sweeny of Epic (Unreal/Unreal Tournament) is beating him at this game--Q3 is definitely the stronger engine across the board when compared to UT.

  188. Re:Ken Thompson's main gripe about linux is the st by Anonymous Coward · · Score: 1

    I think that was abit too much praise... remember the reason for making quake world? Hes a good programmer, but dont give him too much credit.

  189. Thank you very much - extremely relevant! by tilly · · Score: 2

    Thanks to the ever-handy Google I quickly tracked down his home page with all sorts of things like his Latency rant. Lots of other reading material...

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  190. Some classic and related rants by tilly · · Score: 2

    An anonymous coward pointed me at Stuart Chesire's home page which has a lot of interesting rants, including a technical white-paper on latency that almost exactly matches what John Carmack just wrote.

    (Lots of other good rants as well...)

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  191. Re:TCP is too slow and is collisionless... by Anonymous Coward · · Score: 0

    uhh...so you think that 100base-tx is able to go out on the network before sending the packet to see if the line is clear? Wow, so when did ethernet start using tokens. Collisions are a fact of life with ethernet, it was not designed as a collisionless protocol it was designed to minimize the latency between when a collision is detected and a new packet is sent out.

  192. BS. like Carmack has time to do this by Anonymous Coward · · Score: 0

    the guy has to do everything at id practically. he doesn't have free time to spend on this kind of thing.

  193. Shut the fuck up by Anonymous Coward · · Score: 0

    Do you think Carmack is going to come to your house, shake your hand, suck your dick, and let you drive his Ferrari after you backed him up on Slashdot?

  194. Re:Do we want to allow other OS's to use winmodems by penguinboy · · Score: 1

    Guess I forgot about USB - you certainly can have an external Winmodem on the USB bus. And with USB I guess you could have it either way - winmodem or normal.

  195. 8 months is not "a few months" by Anonymous Coward · · Score: 0
    me: it seems like about every technology is in a "this is being fixed" or "it's planned for release soon" stage on Linux.

    some AC: You mean Linux is being actively developed and improved.

    Red herring. Just about every OS is being actively developed and improved. Improvement's not all that helpful when the thing's still broken. The more I think about it, the more ridiculous your answer sounds. "Johnson, ya got that blueprint done, it's time for the meeting!" "Done, boss? What for? Don't worry, it's under improvement." "Johnson, you're fired."

    And as for the NT thing, if you want to talk about NT4, service pack 5 actually came out last May. So Linux's fix still isn't here yet, and it's already closer to a full year behind than it is to being just "a few months ago."

  196. Re:External Winmodem by apirkle · · Score: 1

    I have seen several USB modems, and I would assume that they are winmodems...I think Creative has a USB Modem Blaster out, but I'm not sure.

    That would be fun to work with in linux...a USB winmodem. Ye gods...

  197. I love a good bBolo reference. by mecca · · Score: 1

    By the way, there is a Bolo for indows out now. Everyone needs to persuade John to port it to Linux/Unix. Get it at http://members.xoom.com/jamorrison/winbolo.html

    The tracker is located at http://bolo.zoid.com:50001/

    --
    Have you checked out Zoid.com yet? Zoid.com
  198. Re:Do we want to allow other OS's to use winmodems by Little+Brother · · Score: 1
    ISDN modems require the user to set up the local spids to work with local infrastructure. These spids are only good in the house of the person who ordered the ISDN service.

    Cablemodems are set up by the cable company so that they only function on the node they were assigned to. Thus they can only be used inside the house of the person who ordered the cablemodem.

    I don't know about dsl, but I wouldn't be supprised if a user can't log in to his ISP using DSL from areas other than where they ordered the service (can someone tell me about this?)

    Why does this matter? Because not every computer user always uses his computer from home. Many have laptops, palmtops, or even occasionaly move their desktops. (I have an uncle who travels with his desktop computer).

    Untill broadband access is mobile there will always be a place for the modem. A traveler can almost always find a phone outlet to plug the modem into. He can often find a local access number if he's chosen the right ISP.

    --

    Little Brother, watching the watchers

  199. Re:TCP is too slow and is collisionless... by Anonymous Coward · · Score: 0

    uhh...so you think that 100base-tx is able to go out on the network before sending the packet to see if the line is clear? Wow, so when did ethernet start using tokens.

    Uhh... That *is* exactly what ethernet does ("goes out" on the network and sees if it's clear). It's called CSMA/CD. The CS stands for "carrier sense". It listens for activity on the network, then sends its data, then listens again for an unusual amount of high voltage that would indicate a collision. If a collision is detected, it resends using an exponential backoff algorithm. CSMA/CD greatly reduces the number of collisions compared to a "spray and pray" approach, but they still happen from time to time on shared media (especially with 20%+ utilization).

  200. Re:What's with this assumption that Linux has a be by Anonymous Coward · · Score: 0

    Dickwad. It isn't out yet.

  201. Re:What's with this assumption that Linux has a be by TummyX · · Score: 1


    Define sufficient; some parts of Linux are more threaded than others. Why rework something if it isn't a bottleneck?


    The thing is it is. Almost everything is a bottleneck - especially on TCP/IP if it's not threaded - this is especially important too as linux becomes more GUIish.


    For what? And if so, where are all the sites out there using it :)

    Well, Microsoft.com and a few other sites out there are using IIS5 (microsoft.com is the world's largest commercial site).

    And the speed record was set with the university of washington.

    blah

  202. Carmack Shmarmack (grain of salt recommended) by root:DavidOgg · · Score: 1

    Um, I hate to burst your bubble, but wasnt Quakeworld released because the network code was poorly written? Is this the man that should take on a server OS networking code? He didnt have the foresight to realise that people were going to play quake on modems, and that not everyone had ethernet internet connections.
    Seems he likes pointing fingers and saying "do it MY way, I'm God" - Remember he insisted that Quake 3 would ONLY be ported to Mac IF they used OpenGL as their main API, *AND* they must release Rhapsody and implement that as their OS! Like thats up to a game developers whim. (so basically, Mac ported to Quake 3, not the other way around)
    Oh, and he shunned 3dfx with the decision to not support glide in linux or windows, and to implement OpenGL in a way as to break Voodoo drivers that have been "fixed" to be "Quake 3 compatible" -- and in linux, it seems you cant run both {Quake1&2} and Quake 3 with the same X server, because of glide and OpenGl.
    And then on to 3DNOW! support for Quake 2, he totally blew this one off and the only way you can get 3DNOW! support is through an unofficial, unsupported patch downloaded from AMD.
    I dont want to sound like a troll, but this man codes his product, and pretty much ignores the environment his code will habitate, and blames that environments problems on the other developers who's code or hardware will share that environment, and puts it on *their* shoulders to ensure that their stuff is compliant to his code! Even if its something like the OPERATING SYSTEM!

    This is NOT the man that should touch the stack, or he might tell us that (loose analogy here) You need to use a different OS, You cant use that protocol with my stack, I'm dropping support, and I dont CARE if its an industry standard, AMD supported, nope, call AMD and stop bugging me. Modems, hell this stack only works on LAN! who has modems? not me, John Carmack! Will it be portable to the Mac PPC linux? hmmm... I'll only do it if they make a "Quake 3 RED" iMac.

    Now Tim Sweeney, thats ANOTHER story ;)

    --
    --AROS is an Open Source AmigaOS clone, and source compatible with AmigaOS! Try the x86 build at http://www.aros.org
  203. Re:Carmack Is A Selfish Bastard by Relforn · · Score: 1

    Nope. The "modem vendors releasing specs" is not what keeps there from being 'winmodem drivers' for Linux.

    It would involve deep layer kernel hacking to put native DSP coding into Linux that would enable the kernel to emulate a modem. Because that's how Winmodems work. A modem emulator is not something you can just cram into a timesharing system without a hell of a lot more rewriting than is realistic.

    Try again.

  204. Re:Carmack Is A Selfish Bastard by Relforn · · Score: 1

    For some reason you people all seem to think that codeing a 3-D first person shooter game is the ultimate action in 3-D graphics programming.

    Here's a clue for you: The under $60 shrink-wrapped software market is NOT the end all and be all of 3-D graphics programming. If it were, then the animation at movie theatres would, well.. all look like Quake.

  205. Hope the honeymoon is going well by Anonymous Coward · · Score: 0

    Congrats John,
    Hope the weather is nice and the surf is kicking. Itchi

  206. I think you're wrong. by Ryan+Taylor · · Score: 1

    hrm... I dunno... I'd rather get cutting edge news and rumors then get a solid pile of day old stuff regularly. Who are you to say I can't? You have you're preference, I have mine. I like mine. Keep up the good work /., don't listen to this punk-monkey. And speaking of you, suggesting that /. goes out and creates false news intentionally seems pretty unconfirmed. I suppose you have no obligation to hold yourself to the standards that you're demanding tho... still. I dunno, you just sound like a turkey to me. A big turkey. With really big socks. Statements like "The people of Slashdot love to bad unconfirmed rumors around till they sound like the truth"... How arrogant can you get? Serriously, how do you know what they intended? You're prolly right tho... they must be out to get us. I mean, you say it with such confidence!!! You don't even have one of those "This is unconfirmed" disclaimers on your post, so it MUST be true, right? You prolly have hundreds of hours of phone recordings of them detailing their plans to snooker all of the /. reading community. You keep them stuffed in your matress, right? That is the kind of story validation that you're asking for, isn't it? I can hear them now, laughing, yes, LAUGHING at all the fools who believe their misbegotten LIES. It's a conspiracy man!! They're out to get me! The black hellicopters, EVERYWHERE!!! THEY'RE EVERYWHERE!!!! ARARARARGH!!!! If anyone asks, you last saw me heading south. You're the only one I can trust. This may be last you hear from me. Good night and good luck.

    --

  207. Re:#EXTERNAL WINMODEMS by cpufreak · · Score: 1

    YOu can get external usb winmodems - a friend bought one recently by mistake!!

  208. Re:2.3.* by cpufreak · · Score: 1

    any body tried that on a smp machine...last time I tried a 2.3 kernel (2.3.28), it would not compile for me...
    has this been fixed yet?

  209. Re:What's with this assumption that Linux has a be by TummyX · · Score: 1

    I usually don't directly code IO completion ports cause I don't usually write high end 'enterprise' software, however I do benefit from them indirectly cause my ASP runs IIS, and many other NT software uses IO completion :)

  210. Re:What's with this assumption that Linux has a be by LinuxGeek · · Score: 1

    Well, you are comparing a soon-to-be-available product from MS to the almost year old Linux kernel. I suggest that you examine the ( quite stable) development 2.3 series if you want a look at what will soon be the new stable series.

    Mucho improved TCP/IP stack is one of the many revamped features. Thanks go to Mindcraft for exposing some linux flaws so Linus, Alan and many other talented coders could streamline the stack. I do enjoy the irony that MS funded the Mindcraft benchmarking that pointed to specific problems in the Linux networking code, and that has lead to greatly improved networking effeciency at the kernel level ( and a nifty kernel based web server for static pages)!

    I also like your mention that the (completely unbiased?) Univ. of Washington has crowned MS as the network speed kings. I can only believe that their conclusion was drawn for a very limited sampling of the networking environments available to the business world. Maybe they limited themselves to benchmarking equipment they could purchase at Wal-mart.

    I will believe that MS has improved their networking to the levels demanded by business environments when they are able to replace all of the Unix boxes that power hotmail.com with the same number of similar power servers running their W2K Server based OS. The tactic I imagine they would try would be to use something like the upcoming 8-way coppermine based Xeon processors to replace the same number of 2-way Unix boxes.

    Cheers Dude!

    --

    Kindness is the language which the deaf can hear and the blind can see. - Mark Twain
  211. Linux as a gamer OS? by nik_doof · · Score: 1

    Its good to hear that there might be some improvments to the stack. At the moment the current TCP/IP developer has been concentrating towards features and general network use and not speed. Sooner or later its going to be unavoidable, the games are going to be developed for linux. I am a fan of the Linux ports of Quake and QuakeII and its good to see that Linux is being seen as a OS popular enough to port games to. If this is going to continue then further optimizations to any networking protocol will come as a bonus to the users.

  212. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    You elitist pig. You should start using NaziOS.

  213. You need to re-think by Anonymous Coward · · Score: 0
    I don't get your point at all. You're complaining that Quakeworld was written? Yes, Quake's performance over modems was not good. So what did Carmack do? He wrote Quakeworld and _distributed it for free_. What was the end result? Those Quake players got to play a better Internet game. Writing good network code is very hard. Your hero, Tim Sweeney, found that to his cost when he screwed up Unreal's network code, well after Quakeworld/Quake 2 had shown how it should be done. Carmack, whilst leading the field, took some time to get it right. Sweeney, whilst copying everything ID had already done, made a mess of it, and forced Unreal players to wait months for a series of progressively less lame patches. Who did better?

    Carmack has consistently pushed OpenGl as the 3D API of choice. This has had a very good effect on the industry. It has pushed IHVs to release decent drivers for Windows, giving people the choice on that platform of using a) Microsoft's proprietary API which isn't portable to Linux or the Mac or b) an open API, which makes porting to other platforms far easier. Similarly, on the Mac Carmack wanted that same open API, rather Apple's proprietary API. What's wrong with that? As a result, cross-platform 3D programming is in a far better state than it would have been. The fact that Quake 3 was released without Rhapsody appearing gives the lie to your comments regarding that. Apple were trying to position the Mac as a gaming platform. Carmack told them what was needed to support it. Carmack then put in significant effort making sure Quake 3 worked on the Mac. End of story.

    Your comments regarding 'shunning' 3dfx are even wider of the mark. Carmack is on 3dfx's technical advisory board, for a start, so he hardly 'shunned' them. You also clearly don't know enough about 3D APIs to talk about them authoritatively. No Quake game ever supported GLIDE because it's a hardware specific API (apart from Creative's very limited 'unified' drivers), which is now pretty much dead. Why would anyone target one hardware platform with a low-level API, when they can get more done in a higher-level API and support every card with a suitable driver? You are presumably thinking of the switch from 'mini-drivers' (OpenGl drivers with such a limited subset of functionality that they wouldn't run anything else) to full ICDs. These are an ugly hack that was OK in the days when 3dfx cards were about the only ones which would run GLQuake, but they mean only games specially targeted by 3dfx (or whoever) can run with OpenGl - they just aren't aren't satisfactory with the profusion of modern games and cards. The problems with Quake games and Linux ARE due to problems with the environment. Linux OpenGl support simply isn't very good at the moment, and Carmack is working with other people to rectify this.

    I don't see the problem with AMD support for Quake 2. It works doesn't it? I downloaded the patch and the optimized drivers. Now Quake 2 runs faster on my K6-2/400. Where's the problem?

    If you'd read Carmack's post above, you'd know that this rumor about re-writing the stack is not entirely correct, anyway. Your little parody just doesn't fit with the reality. Carmack is a pragmatist, but he uses the influence he has to try to steer the industry in directions that are ultimately beneficial for developers and consumers. Your complaint isn't that Carmack ignores the environment in which his code sits, it's that he doesn't support every possible environment.

  214. Re:Do we want to allow other OS's to use winmodems by C.Lee · · Score: 0

    >You elitist pig. You should start using NaziOS.

    Sticks and stones may break my bones, but *Mircosoft Astrotufers* can never hurt me......

  215. Play win q3a full with q3demo v1.11 by Anonymous Coward · · Score: 0
    I am really pissed ...

    the linux version can't be found anywhere in many countries.

    They will just have to rely on stats from the master servers to guess how many linux users are playing.. So i bought the windows version, launch IDA and reversed it.

    Get the 1.11 linux demo from loki and use my gdb batch !!!:)

  216. Re:Ken Thompson's main gripe about linux is the st by Bryan+Ischo · · Score: 1

    Keep in mind that writing a full-blown IP stack that works well in many, many, *many* situations, on many pieces of hardware, for many wildly different programs, is very different from writing one set of I/O routines (or video routines, or whatever) for one single program that you have complete control over.

    I for one have never had any complaints about Linux's network performance, except that I've looked at the code before and it sure is ugly (alot of Linux code is horribly ugly though ...).

  217. Re:Do we want to allow other OS's to use winmodems by Anonymous Coward · · Score: 0

    ROFL, you elitist pig? What are you crying about? The man's not talking about sending Winmodem users to cattlecars and hence to gas chambers. And NaziOS? LOL, give me a break. You sound like an intellectual imbecile who really doesn't understand what the Nazis really were. Did you just learn the word in school last week? Oh, don't figure that you did. That was Christmas vacation.

  218. Here's an idea.... by Anonymous Coward · · Score: 0

    I don't want to sound rude or anything, but what about giving the game access to the modem so the game could use it's own protocols. You wouldn't need to worry about PPP, UDP, or IP layers at all, you could put whatever you want in your own game-modem code. The problem would be of course people who have to dial long distance, but it would be a lot better to play on a server in your city/area anyways. I know most game servers shouldn't get their own phone numbers, but what if some one wanted to offer up there unused phone lines to let some modem player get a lower latency connection. If you want to spend the time making your own PPP drivers and your own modulation/demodulation, you might as well add in some modem code into your games. ~Jacob Brown

    1. Re:Here's an idea.... by Anonymous Coward · · Score: 0

      Duh.

    2. Re:Here's an idea.... by PFactor · · Score: 1

      um, the point of standard protocols like PPP is to allow everyone to get onto this large network we call the Internet without having to write your own drivers and/or protocol stack. And if you are suggesting that game developers simply run their own servers, try playing any online game (except many older MUDs) without lag. The reason? Lots of people use the Internet, which congests routers and bogs down servers (I don't mention bandwidth because it would be hypocritical of me, since I am hogging some now with this post :)). The point is, if id software ran ALL the Q3A servers, we'd have to pay like 2 bajillion bucks for a copy of the game to subsidize the costs of the servers, etc AND we'd have to write custom drivers for our modems if they weren't 'popular' enough to warrant JC attending to it himself. And after all of that, the gaming experience would probably still suck due to lag, busy servers, et al.

      --
      Don't believe anything I say. I crash test crack pipes for a living.
  219. Re:Do we want to allow other OS's to use winmodems by AnthonyJ · · Score: 1

    "for Ziff-Davis and USA Today....Who really cares all that much about "winning" over "average" users anymore? This is the mistake that sank the Atari ST and Amiga and quite frankly is one that should be avoided at all costs. " I disagree. What killed the Atari/Amiga was lack of support for standard and cheap hardware, which made the machines power/price ratio poor, and so ruling themselves out of the market for gamers (there was no support for PCI/ISA/IDE devices, so "atari specific" devices were required). This was a bad example, dont you think, considering you are suggesting that cheap and common hardware not be actively supported?

  220. Re:... John-Carmack-Turing-Test by Anonymous Coward · · Score: 0

    aren't you?

  221. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    uh...

    help me out here.

    what would listening on those udp ports for incoming datagrams have ANYTHING AT ALL to do with the TTL expiring on the ip datagram?

    clue:

    they are and always will be mutually exclusive. the frames WILL NEVER MAKE IT TO THE DESTINATION because an intermediate routing element will drop the frame THEN send an icmp message back suggesting TTL expired in transit. unless you're referring to a compromised routing element, i'm not sure what you said has anything to do with reality.

    sigh.

    you'd think no one around here ever read by the likes of these comments...


  222. Re:TCP is too slow... Hello? McFly? by Anonymous Coward · · Score: 0

    i second, third, and fourth this suggestion.

    there are WAY too many people posting that have no business to be.

    LURK folks. only post when you have the humility to *ASK* or the authority to *SUGGEST*, but never the audacity to *TELL*.

    sigh.

  223. Re:TCP is too slow and is collisionless... by Anonymous Coward · · Score: 0

    i hope that didn't really intend qualcomm's money-maker to have anything to do with CSMA/CD (to which i expect it was you were originally referring...)

    your point is well taken, nonetheless, but i do expect qualcomm would be pleasantly surprised that their technology is being praised as the sucessor to the kitchen sink.

  224. Linux as a gamer os! Think not .. BeOS is future. by Anonymous Coward · · Score: 0

    When OpenGL in BeOS is done for R5 I really don't see why people should use Linux to play games. BeOS installs in 10 minutes, boots in 10 seconds, give it another 5 secs and you are playing your game with some extra FPS compared with Linux/Windows.

  225. I know what's wrong with it... by Anonymous Coward · · Score: 0

    There are a pair of unmatched braces on or around line 1135. Oh and sometimes the dude indents at one tab-setting, sometimes at another. Very annoying if you ask me...

  226. Re:TCP is too slow... Hello? McFly? by Andreas+Bombe · · Score: 2
    So you are saying, that we are getting often files slower than we could on the same connection for some reason that is in stack?


    This is wrong. You get them as fast as your connection can handle it. At least after the current max speed is found, a new TCP connection starts slow and then speeds up (sending one Megabyte in a second to a client that can handle only one Kilobyte per second will mean 1023kB of bandwidth wasted only to find out that it is in fact wasted). This is one of the reasons HTTP/1.1 adds persistant connections as opposed to one connection per file as in HTTP/1.0.

  227. More things to consider by jkeimig · · Score: 2

    "Making routers actually pay attention to QoS bits, and defining specific queuing behavior for them"

    It's fantasic that strides are being taken by the gaming development community to pound on the networking vendors to give gamers (specifically modem users) a "better" Internet. A lot of work has been done in this area in the past couple of years in light of VoIP, but I always envisioned the Diff-Serv/Int-Serv as a perfect app for online gaming =)

    However, its not the vendors that are the problem, in this case. Most every router manufacturer has a current "QoS game" that is some adoption of the Diff-Serv approach. The problem lies with the network providers themselves. Rather, its the inter-peer handoff of packets from one provider to another that is the actual core of the problem at hand, as diff-serv "mappings" from one domain to another (ie. passing packets from SprintLink to UUNET) can vary greatly, not to mention the cost negotiations and political games at hand. It can be either really simple or really complex, and if it was simple, we'd probably already see something working =)

    To compound this problem, the largely assymetrical nature of the Internet would require these mappings to be identical on both the forward AND reverse path. Its easy to map a packet from inside a network all the way to a peering point. Its a bit more difficult to appropriately map the return path FROM the peer point back to the internal recipient.

    I'm not saying that its impossible. The packet marking approach would work great for a completely on-net connection (i.e., where a packet stays entirely within a single backbone provider). Its just right now the inter-domain marking support simply doesn't exist in production form on today's networks.

    I think the current focus in high performance networking still relies on the characteristics of the peer-peer or client-server protocol that is used to exchange data. Much can be done at the application layer to realize current bandwidth availability and network characteristics (i.e. loss, delay variation, etc.).

    Using a simplistic approach of having the user specify their local link rate is right on the mark in a LAN environment. It makes the protocol simple with few corner cases.

    However, with on-line play, relying on the local link rate/capacity of the player's Internet connection does not take into account the many link variations that lie between the player and the server they connect to. It is this transitory network where the majority of bottlenecks occur. It is also where a smarter protocol that utilizes congestion avoidance, adaptive rate control and proper error recovery (at a network level, not a user-level data recovery standpoint) can GREATLY enhance overall user "goodput" (goodput = the users' perceived network throughput). Of course, this creates a more more complex protocol for more cases to consider, but this is actually what we want.

    Take for instance TCP. By utilizing the SACK option on TCP connections, a user can achieve 20-50% increased goodput over a convential TCP connection on the same "noisy" Internet link. Of course gaming doesnt use TCP, but it *is* an example of a case where people said "stick a fork in it, its done" about a network protocol (TCP).

    Again, I think it is extremely beneficial in examining everying to improve the quality of on-line play (especially for high latency, low bandwidth users). But I still believe that the most gains can be made in putting together a network savvy protocol that is aware and proactive on the connection with its peer. It's not necessarily the delay, but the delay variation thats the most aggrevating for online gameplay.


    -Jason Keimig
    Information and Telecommunication Technology Center
    University of Kansas

    1. Re:More things to consider by Anonymous Coward · · Score: 0

      I love Slashdot. It's the combination of the Portman-Grits-1st Comment posts and fantastically informative posts like this one that really does it for me. All bitching aside, Slashdot's quite a resource. Go 'head, mark me offtopic, I admit it.

  228. Re:Carmack Is A Selfish Bastard by sinergy · · Score: 1

    Ultima Underworld's 3d engine was say ahead of it's(and id's) time. The only thing holding it back was piss poor Cpu speeds, and no hardware 3d.

    --
    ...
  229. TCP can be faster by HalfFlat · · Score: 1

    Over PPP, over a high quality link, TCP will be faster and have less latency than UDP, due to the wonders of header compression. The address and header information in a TCP packet that's part of an already established connection gets compressed down to a measly 6 bytes (this can be done because the PPP peers share state.)

    Compression schemes could be used to provide similar header compression for UDP as it is used for games and such, and of course one could talk different but better suited to gaming protocols over IP (e.g. connection-based unreliable, unordered datagrams; connection-based reliable ordered datagrams.) The problem is of course that it's not so easy to go and rewrite the IP stacks of all these machines, or fiddle with their PPP code. This is where something like PowerPlay - with the backing of large companies - will be useful.

    Hmm, there might actually be some way to do strange things with MS Winsock ver.2 to extend it to support other protocols dynamically - need to check the docs.

  230. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    Let's just say that I want to see ANYONE else in the world write an engine that looks as good as Quake 3--AND runs at 60fps on a fairly standard $2000 PC. Here's a hint--the frames for things like Toy Story take a LONG time to render, even with huge render farms. Writing the programs to create such effects isn't necessarily all that difficult, but doing such effects in real time on consumer hardware in combination with sound, network, server, physics, ai, and other code all running simultaneously IS. And the techniques used in games like Unreal or Q2 and Q3 aren't really that much less advanced in many ways than what you see in tory story of the phantom menace, they just need to be seriously constrained for performance reasons. They've got reflections, volumetric lighting, radiosity lighting, specular highlighting, particles, curved surfaces, active player shadows, dynamic lighting, moving curved surfaces, bump mapping (not used in the retail game for performance reasons on current hardware), and more, all as elements of active "shaders," but of course many of these effects need to be toned down a lot to be playable in real time on cheap PCs. And everything needs to be made to work in arbitrary situations--every model needs to look correct from all angles in all situations, animations need to be done in real-time in response to arbitrary player input, etc. There is no "cheating" here in getting it to look correct from only one POV or of the animation being hand-crafted to work only in one specific way. On top of that, it's running a complex server with advanced physics modelling and game rules, bot AI (pathfinding etc.), sound code, music, and networking code (with very complex client-side prediction to smooth out the effects of modem/internet lag) all at the same time... and it has to run well on a huge range of hardware/software combinations... No, writing a game engine like Quake 3 is NOT a trivial task. There are only a small number of developers in the world who have proved capable of doing so successfully in all respects, and id is the foremost of those. And as time goes on, the task of writing such engines is getting more and more complex.

  231. Re:Carmack Is A Selfish Bastard by Anonymous Coward · · Score: 0

    True, that was a nice engine. I think it came out about the same time as Wolf 3D, but traded somewhat nicer looking graphics for slower rendering speed. But for people contesting John Carmack's programming skills, I think the track record of 10 years of such accomplishments, always being at or near the leading edge of real-time technology for graphics, not to mention accomplishments in networking, scripting, and other areas, pretty much speaks for itself.

  232. Re:What's with this assumption that Linux has a be by fsck · · Score: 1

    2.4 gigabits per second wow thats fast hardware. So setting this record proves that windows 2000 has drivers for the hardware capable of this speed. What about the commercial unix's? What about NT4? What about linux and *bsd? Hmm so this isnt a Win-2-gay trophy per se, its just a marketing convenience that Win-2-gay was used.
    Mindcraft: We Shall Never Forget

    --

    Lars - ...I could always phone Linus when I had a problem.
  233. Re:Ken Thompson's main gripe about linux is the st by Anonymous Coward · · Score: 0

    >Keep in mind that writing a full-blown IP stack
    >that works well in many, many, *many*
    >situations, on many pieces of hardware, for many
    >wildly different programs, is very different
    >from writing one set of I/O routines

    the netbsd stack wh00ps on the linux stack, and it runs on quite a few different pieces of hardware... i'm all for a complete stack rewrite for linux.

  234. Nics.. by schon · · Score: 2

    Hi..

    I'm not the original poster, but here is a test on my local lan:

    PING omni (192.168.20.17): 56 data bytes
    64 bytes from 192.168.20.17: icmp_seq=0 ttl=255 time=2.4 ms
    64 bytes from 192.168.20.17: icmp_seq=1 ttl=255 time=0.9 ms
    64 bytes from 192.168.20.17: icmp_seq=2 ttl=255 time=0.9 ms
    64 bytes from 192.168.20.17: icmp_seq=3 ttl=255 time=0.9 ms
    64 bytes from 192.168.20.17: icmp_seq=4 ttl=255 time=0.8 ms

    This is a 10-BT network.

    My local machine has an old WD NIC (not quite sure which one - it's ISA though, and utilizs the 8390 chipset) and the other machine has an SMC Ultra 16 (ISA and 8390 again.)

    I tried it from another machine, this one with a PCI Intel EtherXpress 10/100 (operating at 10Mbps)

    PING 192.168.20.17 (192.168.20.17): 56 data bytes
    64 bytes from 192.168.20.17: icmp_seq=0 ttl=255 time=1.3 ms
    64 bytes from 192.168.20.17: icmp_seq=1 ttl=255 time=0.6 ms
    64 bytes from 192.168.20.17: icmp_seq=2 ttl=255 time=0.6 ms
    64 bytes from 192.168.20.17: icmp_seq=3 ttl=255 time=0.6 ms
    64 bytes from 192.168.20.17: icmp_seq=4 ttl=255 time=0.6 ms

    So I'd guess that .1ms ping times on a 100Mbps network is not that far-fetched. (the initial lag for ping is probably due to the time required for ARPing.)

    Hope this helps you when you buy your next NIC.

    1. Re:Nics.. by Anonymous Coward · · Score: 0

      Actually i think lateceny matters more on your network setup and network card. don't have the pings here but at work on switch 100 my pings don't get much lower then .4 ms. Thats between to linux boxes both with intel 100bs. If i ping an address that goes through a second switch another .2 or so ms delay will be added

  235. A patch that saves up to 20 millisecs latency by epeus · · Score: 1

    Stuart Cheshire already patched Linux to improve modem latency 4 years ago, but it wasn't accepted into the distribution. It's on this webpage.