export RDTSC_FREQUENCY

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
stickz
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA

export RDTSC_FREQUENCY

Post by stickz »

when i export my RDTSC_FREQUENCY for running a source engine based server, should that value be the clock frequency or the turbo clock frequency of the cpu? ie. i'm currently on strongest single threaded cpu nfo offers. (e3 1270 v3)

before running the server i exported it as

Code: Select all

export RDTSC_FREQUENCY='3491.000000'
the problem with this is thats the core clock frequency. could this be why the cpu is alwaying maxing out at a set value in 80%'s regardless of the cpu? i got the same result on a e5 2690 which is much weaker on a single threaded application like a source engine based server.

the export is working and all because it no longer runs the benchmark on startup. this is the same value as the automatic benchmark has given me multiple times.
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: export RDTSC_FREQUENCY

Post by Edge100x »

The RDTSC frequency is a static value that the CPU chooses regardless of what mode it is in at the time. It is generally close to the default clock speed of the CPU. It is not tied to the realized performance of the CPU, which is why software can reliably use RDTSC for timing.
stickz

Re: export RDTSC_FREQUENCY

Post by stickz »

i'm aware this is a software value. should this software value however be set to the turbo clock performance rather than the core clock?
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: export RDTSC_FREQUENCY

Post by Edge100x »

It's not a software value, no. It's provided by the hardware and static across all clock speeds that the processor can run at. There is only one value and you using anything different will not be helpful to you.
Post Reply