i test linux + win2k, results are laughable !
Hi,
ive written a VERY simple Artificial inteligence game (matchsticks) iits a text based game, and only uses cout amd cin, so it will compile under both windows and linux. i decided to use it as a performance test of redhat 9 vs WIndows2k (i have a dual boot system) under linux, the computer takes 52 seconds to make its first move. under windows it takes a WHOPPING 2 minutes !!!! is windows reeealy that much CRAPPER than linux ? i dont believe even Ms windoze can suck THAT hard. i posted the full details at a diff forum, here's the llink. http://216.26.163.133/forums/topic.aspx?id=16681 if any of you have a dual boot windows / linux system. i would be greatfull of you could download the source code and run the same pperformance test so we can compare. here's the source. http://uk.geocities.com/qwijibow_uk/main.cpp.txt http://uk.geocities.com/qwijibow_uk/State.h.txt http://uk.geocities.com/qwijibow_uk/TLList.h.txt (remove the .txt extensions and compile main.cpp) under windows, you will have to remove the exit(0) call in TLList.h (i forgot to remove it after testing) any comments welcome, did i do somthing wrong ? or is windows reeealy that lame ? |
Well, what compilers did you use on the linux and windows systems? To get a true speed comparison you need to use the same compiler, ie) GCC or Visual C++
|
i used G++ for linux, and Vc++ 6 for windows.
i didnt know GCC could compile W32 applications ??? and i know Microsofs VC++ does not compileLinux native binarys. what compiler's are there that will compile both ??? |
i believe dev-c++ uses a variation on gcc. did you turn on optimisations on vc++? the intel compilers are available for both win&lin
|
Well, gcc doesnt compile windows programs under linux, but DJGPP for windows is a variant of GCC.
|
either way, optimisation should not linux to run twice as fast as windows.
so what, maybe windows c++ compiler is lame ? |
by qwijibow
optimisation should not linux to run twice as fast as windows. gcc optimises by default(i think), vc++ does not, this could easily make a 2x difference if not more. |
Greetings!
Nice results you have there. :D You can optimize you programs as people have stated above by using different compilers, turnung cpu optimizations on etc. But my experience is that Linux will take more performance out of your hardware in many situations. My prime example is the Quake test: I can play smoothly (that is above 40 ftp in any situation) with 1024x768 under Linux while the game can get jerky (down to 15fps) at 800x600 under win2k. I was positively surprised at what my hardware is able to do when I first tried to play under Linux. *lol* Bye! |
All times are GMT -5. The time now is 03:44 PM. |