L1のキャッシュサイズ調べてみる
cat /sys/devices/system/cpu/cpu0/cache/index0/ coherency_line_size number_of_sets power/ shared_cpu_map type ways_of_associativity level physical_line_partition shared_cpu_list size uevent cat /sys/devices/system/cpu/cpu0/cache/index0/size 32K
transparent_hugepageの仕様確認方法
cat /sys/kernel/mm/transparent_hugepage/enabled always [madvise] never
ldd プログラムがどのようなlinkライブラリに関連してるか調べる奴
$ ldd /bin/echo linux-vdso.so.1 => (0x00007ffdbd7eb000) libc.so.6 => /lib64/libc.so.6 (0x00007f8cbd47b000) /lib64/ld-linux-x86-64.so.2 (0x000055cb68599000)
task実行方法諸々足りてへんで
$ taskset -c 0 ./sched 1 100 1 taskset: failed to execute ./sched: No such file or director
sar(SysStat)コマンドインストール
sudo yum install -y sysstat sudo vi /etc/cron.d/sysstat # Run system activity accounting tool every 10 minutes */10 * * * * root /usr/lib64/sa/sa1 1 1 # 0 * * * * root /usr/lib64/sa/sa1 600 6 & # Generate a daily summary of process accounting at 23:53 53 23 * * * root /usr/lib64/sa/sa2 -A #start sudo service sysstat start #stop sudo service sysstat stop #command sar 1 10 sar 1 1 -u -P ALL sar 1 1 -r