Raised This Month: $ Target: $400
 0% 

BenchmarkTool - The tool to benchmark your HL1 Server v0817


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
Ir0n1E
Junior Member
Join Date: Feb 2009
Location: Germany
Old 02-18-2009 , 17:50   BenchmarkTool - The tool to benchmark your HL1 Server v0817
Reply With Quote #1

Introduction

With the AMXX BenchmarkTool you can benchmark Half-Life 1 Server. It is
meant for root server admins. It can read FPS, CPU-Load and System-Load. It
displays diagrams with Google Chart API.
You need AMXX and at your choice PodBot.

Updates
  • You can use the plugin every HL1 Server.
  • result.html shows CPU-model and Game/Mod, now.
  • Plugin uses cvar pointer.
  • The screenshot section on my website has been updated

Notes
  • The plugin updates the config automaticly.
    The backup file is benchmark.cfg_bak.
  • For further changes see ChangeLog.



Facts
  1. Name:
    • AMXX BenchmarkTool
  2. Version:
    • BETA 0817
  3. Operating System:
    • Linux / Windows limited
  4. License:
    • GPL v2
Installation
  1. Download the plugin and save it to your AMXX plugins dir.
  2. Register it in your plugins.ini.
  3. Reload the map, so the plugin can generate addons/amxmodx/configs/
    benchmark.cfg.
Usage

1. Basically
  • The BenchmarkTool uses this data dirs addons/amxmodx/data/benchmarktool/.
    Here you can find log-files and the result.html. Open the HTML file
    with w3m or an other console based browser with image support.
  • The minimum runtime is 300 Seconds, the maximum is 1200 Seconds
    [5min-20min].
    With a full benchmark [1200sec] you can use bench_chartall "1". Now,
    you get four charts with 1200 data points. Because of the character
    limitation, you can only display 300 points per chart. See: Google
    Chart FAQ.
  • With bench_minchart and bench_maxchart you can 'zoom' into the chart.
    E.g. you have a log-file with 600 Seconds, but the chart shows only
    each second value. Use bench_minchart and bench_maxchart to get first
    300 end last 300 Seconds.
2. Server Commands
  • bench_start
    Starts the benchmark. Runtime 1200sec/20min.
  • bench_stop
    Stops the benchmark before runtime end.
  • bench_chart
    Generates the Chart with Google Chart.
3. Script internal Options
  • bench_verbose "1"
    ☆ Prints status to Server-Console.
  • bench_onscreen "1"
    ☆ Prints status to HUD.
  • bench_withbots "0"
    ☆ Benchmarks with Bots [PodBot not included]
  • bench_minchart "0"
    ☆ Temporal initial value for the graph on x-axis.
  • bench_maxchart "1200"
    ☆ Temporal final value for the graph on the x axis.
  • bench_time "1200"
    ☆ Benchmark runtime.
  • bench_chartall "1"
    ☆ Displays 4 Charts. Can only be used with a runtime of 1200 sec. [See Screensshots]
  • bench_path "/path/to/amxx/"
    ☆ The absolute path to the AMXX dir.
    Importan: Without this parameter, the plugin can not find the way
    to /proc. Without this dir, set bench_systemfiles "0".
  • bench_systemfiles "1"
    ☆ Should we use systemfiles?
    Runs on Linux Servers only. You must have a Shell.
  • bench_pidile ""
    ☆ Name of the PID-Files. E.g. -pidfile my_pidfile
    set bench_logfile "my_pidfile".
  • bench_logfile ""
    ☆ Set Logfile to generate a chart for an older benchmark. Normally
    you do not need this.
Notes

1. Generally
  • It is a BETA, so not all data goes to the chart. Look at the
    Screenshots to see what is in.
  • For full usage you need a Linux root server with a shell. Else the tool
    shows the FPS only. FTP/Windows Server should set bench_systemfiles "0".
2. Bugs
  • Bots: Sometimes you have to start/stop your benchmark twice, so that
    the Bots are joining/dropping your server.
  • result.html: At present all results are written into this file.
  • result.html: Analysis of System/Server data is not possible with older
    log-files.
Screenschots

See http://dreizehn.freehoster.ch/frog/p...shgerman#shots


For a german translation and the ChangeLog
See http://dreizehn.freehoster.ch/frog/p...-benchmarktool
Attached Files
File Type: sma Get Plugin or Get Source (benchmarktool-0817-src.sma - 1972 views - 32.3 KB)

Last edited by Ir0n1E; 02-20-2009 at 15:48. Reason: Update beta0817
Ir0n1E is offline
 



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 07:34.


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