Raised This Month: $51 Target: $400
 12% 

Boosted FPS with -dev


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-22-2011 , 00:39   Boosted FPS with -dev
Reply With Quote #1

I have a question. When I switched to the -dev for the april 11th fix, I noticed I didn't need to have any fpsbooster running in order to see 500+ FPS

Tonight, I switched to the latest stable and now the fps is back to being limited (60-64).

Is there base code in the -dev that allows greater than ~64 FPS? If so, is it in metamod or sourcemod?

Or, is my machine a fluke?
TnTSCS is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 04-22-2011 , 01:05   Re: Boosted FPS with -dev
Reply With Quote #2

The branch of SourceMod you choose should have no effect on your FPS. I switch back and forth between the dev and stable branches on a 2000 FPS server, and the SourceMod version makes no difference.
Mister_Magotchi is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-22-2011 , 09:24   Re: Boosted FPS with -dev
Reply With Quote #3

I understand what you're saying, and perhaps you have an fpsboost plugin running...

I don't notice a difference between -dev and stable either when using fpsboost MM plugin. However, when I took that off for testing while I had the -dev loaded I was still getting 500+ FPS, which if I didn't have fpsboost on, it was normally 60 FPS.

So, running -dev w/o any FPS boost plugin (or media player or flash movie or fpsbooster-exe file running) my server was getting 500+ FPS.

Come to think of it, when I was testing the new update w/o any plugins loaded (vanilla srcds) the server was getting 500+ FPS... so maybe my server has some process running in the background that I missed or something.
TnTSCS is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 04-22-2011 , 15:59   Re: Boosted FPS with -dev
Reply With Quote #4

I manage multiple Windows servers at 500+ FPS and multiple Linux servers at 2000 FPS, but they are all rented. I believe the Windows servers do run something external (Windows Media Player or a standalone FPS booster), while the Linux servers I don't believe need that, but just an appropriate kernel to allow the high FPS. I don't run any FPS-boosting server or MM:Source plugins, I'm running a recent dev snapshot on 3 of the servers, and they're still running at their appropriately high FPS.
Mister_Magotchi is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-22-2011 , 16:21   Re: Boosted FPS with -dev
Reply With Quote #5

ya, rented servers either run a windows based program or the proper kernal for linux to achieve higher FPS...

I wonder if the stable branch of MM and/or SM differ in such a way to inhibit the FPS - I say that because the vanilla SRCDS on windows w/o any EXE booster was getting 500+ FPS (on my old POS test windows server). This FPS maintained that high with the -dev branch, but once I put on the stable, poof, high FPS gone.
TnTSCS is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 04-22-2011 , 16:27   Re: Boosted FPS with -dev
Reply With Quote #6

I know that in playing around with dedicated servers on my own home Windows 7 box, I can achieve high FPS (seemed to be about 1000 if I remember right), without Windows Media Player, without any standalone booster, and with no server plugins at all, although it did fluctuate between different starts of the server. Sometimes I would start the server, and it would run at 1000. Sometimes I would start it and it would run much lower. I'll experiment more on Windows 7 with different SourceMod and MM:Source builds when I get home.
Mister_Magotchi is offline
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Old 04-22-2011 , 17:49   Re: Boosted FPS with -dev
Reply With Quote #7

Quote:
Originally Posted by Mister_Magotchi View Post
I know that in playing around with dedicated servers on my own home Windows 7 box, I can achieve high FPS (seemed to be about 1000 if I remember right), without Windows Media Player, without any standalone booster, and with no server plugins at all, although it did fluctuate between different starts of the server. Sometimes I would start the server, and it would run at 1000. Sometimes I would start it and it would run much lower. I'll experiment more on Windows 7 with different SourceMod and MM:Source builds when I get home.
Here is a little 'FPS booster' I wrote for fun a few years ago and posted on srcds.com

The magic is described in the MSDN page for the timeBeginPeriod Function:
http://msdn.microsoft.com/en-us/library/dd757624%28v=vs.85%29.asp

I don't know if the default time period is restored if a booster were to exit or crash before calling timeEndPeriod
My attached program calls timeEndPeriod after you click ok on the dialog box.
Attached Files
File Type: zip ufpsboost.zip (973 Bytes, 317 views)
__________________

Last edited by LumiStance; 04-22-2011 at 17:54.
LumiStance is offline
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 04-22-2011 , 22:19   Re: Boosted FPS with -dev
Reply With Quote #8

Test details:
Windows 7 x64, all updates
Core I7 2600 CPU, 8GB of RAM
Nothing special running, including including any boosters or media players.
+fps_max 2500 set in shortcut's launch parameters
using the dedicated server through Steam rather than the standalone version
Metamod: Source 1.8.6 (current release version)
I verified the Sourcemod version with "sm version" before each test.


Tests:

Sourcemod 1.3.7 (current release version)
Everytime I typed stats, FPS was either ~500 or ~1000, fluctuating between the two.

Sourcemod 1.3.8, build 3132 (latest stable snapshot)
Everytime I typed stats, FPS was either ~500 or ~1000, fluctuating between the two.

Sourcemod 1.4.0, build 3260 (latest dev. snapshot)
Everytime I typed stats, FPS was either ~500 or ~1000, fluctuating between the two.

It appears that at least on Windows 7 x64 and when not using any boosters, the branch of Sourcemod has no affect on my FPS. Also, if I set +fps_max to 600, the FPS reported sits consistently at ~500 FPS.
Mister_Magotchi is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-22-2011 , 22:55   Re: Boosted FPS with -dev
Reply With Quote #9

thanks for helping me test Mister Mag I appreciate it.

I wonder if 64-bit windows makes a difference? I'm running it on my home windows 2003 32-bit server.

I removed my addons folder and started up srcds, effectively having a vanilla SRCDS, right? Here's the STATS:

Code:
CPU   In    Out   Uptime  Users   FPS    Players
 3.08  0.00  0.00       0     0  261.27       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 3.08  0.00  0.00       0     0  354.63       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 3.88  0.00  0.00       0     0  351.18       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 3.88  0.00  0.00       0     0  341.62       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.15  0.00  0.00       0     0  261.09       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.15  0.00  0.00       0     0  353.12       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.15  0.00  0.00       0     0  349.60       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.26  0.00  0.00       0     0  353.14       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.26  0.00  0.00       0     0  353.26       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.26  0.00  0.00       0     0  352.36       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.26  0.00  0.00       0     0  350.68       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 4.26  0.00  0.00       0     0  354.11       4
I put the addons (which has stable MM and SM) folder back, and removed the fpsboost for metamod (commented out the line like ;addons/fpsboost/bin/fpsboost_mm), and here are the stats:
Code:
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.60       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.49       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.61       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   62.10       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.90       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.59       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.67       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.52       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.76       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.39       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   59.41       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.44       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
 0.00  0.00  0.00       0     2   60.96       4
stable plugin info:
Code:
plugin_print
Loaded plugins:
---------------------
0:      "DoS Attack Fixer, www.sourceop.com"
1:      "Metamod:Source 1.8.6"
2:      "zBlock Server Plugin [4.61]"
---------------------

meta list
Listing 7 plugins:
  [01] DoS Protect (1.0.0.0) by ZombieX2.net
  [02] D-FENS (1.3) by Spencer 'voogru' MacDonald
  [03] SourceMod (1.3.7) by AlliedModders LLC
  [04] CS:S Tools (1.3.7) by AlliedModders LLC
  [05] BinTools (1.3.7) by AlliedModders LLC
  [06] SDK Tools (1.3.7) by AlliedModders LLC
  [07] SDK Hooks (2.0.0) by Tsunami, psychonic

meta version
Metamod:Source version 1.8.6
Build ID: 762:c9e30df8fd84
Loaded As: Valve Server Plugin
Compiled on: Apr 15 2011
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

