Cleanup hugepages status

This commit is contained in:
Ben Gräf 2018-07-12 12:48:58 +02:00
parent c7f133a6e3
commit 9ff4ec3288
5 changed files with 4 additions and 23 deletions

View file

@ -567,8 +567,7 @@
tooltip += '\n';
tooltip += "CPU Cache L2/L3: " + (row.client_status.cpu_l2 / 1024) + " MB/"+ (row.client_status.cpu_l3 / 1024) + " MB";
tooltip += '\n';
tooltip += "Huge Pages: " + (row.client_status.hugepages_available ? " available, " : " unavailable, ");
tooltip += (row.client_status.hugepages_enabled ? "enabled" : "disabled");
tooltip += "Huge Pages: " + (row.client_status.hugepages_available ? " available" : " unavailable");
tooltip += '\n';
tooltip += "Used Threads: " + row.client_status.current_threads;
tooltip += (row.client_status.hash_factor > 1 ? " [" + row.client_status.hash_factor + "x multi hash mode]" :"");