GithubHelp home page GithubHelp logo

sysjitter's People

Contributors

alexeiz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

seanvk clrkwllms

sysjitter's Issues

sysjitter can run on the cores other than the cores specified

I pulled over the source from this repo, then compiled code and ran sysjitter on a Intel machine with a command as below

./sysjitter --runtime 30 --cores 1,2 200

core_i: 0 8
threshold(ns): 200 200
cpu_mhz: 2500 2500
runtime(ns): 29999116255 29999113075
runtime(s): 29.999 29.999
int_n: 30489 30733
int_n_per_sec: 1016.330 1024.464
int_min(ns): 1215 1080
int_median(ns): 1689 1594
int_mean(ns): 2484 2685
int_90(ns): 1864 1902
int_99(ns): 10866 11044
int_999(ns): 170671 171572
int_9999(ns): 384572 692862
int_99999(ns): 643410 984783
int_max(ns): 643410 984783
int_total(ns): 75743397 82545295
int_total(%): 0.252 0.275

I wanted sysjitter to run on the cores 1 and 2, however, it actually ran on the cores 0 and 8 as this output indicated. I am not sure what I did wrong or this is an issue.

By the way, this machine has 24 cores. Except core 0 and 8, others are all isolated through the configuration shown as below from the file /etc/tuned/cpu-partitioning-variables.conf

housekeeping_cpus=0,8
no_balance_cores=1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
isolated_cores=1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23

Here is the output of lscpu and /proc/cmdline if these data can help diagnose the issue

lscpu

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Model name: Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
Stepping: 7
CPU MHz: 1200.151
BogoMIPS: 4999.70
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 15360K
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d

cat /proc/cmdline

BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-147.el8.x86_64 root=/dev/mapper/rhel_dell--pet620--01-root ro crashkernel=auto resume=/dev/mapper/rhel_dell--pet620--01-swap rd.lvm.lv=rhel_dell-pet620-01/root rd.lvm.lv=rhel_dell-pet620-01/swap console=ttyS0,115200n81 skew_tick=1 nohz=on nohz_full=1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 rcu_nocbs=1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 tuned.non_isolcpus=00000101 intel_pstate=disable nosoftlockup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.