sm plugins list
[SM] Listing 42 plugins:
  01 "Admin File Reader" (1.3.7) by AlliedModders LLC
  02 "Admin Help" (1.3.7) by AlliedModders LLC
  03 "Admin Menu" (1.3.7) by AlliedModders LLC
  04 "Afk Bomb" (1.2.2) by RedSword / Bob Le Ponge
  05 "AFK Manager" (3.3.0) by Rothgar
  06 "Anti-Flood" (1.3.7) by AlliedModders LLC
  07 "Auto Swap Team" (2.1.1) by Experto
  08 "Basic Ban Commands" (1.3.7) by AlliedModders LLC
  09 "Basic Chat" (1.3.7) by AlliedModders LLC
  10 "Basic Comm Control" (1.3.7) by AlliedModders LLC
  11 "Basic Commands" (1.3.7) by AlliedModders LLC
  12 "Basic Info Triggers" (1.3.7) by AlliedModders LLC
  13 "Basic Votes" (1.3.7) by AlliedModders LLC
  14 "Bounty" (1.0.9.0) by Shane A. ^BuGs^ Froebel, FlyingMongoose, and stoic
  15 "[CS:S] Give Cash" (1.0.0) by DarthNinja
  16 "Client Preferences" (1.3.7) by AlliedModders LLC
  17 "CSS Throwing Knives" (1.1.4) by meng
  18 "Death Beam" (1.1) by Peoples Army, AMP
  19 "Fun Commands" (1.3.7) by AlliedModders LLC
  20 "Fun Votes" (1.3.7) by AlliedModders LLC
  21 "Damage report" (1.1.13) by [30+]Gemeni
  22 "Ghostfade" (1.1) by MistaGee
  23 "Welcome Sound" (0.0.1) by R-Hehl
  24 "Kigen's Anti-Cheat" (1.2.1.7) by CodingDirect LLC
  25 "Knife Fight" (1.3.8) by XARiUS, Otstrel.Ru Team
  26 "KnifeMug" (2.0.0) by FlyingMongoose, sslice
  27 "NadeShake" (1.0.2) by Vogon
  28 "Nextmap" (1.3.7) by AlliedModders LLC
  29 "Player Commands" (1.3.7) by AlliedModders LLC
  30 "QuickDefuse" (0.3) by pRED*
  31 "Rate watcher" (0.16) by X@IDER
  32 "RCON Lock" (0.6.7) by devicenull
  33 "Reserved Slots" (1.3.7) by AlliedModders LLC
  34 "SM Bank" (1.0) by MaTTe
  35 "SM Super Commands" (0.60) by pRED*
  36 "SM Super Menu" (0.5) by pRED*
  37 "Sound Commands" (1.3.7) by AlliedModders LLC
  38 "Spank2" (1.2) by Hell Phoenix
  39 "Spawn Protection" (1.5) by Fredd
  40 "Spray Tracer" (5.8) by Nican132, CptMoore, Lebson506th
  41 "Weapon Restrict" (2.3.4) by Dr!fter
  42 "HANSE WT-Restrict" (1.0.4) by red!

sm version
 SourceMod Version Information:
    SourceMod Version: 1.3.7
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.7)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Apr 15 2011 06:18:40
    Build ID: 3129:0f35d8b324ba
    http://www.sourcemod.net/
I put back the -dev branch I had backed up earlier and verified that fpsboost was still disabled and here are the stats:
Code:
stats
CPU   In    Out   Uptime  Users   FPS    Players
17.10  0.00  0.00       0     2  352.06       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
17.90  0.00  0.00       0     2  352.64       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
17.90  0.00  0.00       0     2  362.10       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
17.90  0.00  0.00       0     2  353.64       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
10.77  0.00  0.00       0     2  346.54       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
10.77  0.00  0.00       0     2  354.56       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
10.77  0.00  0.00       0     2  208.09       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
13.95  0.00  0.00       0     2  211.26       4
stats
CPU   In    Out   Uptime  Users   FPS    Players
13.95  0.00  0.00       0     2  357.15       4
-dev plugins information:
Code:
plugin_print
Loaded plugins:
---------------------
0:      "DoS Attack Fixer, www.sourceop.com"
1:      "Metamod:Source 1.9.0-dev"
2:      "zBlock Server Plugin [4.61]"
---------------------

