{"id":794,"date":"2015-07-04T16:42:01","date_gmt":"2015-07-04T07:42:01","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=794"},"modified":"2015-07-04T16:42:01","modified_gmt":"2015-07-04T07:42:01","slug":"post-794","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/07\/04\/post-794.html","title":{"rendered":"pi2 fedora22 \u3067OC"},"content":{"rendered":"
\u524d\u56de\u3001Pi2\u306b\u3001Fedora22 \u3092\u5165\u308c\u3066\u3001UnixBench \u3092\u8a08\u6e2c\u3057\u305f\u3068\u304d\u306f\u3001279.9 \u3067\u3061\u3087\u3063\u3068\u6b8b\u5ff5\u3060\u3063\u305f\u306e\u3067\u8a2d\u5b9a\u304c\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u898b\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n
\u30fb\u73fe\u5728\u306eCPU \u52d5\u4f5c\u30af\u30ed\u30c3\u30af\u3092\u78ba\u8a8d\u3057\u3001\u4e0a\u3052\u3066\u307f\u307e\u3059\u3002raspi-config\u306f\u306a\u3044\u306e\u3067\u3001\/proc\/\u914d\u4e0b\u306e\u5024\u3092\u3068\u308a\u3042\u3048\u305a\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n
[root@pi2 boot]# cat \/proc\/cpuinfo \nprocessor : 0\nmodel name : ARMv7 Processor rev 5 (v7l)\nBogoMIPS : 38.40\nFeatures : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm \nCPU implementer : 0x41\nCPU architecture: 7\nCPU variant : 0x0\nCPU part : 0xc07\nCPU revision : 5\n\nprocessor : 1\nmodel name : ARMv7 Processor rev 5 (v7l)\nBogoMIPS : 38.40\nFeatures : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm \nCPU implementer : 0x41\nCPU architecture: 7\nCPU variant : 0x0\nCPU part : 0xc07\nCPU revision : 5\n\nprocessor : 2\nmodel name : ARMv7 Processor rev 5 (v7l)\nBogoMIPS : 38.40\nFeatures : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm \nCPU implementer : 0x41\nCPU architecture: 7\nCPU variant : 0x0\nCPU part : 0xc07\nCPU revision : 5\n\nprocessor : 3\nmodel name : ARMv7 Processor rev 5 (v7l)\nBogoMIPS : 38.40\nFeatures : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm \nCPU implementer : 0x41\nCPU architecture: 7\nCPU variant : 0x0\nCPU part : 0xc07\nCPU revision : 5\n\nHardware : BCM2709\nRevision : a21041\nSerial : 00000000********\n[root@pi2 boot]# <\/pre>\n\u203b\u3053\u306e\u3042\u305f\u308a\u306b\u306f\u51fa\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n
\u30fb\/boot\/config.txt \u3067\u3001\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306a\u306e\u3067\u3084\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n
[root@pi2 boot]# cat \/etc\/fstab \nUUID=7c321d6b-f2b0-4783-9576-e3dfe657f9b3 \/ ext4 defaults,noatime 0 0\n\/dev\/mmcblk0p1 \/boot vfat defaults 0 0\n[root@pi2 boot]# \n\n[root@pi2 boot]# blkid\n\/dev\/mmcblk0p1: SEC_TYPE="msdos" UUID="509F-31B8" TYPE="vfat" PARTUUID="0008037c-01"\n\/dev\/mmcblk0p2: LABEL="_\/" UUID="7c321d6b-f2b0-4783-9576-e3dfe657f9b3" TYPE="ext4" PARTUUID="0008037c-02"\n\/dev\/mmcblk0: PTUUID="0008037c" PTTYPE="dos"\n[root@pi2 boot]# <\/pre>\n\u4ee5\u4e0b\u306e\u611f\u3058\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u30ea\u30d6\u30fc\u30c8\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n
--- \/boot\/cmdline.txt\ndwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=\/dev\/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait\n\n--- \/boot\/config.txt\narm_freq_min=900\narm_freq=1000\ncore_freq_min=450\ncore_freq=500\n#sdram_freq=500\nover_voltage_min=0\nover_voltage=2<\/pre>\n\u30fb\u4ee5\u4e0b\u3067\u3001\u78ba\u8a8d\u3057\u307e\u3059\u3002\u304c\u3001\u8ca0\u8377\u3092\u304b\u3051\u3066\u3082\u5909\u308f\u3089\u305a\u3002 <\/p>\n
\n\u30fb\u6e29\u5ea6\uff0834428\u3068\u51fa\u305f\u308934.428\u5ea6\u3068\u8aad\u307f\u66ff\u3048\uff09
\n
#cat \/sys\/class\/thermal\/thermal_zone0\/temp<\/p>\n\u30fb\u6700\u5927\u30b9\u30d4\u30fc\u30c9<\/p>\n
#cat \/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/cpuinfo_max_freq<\/p>\n
\u30fb\u73fe\u5728\u306e\u30b9\u30d4\u30fc\u30c9<\/p>\n
# cat \/sys\/devices\/system\/cpu\/cpu0\/cpufreq\/scaling_cur_freq <\/p>\n<\/blockquote>\n
\u8ca0\u8377\u3092\u304b\u3051\u3066\u3082CPU\u30af\u30ed\u30c3\u30af\u304c\u3042\u304c\u3089\u306a\u3044\u306e\u306f\u3001\u4f55\u304b\u304c\u8db3\u308a\u306a\u3044\u3088\u3046\u3067\u3059\u306d\u3002<\/p>\n
\u203b\u30c4\u30fc\u30eb\u3092\u5165\u308c\u3066\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n
<\/p>\n
\u30fb\u30c4\u30fc\u30eb\u3092\u5165\u308c\u308b<\/p>\n
\n[root@pi2 UnixBench]# dnf install cpufrequtils<\/p>\n<\/blockquote>\n
\u30fb\u4ee5\u4e0b\u306e\u611f\u3058\u3067\u3001\u73fe\u5728\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n
[root@pi2 UnixBench]# cpupower frequency-info\nanalyzing CPU 0:\n driver: BCM2835 CPUFreq\n CPUs which run at the same hardware frequency: 0 1 2 3\n CPUs which need to have their frequency coordinated by software: 0 1 2 3\n maximum transition latency: 355 us.\n hardware limits: 600 MHz - 900 MHz\n available frequency steps: 600 MHz, 900 MHz\n available cpufreq governors: conservative, ondemand, userspace, powersave, performance\n current policy: frequency should be within 600 MHz and 900 MHz.\n The governor "powersave\u2605" may decide which speed to use\n within this range.\n current CPU frequency is 600 MHz (asserted by call to hardware).\n[root@pi2 UnixBench]# <\/pre>\n