SRCDS Steam group


Linux fps
#1
Hello.

I was wondering on how I make my servers FPS higher and more stabile.

I run with:

Linux Ubuntu Server 9.04(32/64bit)
AMD Dual Core 2,2GHz
2gb ram
500gb hdd

I'd like to have atleast 1.000FPS, if I can get more I'd like to have that.
Reply
#2
http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
Compile a new kernel. Latest kernels:

http://www.dk.kernel.org/pub/linux/kernel/v2.6/

http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
Reply
#3
"compile" seems familiar, but how the *f'''''k do I do it on linux? I am sv_noob 1 on Linux.
Reply
#4
(09-17-2009, 05:54 AM)realchamp Wrote:  "compile" seems familiar, but how the *f'''''k do I do it on linux? I am sv_noob 1 on Linux.

You could write book on it . . . but the short answer is to follow BEs guide to start. In addition, strip out all the crap you don't need.

If you're new to Linux, that will probably seem daunting once you get into menuconfig. Running the 'lspci' prior will help identify what hardware you have. Some of the other options are common sense, many are not. Google is your friend until you learn the ropes.
Reply
#5
"strip out all the crap you don't need." Which of it doesn't I need?

I will give it a shot tomorrow.
Reply
#6
(09-17-2009, 06:16 AM)realchamp Wrote:  "strip out all the crap you don't need." Which of it doesn't I need?

I will give it a shot tomorrow.

It depends on your system. Honestly, you probably won't understand a lot of the options if you are new to Linux, but many of them are have fairly good descriptions -- so you can make educated guesses.

My suggestion would be to post your .config file here so we can review and see if anything important is missing before you compile.
Reply
#7
All the commands are in the BehaartesEtwas-fragaholics url I posted .... If there's a problem just post it...like I did .. Give it a shot ...
Reply
#8
(09-17-2009, 07:02 AM)CGS|Todd Wrote:  
(09-17-2009, 06:16 AM)realchamp Wrote:  "strip out all the crap you don't need." Which of it doesn't I need?

I will give it a shot tomorrow.

It depends on your system. Honestly, you probably won't understand a lot of the options if you are new to Linux, but many of them are have fairly good descriptions -- so you can make educated guesses.

My suggestion would be to post your .config file here so we can review and see if anything important is missing before you compile.

How do I post my config? :p
Reply
#9
probably your current kernel config has all drivers etc. you need. so if you copy it (you will find it somewhere in /boot, it will be called like config-<version>) to ".config" in your kernel source directory, you will have those drivers enabled. if you have too much stuff enabled it usually does not really hurt. maybe you can gain 1% performance by disabling them, but you can (should) do this after achieving the other 99% ;-)
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
I will try.
Reply
#11
Whenever I run this:
Code:
zcat ../patch-2.6.26.8-rt16.gz | patch -p1

I get
Code:
realchamp@realchamp:/usr/src$ sudo tar zxf linux-2.6.26.8.tar.gz
realchamp@realchamp:/usr/src$ cd linux-2.6.26.8
realchamp@realchamp:/usr/src/linux-2.6.26.8$ zcat ../patch-2.6.26.8-rt16.gz | pa tch -p1
patching file arch/arm/kernel/process.c
patch: **** Can't rename file /tmp/poj8GdjK to arch/arm/kernel/process.c : Permi ssion denied
realchamp@realchamp:/usr/src/linux-2.6.26.8$ sudo zcat ../patch-2.6.26.8-rt16.gz  | patch -p1
patching file arch/arm/kernel/process.c
patch: **** Can't rename file /tmp/ponBKlYJ to arch/arm/kernel/process.c : Permi ssion denied
realchamp@realchamp:/usr/src/linux-2.6.26.8$ sudo zcat ../patch-2.6.26.8-rt16.gz  | patch -p1
patching file arch/arm/kernel/process.c
patch: **** Can't rename file /tmp/poyhHfbx to arch/arm/kernel/process.c : Permi ssion denied
realchamp@realchamp:/usr/src/linux-2.6.26.8$ zcat ../patch-2.6.26.8-rt16.gz | patch -p1
patching file arch/arm/kernel/process.c
patch: **** Can't rename file /tmp/pojMPsse to arch/arm/kernel/process.c : Permission denied
realchamp@realchamp:/usr/src/linux-2.6.26.8$ sudo zcat ../patch-2.6.26.8-rt16.gz | patch -p1
patching file arch/arm/kernel/process.c
patch: **** Can't rename file /tmp/povRtT5s to arch/arm/kernel/process.c : Permission denied
realchamp@realchamp:/usr/src/linux-2.6.26.8$
Reply
#12
Looks like a permissions issue. What user do the kernel files belong to?
(09-17-2009, 05:50 PM)BehaartesEtwas Wrote:  probably your current kernel config has all drivers etc. you need. so if you copy it (you will find it somewhere in /boot, it will be called like config-<version>) to ".config" in your kernel source directory, you will have those drivers enabled. if you have too much stuff enabled it usually does not really hurt. maybe you can gain 1% performance by disabling them, but you can (should) do this after achieving the other 99% ;-)

Its not so much about performance as a philosophy of security and stability based on minimalism.
Reply
#13
I had him run chmod -R 777 /usr/src and it worked. Latest just compiled the kernel and now hes at the mkinitramfs part. I don't know what to do there either, I've never used anything else other than centos
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#14
Yep I am there, but appartently LOST now. I ran the mkinitramfs, but it didn't work. I went further and opened up my boot/grub/menu.lst file.

But I am not sure about how to make it?
Reply
#15
how do you see that it didn't work? were there some error message? can you post the output of "ls -al /boot"?

If you like you can contact me in IRC (#fragaholics.de in quakenet or #sourcekernel in gamesurge), that might be easier and faster :-)

edit: I am called hrg in IRC...
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


Forum Jump:


Users browsing this thread: 8 Guest(s)