diff options
author | 2019-12-04 09:29:20 +0100 | |
---|---|---|
committer | 2020-02-17 18:04:15 +0100 | |
commit | 0d6f1693f255795d5c747dc444d69c6512586d98 (patch) | |
tree | 073871ca087607e67bb45ad10b8cfab575363b57 /drivers | |
parent | Linux 5.6-rc2 (diff) | |
download | linux-0d6f1693f255795d5c747dc444d69c6512586d98.tar.gz linux-0d6f1693f255795d5c747dc444d69c6512586d98.tar.bz2 linux-0d6f1693f255795d5c747dc444d69c6512586d98.zip |
s390/cpum_sf: Rework sampling buffer allocation
Adjust sampling buffer allocation depending on
frequency and correct comments. Investigation on the
interrupt handler revealed that almost always one interupt
services one SDB, even when running with the maximum frequency
of 100000. Very rarely there have been 2 SBD serviced per
interrupt.
Therefore reduce the number of SBD per CPU. Each SDB is one
page in size. The new formula results in
freq:4000 n_sdb:32 new:16
freq:10000 n_sdb:80 new:16
freq:20000 n_sdb:159 new:17
freq:40000 n_sdb:318 new:19
freq:50000 n_sdb:397 new:20
freq:62500 n_sdb:497 new:22
freq:83333 n_sdb:662 new:24
freq:100000 n_sdb:794 new:25
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions