-
|
Hello, I created a PowerShell script to automatically run the HammerDB test. It runs smoothly with the appropriate number of TMPs on many Windows servers. However, on one server, it received a very poor value of 300 TMP. I've tried many things to improve this abnormal result, but the result remains unchanged. Does anyone know what the cause might be? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Firstly lets change this to a discussion topic ... |
Beta Was this translation helpful? Give feedback.
-
|
So firstly you mean NOPM/TPM instead of TMP? Secondly you don't give any hammerdb or database configuration, data, or results. You also don't even mention the database you are testing only it is on Windows - all 6 of the databases HammerDB supports run on windows. You say you've tried many things but don't say what any of these are. (This is why Issue templates have these sections for a reason). You also say you got an appropriate number of TPM but again not what you have decided is appropriate. So for anyone to know the cause without anything to work from would clearly be guesswork. Nevertheless it is worth noting that this is exactly one of the scenarios that HammerDB is for, you've tested multiple databases and found one environment does not perform the same as the rest - many people do not even get to this stage. So, a more appropriate question is not "Does anyone know what the cause might be" but by providing as much configuration and data as possible the correct question then is "based on these results, can anyone suggests the right steps to take to troubleshoot my database performance issues". |
Beta Was this translation helpful? Give feedback.
Great question 😄
so there is a blog post here where I walk through troubleshooting database performance that was linked to a CPU microcode issue https://www.hammerdb.com/blog/uncategorized/diagnosing-cpu-faults-and-performance-with-hammerdb/ I'm not saying this is also your issue but it helps walk you through some of the steps you need to take.
So firstly look in the SQL Server logs and windows event logs - do you see any errors here?
Then use the script to check the CPU single-threaded performance in SSMS - is this similar in the low seconds or taking a lot longer - if longer check the CPU and BIOS settings. While there also check the reported CPU frequency in task manager and make sure …