SRCDS Steam group


SRCDS High Cpu Usage Problem! Please Help
#16
(06-17-2010, 08:43 PM)BehaartesEtwas Wrote:  @Monk: I don't want a fight with you, but please stop talking about thinks you havn't understood.

32 bit binaries are not emulated on 64 bit platforms. There is no performance penalty w.r.t. 32 bit platforms. But the Linux kernel is more advanced on 64 bit and that will give you an actual advantage.

BehaartesEtwas, you continuously insult me. Here, look at this. This is directly from the kernel. Please play close attention:

Code:
/*
*  linux/kernel/compat.c
*
*  Kernel compatibililty routines for e.g. 32 bit syscall support
*  on 64 bit kernels.
*
*  Copyright (C) 2002-2003 Stephen Rothwell, IBM Corporation
*
*  This program is free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License version 2 as
*  published by the Free Software Foundation.
*/

32bit syscall support, please focus on the line 'Kernel compatibililty routines' .. compatibility, meaning emulated (COMPAT_IA32). A 32bit binary cannot call a 64bit syscall so the kernel has stubs to emulate 32bit syscall code, no different than WoW64 stuff on windows.

If they aren't emulated, then do this and watch what happens. Remove 32bit glibc from a 64bit system and try and run srcds or hlds.. i guess they aren't emulated. rofl. Or better yet, remove COMPAT_IA32* from a kernel.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#17
@Monk, I do not intent to insult you, sorry if you understood me like that. On the other hand I also do not intent to discuss this topic on that level, at least not in a thread about some other topic (open a new one if you like to discuss this).

(Here) I can only say that my experience with 64 bit linux is much better than with 32 bit regarding srcds. My experience is supported by many other people experiences, I do not know of a single case where switching to 64 bit did not improve at least a bit the srcds performance. (hlds might be a different story, I do not have so much experience there)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#18
Well, windows is a plus right? for example, Windows 2003.. Would it better than linux?
Reply
#19
Windows has better binaries. They are optimized better and generally have lower CPU usage than their linux counterparts, probably because syscalls on linux are somewhat expensive.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#20
Windows are the best solution for noobs and people with money for the license.. Linux is a lot more scalable, you can for example, compile your own kernel, which kicks Windows's ass so far Smile
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#21
Windows has a more coarse clock, so it seems the fps are more stable. But that doesn't make it better...
But yes, on windows it's easier to get a good result, but (virtually) impossible to do it any better.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#22
The binaries are optimized better for windows than linux. It's a known fact the MSVC compiler is newer than the gcc version they are using for their Linux code. The windows version also has some quirks in it that the linux version does not, which I won't get into because you probably wouldn't understand.. It's also a known fact the windows binaries do NOT eat up CPU as much as their linux counterparts. The linux code sucks, and it will continue to suck into the near future.

It's not impossible to get better results on windows. All you need is a clue, and some time; Most people have neither.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#23
(06-28-2010, 09:53 PM)Monk Wrote:  which I won't get into because you probably wouldn't understand..

careful, I probably wrote my first program while you where still sucking your mothers milk Toungue

so please stop getting personal, okay?

btw: did you had a look into the source code of srcds? where do you know that the windows version has quirks that the linux one doesn't have? and even if that is true, maybe the linux version doesn't need them...

I know only one thing for sure: on linux cpu amount cannot be measured. so nobody, not even you, can know if the linux version takes more cpu than the windows one.

why do all hosters use linux? especially the high-end servers are always hosted on linux, so the license fee cannot be the reason...

and judging from your choice of words I would guess you are running out of arguments, so let us stop that discussion right now...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#24
(06-29-2010, 06:20 AM)BehaartesEtwas Wrote:  
(06-28-2010, 09:53 PM)Monk Wrote:  which I won't get into because you probably wouldn't understand..

careful, I probably wrote my first program while you where still sucking your mothers milk Toungue

What are you babbling about? You insult me in other threads as well as this one, then say I don't understand the engine, which is complete bullshit.

Quote:so please stop getting personal, okay?

Yawn.
I'm not getting personal. You insult me over and over; So I will start insulting you back since you cannot stop attributing nonsense to my name.

You're a nobody, remember that. I've written mods, anticheat systems in c++, game hacks (long time ago), kernel development, etc etc. What projects have you worked on? That's right, you're not important enough to do anything on a large scale.

Quote:btw: did you had a look into the source code of srcds? where do you know that the windows version has quirks that the linux one doesn't have? and even if that is true, maybe the linux version doesn't need them...

I've looked at the leaked version of source, the 1.6 SDK and parts of orangebox in IDA. Since you probably don't know what IDA is, IDA is a reverse engineering program that is really neat and you can look at all kinds of neat shit. But you need to understand assembly, and how to read the output. OH! That's right, you're a doctor in physics right? So that means that since you're a doctor in physics or whatever, that automatically gives you a 'I'm smart in every possible field on the planet, from astronomy to zoology' right?


Quote:I know only one thing for sure: on linux cpu amount cannot be measured. so nobody, not even you, can know if the linux version takes more cpu than the windows one.

I cannot believe someone would say that. I am completely at a loss for words. Thanks for the amusement.

Quote:why do all hosters use linux? especially the high-end servers are always hosted on linux, so the license fee cannot be the reason...

Not all hosters use linux. This is another baseless, retarded statement that has originated from your mouth, almost like when you told me that 32bit code isn't emulated on 64bit platforms.

Quote:and judging from your choice of words I would guess you are running out of arguments, so let us stop that discussion right now...

Half of the things you have said to me is complete and utter crap. You told me that IA32 binaries are not emulated. I showed you that they are. Then once I showed you otherwise you simply ignored everything I said and pretended like what I told you just didn't matter, even though I was right.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#25
To be honest, you're actually both wrong.

Open Solaris 128bit is clearly the best solution.

p.s. for best performance, ensure to run the whole thing in VM without any hardware acceleration on an old laptop.
Reply
#26
I think I will have to pick MacOS on this one Toungue
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#27
/mode Monk +ignore
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#28
That's what I thought, insult me, I slap you, then you ignore me.

memset(BehaartesEtwas,0,sizeof(clueless_fucking_idiot))
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#29
Again, Again, Again, Again, Again, Again, Again !!! Sad

[Image: againagainagainagainaga.png]

Server is full this time, 33 players playing now and cpu is %95 one core ?!?

Server only dust2 and 66 tick with 500fps

Why very high??? Why is it so I can not find a solution Sad
Reply
#30
First of all the usage shown is inaccurate.
Second: what is your hardware, OS and kernel?
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)