SRCDS Steam group


Custom core help
#1
Hello,
I have previously asked this to members via PM, but no answer.
I'm going to make my post clear, and please help if you know what you're doing. I'm re-installing my server operative system, and since i found Debian to be great, i wanted to try out a version of Linux with the same features. My questions are listed below;

* How do i compile a custom core on Ubuntu?
* Does Ubuntu have pre-made custom cores available like Debian?
* Does optimizing the kernel for gameservers have an impact on the performance of webservers, mysql servers etc?
* Is there any performance increase from Debian to Ubuntu?

Thanks,
Michael
Reply
#2
(02-09-2011, 08:20 AM)michael_sj123 Wrote:  I have previously asked this to members via PM, but no answer.
don't ask people via PM for help. that's what the forums are for.

Quote:* How do i compile a custom core on Ubuntu?
you mean kernel? see the howto linked in my signature. it's not completely up-to-date, but most stuff should be still the same or very similar.

Quote:* Does Ubuntu have pre-made custom cores available like Debian?
yes of course, else ubuntu wouldn't boot. usually the stock kernels are not optimized for our needs, but you can find pre-compiled kernels for game servers made by Terrorkarotte (link is at to bottom of the howto).

Quote:* Does optimizing the kernel for gameservers have an impact on the performance of webservers, mysql servers etc?
usually not. if there is an notable impact it's from webservers etc. on the game servers. but if you run the game servers with FIFO scheduling (as explained in my howto) you will be fine (unless you host high-traffic sites).

Quote:* Is there any performance increase from Debian to Ubuntu?
I don't think so. Ubuntu probably has the better stock-kernel, but if you exchange it anyway, there will not be much/any difference.

before you start reinstalling you should decide whether to use 32 bit or 64 bit. 64 bit is better for srcds-based game servers, while many people claim that 32 bit is still better for hlds-based game servers.
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
#3
Thanks for the response!
I'll follow your guide on the Wiki and see how it works.
Also, the newest Ubuntu release, does it work with any of the patches?
Reply
#4
Also, the Ubuntu install didn't work.
It stopped at this part:
Code:
make-kpkg --initrd kernel_image kernel_headers && cd ..
dpkg -i linux-image-2.6.26.8-rt16_2.6.26.8-rt16-10.00.Custom_`dpkg --print-architecture`.deb
dpkg -i linux-headers-2.6.26.8-rt16_2.6.26.8-rt16-10.00.Custom_`dpkg --print-architecture`.deb

I'm going to use one of the preconfigured kernels.
Its much easier.
Reply
#5
Its not the best idea to use old kernels. Try to use the 2.6.37 or snapshots from the 2.6.38. Also, i use these commands for my kernel compiles and installations:

Code:
make-kpkg --initrd kernel_image kernel_headers
dpkg -i <name of imagefile>
dpkg -i <name of headerfile>
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#6
(02-09-2011, 08:20 AM)michael_sj123 Wrote:  Hello,
I have previously asked this to members via PM, but no answer.

Make sure you can accept pms. Many have set their profile to do not accept by default Wink

Anyway it is not the best way to ask for help at a forum.
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
#7
I have installed Debian and i use one of the preconfigured gameserver kernels.
It works fine, stable 66 fps.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)