SRCDS Steam group


Poll: SRCDS on 64bit or 32bit?
32bit
64bit
[Show Results]
 
 
64 bit or 32 bit?
#1
Yo.
I have searched but i didn't find any useful info other than that the srcds binaries is 32 bit. So, what's best? Srcds on 32bit or 64bit Debian?
Reply
#2
Only difference is how many servers you can host.
Reply
#3
64 bit systems seem to be better at least for srcds, while for hlds you might still be better off with an 32 bit system. This is not actually related to the address space but probably due to other differences in the kernel.
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
#4
Are there any "reasons" why 64 bit is better for SRCDS?
Reply
#5
There are none. The syscalls are all 32bit, since srcds is 32bit. There may be subtle differences in the translation code in the kernel, but nothing that will make it 'better' or 'worse'

http://leaf.dragonflybsd.org/~gary

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








Reply
#6
Alright, thanks for the answers!
Reply
#7
128 bit
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#8
I would look at the ram for your question Ram >= 4Gb -> 64bit and Ram <= 4GB -> 32/64bit

If you are running Webspace with php too, i would go for 32bit since php uses more ram when it is under 64bit.
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
#9
In my experience, srcds doesn't run so well on 32 bit systems. I checked this recently again, 64 bit was really superiour. I cannot explain why. But if you look at the menuconfig mask and compare 32 bit and 64 bit kernels you see many differences. That implicates more than only some subtile differences... If in doubt, try both.

Btw: the limit is not 4 GB of RAM for 32 bit, but 3 GB. The kernel uses 1 GB of address space for other purposes. And actually also 32 bit systems can use even more than 4 GB RAM (that's called high memory support IIRC), but that works more like swapping with RAM instead of disk space. This is not well suited for game servers!

Question: Is there any reason not to use 64 bit? (even if you have that php issue, you could simply use 32 bit php on a 64 bit system...)
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
#10
Alright, I'm currently using the 32 bit version of debian.
It uses aprox 32 mb ram idle and 400mb when srcds is idling.
Reply
#11
(01-21-2011, 06:39 PM)Terrorkarotte Wrote:  I would look at the ram for your question Ram >= 4Gb -> 64bit and Ram <= 4GB -> 32/64bit

If you are running Webspace with php too, i would go for 32bit since php uses more ram when it is under 64bit.

All programs use more memory on native 64 bit (long mode) because of swollen pointers/alignment issues (see below)

- a long double is normally 4 bytes on i386, but 16 bytes on amd64 (pretty big change)
- A pointer on x86/i386 will be 4 byte aligned, but on amd64/x86_64 it will be 8 bytes.
- doubles are normally 4 byte aligned on i386, but 8 bytes

http://leaf.dragonflybsd.org/~gary

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








Reply
#12
err... a double is always 8 bytes, at least on gcc. and long double raised from 12 to 16 bits, but is so rarely used that you can probably forget about this. maybe the longer pointers increase the memory usage by a few percent, but if you have 4 GB RAM or more this will be strongly overcompensated by the additional RAM...

No, I don't think, it's a good idea to stick with an old technology longer than needed... It's only a question of time until the first distributions will only support 64 bit.
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
#13
Ah, i remember when i had my first computer with Windows 98 or something.
Then XP came out, and that screwed my poor machine over...
So yea, i wouldn't use a old technology either.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)