The following should do the trick:

RDTSC_FREQUENCY='disabled';export RDTSC_FREQUENCY

Obviously replace disabled with your frequency. This can be placed in
.bash_profile in your home directory to have it done on startup.

On 7 February 2010 12:11, Gene Hardesty <[email protected]> wrote:

> do you use a shell script to run it? if so, you should be able to use
> "export" to set "RDTSC_FREQUENCY" to that number
> if you have shell access, go ahead and type "man export" to get the man
> page
> (I don't know all the stuff of the top of my head)
>
> On Sat, Feb 6, 2010 at 4:51 PM, Nathan D. <[email protected]> wrote:
>
> > When starting a server, a benchmark runs each time to determine the
> > system clock frequency. I have attempted to disable this by adding
> > "-RDTSC_FREQUENCY 2659.000000" to the command line but this did not
> > work. I've tried various other command line options but none worked.
> > What is the correct way to set this permanently? I assume I'd want to
> > set this to the actual system clock rather than just disable it.
> >
> > Here is the actual message given when starting a server:
> >
> > /Running a benchmark to measure system clock frequency...
> > Finished RDTSC test. To prevent the startup delay from this benchmark,
> > set the environment variable RDTSC_FREQUENCY to 2659.000000 on this
> > system. This value is dependent upon the CPU clock speed and
> > architecture and should be determined separately for each server. The
> > use of this mechanism for timing can be disabled by setting
> > RDTSC_FREQUENCY to 'disabled'./
> >
> > Thanks in advance,
> >
> > -Nate
> >
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to