meta list
Listing 6 plugins:
  [01] DoS Protect (1.0.0.0) by ZombieX2.net
  [02] D-FENS (1.3) by Spencer 'voogru' MacDonald
  [03] SourceMod (1.4.0-dev) by AlliedModders LLC
  [04] CS:S Tools (1.4.0-dev) by AlliedModders LLC
  [05] SDK Tools (1.4.0-dev) by AlliedModders LLC
  [06] SDK Hooks (2.0.0) by Tsunami, psychonic

meta version
Metamod:Source version 1.9.0-dev
Build ID: 746:024416402896-dev
Loaded As: Valve Server Plugin
Compiled on: Apr 14 2011
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

sm plugins list
[SM] Listing 42 plugins:
  01 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
  02 "Admin Help" (1.4.0-dev) by AlliedModders LLC
  03 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
  04 "Afk Bomb" (1.2.2) by RedSword / Bob Le Ponge
  05 "AFK Manager" (3.3.0) by Rothgar
  06 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
  07 "Auto Swap Team" (2.1.1) by Experto
  08 "Basic Ban Commands" (1.4.0-dev) by AlliedModders LLC
  09 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
  10 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
  11 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
  12 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
  13 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
  14 "Bounty" (1.0.9.0) by Shane A. ^BuGs^ Froebel, FlyingMongoose, and stoic
  15 "[CS:S] Give Cash" (1.0.0) by DarthNinja
  16 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
  17 "CSS Throwing Knives" (1.1.4) by meng
  18 "Death Beam" (1.1) by Peoples Army, AMP
  19 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
  20 "Fun Votes" (1.4.0-dev) by AlliedModders LLC
  21 "Damage report" (1.1.13) by [30+]Gemeni
  22 "Ghostfade" (1.1) by MistaGee
  23 "Welcome Sound" (0.0.1) by R-Hehl
  24 "Kigen's Anti-Cheat" (1.2.1.7) by CodingDirect LLC
  25 "Knife Fight" (1.3.8) by XARiUS, Otstrel.Ru Team
  26 "KnifeMug" (2.0.0) by FlyingMongoose, sslice
  27 "NadeShake" (1.0.2) by Vogon
  28 "Nextmap" (1.4.0-dev) by AlliedModders LLC
  29 "Player Commands" (1.4.0-dev) by AlliedModders LLC
  30 "QuickDefuse" (0.3) by pRED*
  31 "Rate watcher" (0.16) by X@IDER
  32 "RCON Lock" (0.6.7) by devicenull
  33 "Reserved Slots" (1.4.0-dev) by AlliedModders LLC
  34 "SM Bank" (1.0) by MaTTe
  35 "SM Super Commands" (0.60) by pRED*
  36 "SM Super Menu" (0.5) by pRED*
  37 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
  38 "Spank2" (1.2) by Hell Phoenix
  39 "Spawn Protection" (1.5) by Fredd
  40 "Spray Tracer" (5.8) by Nican132, CptMoore, Lebson506th
  41 "Weapon Restrict" (2.3.4) by Dr!fter
  42 "HANSE WT-Restrict" (1.0.4) by red!

sm version
 SourceMod Version Information:
    SourceMod Version: 1.4.0-dev
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.4.0-dev)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Apr 14 2011 16:27:49
    Build ID: 3254:45f2ca7eb3f9-dev
    http://www.sourcemod.net/
TnTSCS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-22-2011 , 22:58   Re: Boosted FPS with -dev
Reply With Quote #10

Also, while doing all of the above testing, the server started up ONCE with high FPS using the stable version of MetaMod:Source and SourceMod... I'm just stumped.

I'd be super happy if I didn't need to run a plugin or external program to achieve higher than the 64FPS limit on a windows server. Running the -dev I never saw the FPS anywhere near the low 60FPS, it was always hovering around 500. Running the stable, I rarely see the FPS higher than the 64FPS limit, unless I use the fpsboost

The only thing I haven't done is mix and match -dev and stable MM and SM (like -dev MM and stable SM, then -dev SM and stable MM)

Last edited by TnTSCS; 04-22-2011 at 23:08.
TnTSCS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode