Hi all,
i using Mandriva on i5 with 4GB with a security hardware pci express. Server application that i developed, response to clients using this hardware to encrypt/decrypt sended data.
i saw that using different kernels, performance change significantly:
kernel-rt-3.0.12-0.rt27.69mib-1-1: 279.000 operations/30 sec.
kernel-server-3.1.4-69mib-1-1: 330.000 operations/30 sec.
i would like to understand if and how try to change kernel config to improve this performance, and MIB on kernel customization is SuperExpert
bye
Armando
kernel optimization to massive usage of PCIe Security HW
Forum rules
Before you post, please read forum rules:
Software requests - How to
Tag [SOLVED] in topics
Before you post, please read forum rules:
Software requests - How to
Tag [SOLVED] in topics
Re: kernel optimization to massive usage of PCIe Security HW
you should try other kernel flavours, at least
- kernel-desktop
- kernel-nrj-desktop
and post your data results
so we could try to understand, analyzing more different kernel flavours
bye, NicCo
- kernel-desktop
- kernel-nrj-desktop
and post your data results
so we could try to understand, analyzing more different kernel flavours
bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.
--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.
--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL
Re: kernel optimization to massive usage of PCIe Security HW
Hi NicCo,
thanks for your interest,
here test result:
kernel-desktop-3.1.4-69mib = 330.917 operations/30 sec.
kernel-nrj-desktop-3.1.4-nrj.69mib = 326.580 operations/30 sec.
kernel-server-3.1.4-69mib = 330.000 operations/30 sec.
kernel-rt-3.0.12-0.rt27.69mib = 279.000 operations/30 sec.
seems that all kernels (except kernel-rt) have similar performance
thanks for your interest,
here test result:
kernel-desktop-3.1.4-69mib = 330.917 operations/30 sec.
kernel-nrj-desktop-3.1.4-nrj.69mib = 326.580 operations/30 sec.
kernel-server-3.1.4-69mib = 330.000 operations/30 sec.
kernel-rt-3.0.12-0.rt27.69mib = 279.000 operations/30 sec.
seems that all kernels (except kernel-rt) have similar performance
Re: kernel optimization to massive usage of PCIe Security HW
kernel rt has "preempt rt" by default, so it checks interrupting the scheduler processes more times possible if there is the need to execute some other rt jobs
kernel desktop and server have the same results, so the timer zone is not so important:
desktop, nrj-desktop and netbook are at 1000Hz, where server is the only flavour at 100Hz
kernel nrj has "preempt" enabled by default, and other feature like "rcu boost", all that could cause a little less valours for your software (desktop vs nrj-desktop)
kernel desktop has latency valour about 11ms
kernel rt has about only 1 ms
kernel nrj should be in the middle, about 5 ms
nrj was thought like a compromise, having all features of a kernel-desktop (possibility to add 3rd patches, dkms functionality, ecc.) with lower latency time, values close to rt
so nrj could be the perfect companion for the most number of desktop and multimedia applications, and for remote control, with its better quality in audio / video playing area.
CONCLUSION: for your software or the PCIe Security HW the best choose seems to be kernel-desktop
bye, NicCo
kernel desktop and server have the same results, so the timer zone is not so important:
desktop, nrj-desktop and netbook are at 1000Hz, where server is the only flavour at 100Hz
kernel nrj has "preempt" enabled by default, and other feature like "rcu boost", all that could cause a little less valours for your software (desktop vs nrj-desktop)
kernel desktop has latency valour about 11ms
kernel rt has about only 1 ms
kernel nrj should be in the middle, about 5 ms
nrj was thought like a compromise, having all features of a kernel-desktop (possibility to add 3rd patches, dkms functionality, ecc.) with lower latency time, values close to rt
so nrj could be the perfect companion for the most number of desktop and multimedia applications, and for remote control, with its better quality in audio / video playing area.
CONCLUSION: for your software or the PCIe Security HW the best choose seems to be kernel-desktop
bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.
--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.
--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL