Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
11-02-2009, 03:32 AM
(This post was last modified: 11-02-2009, 03:33 AM by realchamp.)
Hello. I am looking for an advice.
I am running a Counter-Strike: Source server with 5slots(1 for tv) and I'd like to run about 1000fps. And 100tick. Currently running with default kernel and it's about 266.8fps and 866.7fps.
My specs are following:
1.0GHz AMD athlon (1999MHz)
512Mb ram
60gb HDD.
What kernel would be best? I use Ubuntu server 9.10 32bit.
- realchamp.
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
At first skip the Kernel Part and start an idler. Than find out which available timer is best fitted to your system.
In most cases the fps are pretty stable after that. Do this without source tv. In most cases it causes the fps drops if you do not run it as relay.
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
use an older kernel under 2.6.28 ... e.g 2.6.27 you need a trick to get more than 940 fps like 992 with kernel above 2.6.28.
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
I'l give 2.6.27 a go when I get home
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
normally it should work ... i got on a amd system 980fps. you can push it over the clock timer, but older systems dont have hpet and newer ones also not. but the systems between them has it. you should check out if you can activate it, or change the time so acpi_pm.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
there is no difference between 950 and 1000 fps... I recommend either 2.6.26.8-rt16 if it supports your mainboard, else the newest kernel that has a RT patch available.
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
How do I check my motherboard? What command?
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
I have had very good luck with 2.6.32-rc5.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
(11-03-2009, 01:15 AM)realchamp Wrote: How do I check my motherboard? What command?
dmidecode
it produces a lot of output of many devices and does not really tell you which one is the mobo. post the whole output to some pastebin if you need help...
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
Code:
Cache Information
Socket Designation: Internal Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 128 KB
Maximum Size: 1024 KB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: None
System Type: Unified
Associativity: 4-way Set-associative
Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: Internal Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 256 KB
Maximum Size: 1024 KB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 4-way Set-associative
Handle 0x0007, DMI type 5, 20 bytes
Memory Controller Information
Error Detecting Method: 32-bit ECC
Error Correcting Capabilities:
Single-bit Error Correcting
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 1024 MB
Maximum Total Memory Size: 2048 MB
Supported Speeds:
Other
Supported Memory Types:
Parity
ECC
DIMM
SDRAM
Memory Module Voltage: 3.3 V
Associated Memory Slots: 2
0x0008
0x0009
Enabled Error Correcting Capabilities:
Single-bit Error Correcting
Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM1
Bank Connections: 1 0
Current Speed: Unknown
Type: FPM DIMM
Installed Size: 256 MB (Single-bank Connection)
Enabled Size: 256 MB (Single-bank Connection)
Error Status: OK
Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM2
Bank Connections: 3 2
Current Speed: Unknown
Type: FPM DIMM
Installed Size: 256 MB (Single-bank Connection)
Enabled Size: 256 MB (Single-bank Connection)
Error Status: OK
Handle 0x000A, DMI type 9, 13 bytes
System Slot Information
Designation: PCI1
Type: 32-bit PCI
Current Usage: Available
Length: Long
ID: 1
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x000B, DMI type 9, 13 bytes
System Slot Information
Designation: PCI2
Type: 32-bit PCI
Current Usage: In Use
Length: Long
ID: 2
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x000C, DMI type 9, 13 bytes
System Slot Information
Designation: PCI3
Type: 32-bit PCI
Current Usage: Available
Length: Long
ID: 3
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: PS2 KEYBOARD
Internal Connector Type: None
External Reference Designator: PS2 Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: PS2 MOUSE
Internal Connector Type: None
External Reference Designator: PS2 Mouse
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: COM
Internal Connector Type: None
External Reference Designator: COM Port
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible
Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: LPT
Internal Connector Type: None
External Reference Designator: LPT Port
External Connector Type: DB-25 female
Port Type: Parallel Port ECP/EPP
Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB
Internal Connector Type: None
External Reference Designator: Rear USB 0
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB
Internal Connector Type: None
External Reference Designator: Rear USB 1
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB
Internal Connector Type: None
External Reference Designator: Front USB 2
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB
Internal Connector Type: None
External Reference Designator: Front USB 3
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: ETHERNET
Internal Connector Type: None
External Reference Designator: ETHERNET
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: LINE-OUT
Internal Connector Type: None
External Reference Designator: LINE-OUT
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: LINE-IN
Internal Connector Type: None
External Reference Designator: LINE-IN
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: MICROPHONE
Internal Connector Type: None
External Reference Designator: MICROPHONE
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: GAME
Internal Connector Type: None
External Reference Designator: Game Port
External Connector Type: DB-15 female
Port Type: MIDI Port
Handle 0x001A, DMI type 13, 22 bytes
BIOS Language Information
Installable Languages: 1
English
Currently Installed Language: English
Handle 0x001B, DMI type 127, 4 bytes
End Of Table
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
Why should the rt patch the best? Maybe he is getting the needed results with the recompiled stock kernel as well. Less work and often less load.
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
at my tests the rt patch does to many interrupts. i got a lot of fps drops, when i installed more then 1 gs each cpu. i am using a normal vanilla kernel...
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
sorry, I can't find your mainboard in the dmidecode output as well ;-) maybe not all mainboards put their info there...
RT patches should work best in principle, because they are made for this kind of application. Of course in some cases other kernels might be better, especially if you want to run as many servers as possible (lowering latencies creates overhead). Petar_Pan: did you adjust the priorities correctly (else RT patches are contra-productive, I agree...)?
btw: 2.6.31.4-rt14 looks promising as well, but I have it running only for less then 24h...
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
yes i use the vanilla with chrt
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
2.6.31.4-rt14 -> testing.
|