I tried to use the DNSperf tool that is the benchmark testing tool for an authoritative name server in Linux. This tool has various features to provide the result in many aspects. But I would like to know some options like -c and -q. I tried to observe it from the source code in C. But I don’t get it.
Tag: benchmarking
What is C-state Cx in cpupower monitor
I am profiling an application for execution time on an x86-64 processor running linux. Before starting to benchmark the application, I want to make sure that the Dynamic Frequency scaling and idle states are disabled. Check on Frequency scaling This tells me that the Frequency scaling(Intel’s Turbo Boost or AMD’s Turbo Core) is disabled. In fact, we set it to
Why node.js+mongodb does not gives 100 req/sec throughput for 100 req sent in a second?
I kept node.js sever on one machine and mongodb sever on another machine. requests were mixture of 70% read and 30% write. It is observed that at 100 request in a second throughput is 60req/sec and at 200 requests second throughput is 130 req/sec. cpu and memory usage is same in both the cases. If application can server 130 req/sec
How to correctly use Siege to benchmark GET requests?
I use siege to benchmark a local HTTP service: Benchmark result gives ~500 transactions per second throughput. However, when I benchmark the service manually by launching 8 simultaneous loops of curl, the same endpoint gives many thousands per second throughput. So what am I doing wrong with siege? Answer There a few things that may be impacting your test. Check
Looking for an accurate way to micro benchmark small code paths written in C++ and running on Linux/OSX
I’m looking to do some very basic micro benchmarking of small code paths, such as tight loops, that I’ve written in C++. I’m running on Linux and OSX, and using GCC. What facilities are there for sub millisecond accuracy? I am thinking a simple test of running the code path many times (several tens of millions?) will give me enough