HOME
  Security
   Software
    Hardware
  
FPGA
  CPU
   Android
    Raspberry Pi
  
nLite
  Xcode
   etc.
    ALL
  
LINK
BACK
 

2021/05/01

ラズパイを製品保証を無効にしないでオーバークロックする方法 ラズパイを製品保証を無効にしないでオーバークロックする方法

(Raspberry Pi Over Clock DO NOT VOID Warranty)

Tags: [Raspberry Pi], [電子工作], [海外通販], [通信販売]




● Raspberry Pi OS Bullseyeは Raspberry Pi 4 Model Bで 1.8GHzの動作をサポートします


2021/11/10
Raspberry Pi OS Bullseyeは Raspberry Pi 4 Model Bで 1.8GHzの動作をサポートします
Raspberry Pi OS Bullseyeは Raspberry Pi 4 Model Bで 1.8GHzの動作をサポートします

  ラズパイ4Bで 1.8GHz動作が可能 config.txtに arm_freq=1800を追加、ただし動作対象の条件有り


● ラズパイを製品保証を無効にしないでオーバークロックする方法

 徒然なるままにクロックアップ。

 Raspberry Pi Over Clock DO NOT VOID Warranty

Raspberry Pi Introducing turbo mode up to 50% more performance for free

Raspberry Pi Overclocking options in config.txt

https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/config_txt/overclocking.adoc
/boot/config.txt
 に
force_turbo=1
 「だけ」を追加する。
 ※ force_turbo=1の設定「だけ」の場合は「保証」は「有効」のまま
 ※ force_turbo=1の状態で over_voltage の指定をすると「保証」が「無効」になります
Raspberry Pi revision codes

https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/raspberry-pi/revision-codes.adoc
 Warranty bit is never set on Pi4 .
 「Pi4は保証無効ビットは絶対にセットされない(=絶対に保証が無効にならない)」と書いてありますが、恐いので試していません。
 (force_turboと over_voltageの両方を指定)

cat /sys/firmware/devicetree/base/model
Raspberry Pi 3 Model B Plus Rev 1.3

cat /proc/cpuinfo | grep 'Revision'
Revision : a020d3 保証が有効な状態
Revision : 2a020d3 保証が無効な状態(オーバークロック設定をした事が有る)
先頭に「2」が追加される

vcgencmd otp_dump | grep 30:
30:00a020d3 保証が有効な状態
30:02a020d3 保証が無効な状態(オーバークロック設定をした事が有る)
2文字目が「0」から「2」に変わる

How do I overclock my RPi 4 safely, and does it void my warranty ?
The "warranty" bit was added as a way of pacifying suppliers who were nervous that allowing overclock may result in a large number of dead Pi's being returned.
 But since the first Pi was released we've never seen a Pi that appears to have died through overclocking.

Raspberry Pi Frequency management and thermal control


● ラズパイをオーバークロックした場合冷却ファンが必須です

 ラズパイをオーバークロックの設定をしても CPUの温度が高温になると低速動作に切り替わるのでオーバークロックの意味が無くなります。
 CPUの温度を下げる為の冷却機構が必要です。

 ※ 通常仕様の場合でも「負荷」を掛ける使い方の場合は冷却ファンは必要です(有る方が良い)


正規代理店商品 Raspberry Pi 4 Model B (8GB) made in UK 技適マーク入 ヒートシンク(3個)付き
ASIN: B0894KF95L

ラズベリーパイ 4 コンピューターモデルB 8GB Raspberry Pi 4 ラズパイ 4 TELEC認定取得済み
ASIN: B089GSG8Y1

Miuzei 最新Raspberry Pi 4 ケース ラスベリー パイ 4 ケース+ 冷却ファン+ヒートシンク Raspberry Pi 4 Model B対応(Raspberry Pi 4 Model B 本体含まりません) (電源付き)
ASIN: B07VC3RWYZ

GeeekPi ラズベリーパイ冷却キット、Raspberry Pi 4 冷却ファン + Raspberry Piアルミ製ヒートシンク ラズベリーパイ3 B +&ラズベリーパイ3/2モデルBとも対応
ASIN: B07Q2RQZJJ


● sysbench

sudo apt install sysbench
sysbench --version
# sysbench 0.4.12

Usage:
  sysbench [general-options]... --test=<test-name> [test-options]... command

General options:
  --num-threads=N            number of threads to use [1]
  --max-requests=N           limit for total number of requests [10000]
  --max-time=N               limit for total execution time in seconds [0]
  --forced-shutdown=STRING   amount of time to wait after --max-time before forcing shutdown [off]
  --thread-stack-size=SIZE   size of stack per thread [32K]
  --init-rng=[on|off]        initialize random number generator [off]
  --test=STRING              test to run
  --debug=[on|off]           print more debugging info [off]
  --validate=[on|off]        perform validation checks where possible [off]
  --help=[on|off]            print help and exit
  --version=[on|off]         print version and exit

Compiled-in tests:
  fileio - File I/O test
  cpu - CPU performance test
  memory - Memory functions speed test
  threads - Threads subsystem performance test
  mutex - Mutex performance test
  oltp - OLTP test

Commands: prepare run cleanup help version

See 'sysbench --test=<name> help' for a list of options for each test.

sysbench --test=cpu run
sysbench --test=threads run
sysbench --test=memory run

sysbench --test=cpu run

Maximum prime number checked in CPU test: 10000


Test execution summary:
    total time:                          286.5661s
    total number of events:              10000
    total time taken by event execution: 286.5552
    per-request statistics:
         min:                                 28.60ms
         avg:                                 28.66ms
         max:                                 30.62ms
         approx.  95 percentile:              28.72ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   286.5552/0.00


● nbench

zosxang / nbench
Linux / Unix nbench

sudo apt update
git clone https://github.com/zosxang/nbench
cd nbench
make
./nbench

./nbench

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          357.36  :       9.16  :       3.01
STRING SORT         :          34.835  :      15.57  :       2.41
BITFIELD            :      9.8977e+07  :      16.98  :       3.55
FP EMULATION        :          75.541  :      36.25  :       8.36
FOURIER             :          5174.1  :       5.88  :       3.31
ASSIGNMENT          :          4.5765  :      17.41  :       4.52
IDEA                :          1102.6  :      16.86  :       5.01
HUFFMAN             :          448.94  :      12.45  :       3.98
NEURAL NET          :          5.6395  :       9.06  :       3.81
LU DECOMPOSITION    :          199.57  :      10.34  :       7.47
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 16.414
FLOATING-POINT INDEX: 8.199
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : 4 CPU ARMv7 Processor rev 4 (v7l)
L2 Cache            :
OS                  : Linux 5.4.83-v7+
C compiler          : gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1)
libc                : libc-2.28.so
MEMORY INDEX        : 3.379
INTEGER INDEX       : 4.731
FLOATING-POINT INDEX: 4.547
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.


● UnixBench

kdlucas / byte-unixbench
 byte-unixbench
 UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.

sudo apt update
git clone https://github.com/kdlucas/byte-unixbench
cd byte-unixbench
cd UnixBench
make
./Run

./Run

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com

 UnixBench ラズパイ 3B+で 1時間位
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: raspberrypi: GNU/Linux
   OS: GNU/Linux -- 5.4.83-v7+ -- #1379 SMP Mon Dec 14 13:08:57 GMT 2020
   Machine: armv7l (unknown)
   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
   CPU 0: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   CPU 1: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   CPU 2: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   CPU 3: ARMv7 Processor rev 4 (v7l) (0.0 bogomips)

   02:33:12 up 8 days, 11:39,  1 user,  load average: 0.42, 0.20, 0.12; runlevel Apr

------------------------------------------------------------------------
Benchmark Run: Sat May 08 2021 02:33:12 - 03:02:22
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        2226142.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                      610.4 MWIPS (10.0 s, 7 samples)
Execl Throughput                                380.8 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks         59607.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           16391.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        179881.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                               93701.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  16280.8 lps   (10.0 s, 7 samples)
Process Creation                                862.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   1015.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    292.4 lpm   (60.1 s, 2 samples)
System Call Overhead                         295431.9 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    2226142.6    190.8
Double-Precision Whetstone                       55.0        610.4    111.0
Execl Throughput                                 43.0        380.8     88.6
File Copy 1024 bufsize 2000 maxblocks          3960.0      59607.9    150.5
File Copy 256 bufsize 500 maxblocks            1655.0      16391.5     99.0
File Copy 4096 bufsize 8000 maxblocks          5800.0     179881.5    310.1
Pipe Throughput                               12440.0      93701.5     75.3
Pipe-based Context Switching                   4000.0      16280.8     40.7
Process Creation                                126.0        862.9     68.5
Shell Scripts (1 concurrent)                     42.4       1015.9    239.6
Shell Scripts (8 concurrent)                      6.0        292.4    487.3
System Call Overhead                          15000.0     295431.9    197.0
                                                                   ========
System Benchmarks Index Score                                         136.5

------------------------------------------------------------------------
Benchmark Run: Sat May 08 2021 03:02:22 - 03:32:06
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables        8882243.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2435.8 MWIPS (10.0 s, 7 samples)
Execl Throughput                               1087.6 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks         99490.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           27162.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        315544.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                              359720.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  66589.5 lps   (10.0 s, 7 samples)
Process Creation                               2303.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2205.1 lpm   (60.1 s, 2 samples)
Shell Scripts (8 concurrent)                    310.2 lpm   (60.4 s, 2 samples)
System Call Overhead                        1139755.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    8882243.7    761.1
Double-Precision Whetstone                       55.0       2435.8    442.9
Execl Throughput                                 43.0       1087.6    252.9
File Copy 1024 bufsize 2000 maxblocks          3960.0      99490.5    251.2
File Copy 256 bufsize 500 maxblocks            1655.0      27162.5    164.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     315544.2    544.0
Pipe Throughput                               12440.0     359720.2    289.2
Pipe-based Context Switching                   4000.0      66589.5    166.5
Process Creation                                126.0       2303.7    182.8
Shell Scripts (1 concurrent)                     42.4       2205.1    520.1
Shell Scripts (8 concurrent)                      6.0        310.2    517.0
System Call Overhead                          15000.0    1139755.4    759.8


● Samsung製スマホの保証ビット、通称 KNOXビット

adb shell getprop ro.boot.warranty_bit
adb shell getprop ro.warranty_bit

saber-nyan/build.prop
resetprop ro.boot.verifiedbootstate green
resetprop ro.boot.flash.locked 1
resetprop ro.boot.veritymode enforcing
resetprop ro.boot.warranty_bit 0
resetprop ro.warranty_bit 0
resetprop ro.debuggable 0
resetprop ro.secure 1
resetprop ro.build.type user
resetprop ro.build.tags release-keys
resetprop ro.build.selinux 0
resetprop ro.build.flavor sagit-user
resetprop ro.build.description "sagit-user 7.1.1 NMF26X V8.5.5.0.NCACNEG release-keys"
resetprop ro.build.fingerprint google/taimen/taimen:8.1.0/OPM1.171019.013/4474084:user/release-keys
resetprop ro.bootimage.build.fingerprint google/taimen/taimen:8.1.0/OPM1.171019.013/4474084:user/release-keys



Tags: [Raspberry Pi], [電子工作], [海外通販], [通信販売]

●関連するコンテンツ(この記事を読んだ人は、次の記事も読んでいます)

Raspberry Piで Googleの Go言語 + Gin Webフレームワークをインストールして Webアプリを作る
Raspberry Piで Googleの Go言語 + Gin Webフレームワークをインストールして Webアプリを作る

  Raspberry Piで Googleの Go言語 + Gin Webフレームワークをインストールして Webアプリを作る

Raspberry Piで WebAPIモックサーバー JSON Serverを動かしてみるテスト
Raspberry Piで WebAPIモックサーバー JSON Serverを動かしてみるテスト

  Raspberry Piで APIモックサーバー JSON Serverを動かしてみるテスト

Raspberry Piに LAMP構成の Apache MySQL PHP Perl phpMyAdminの Webサーバを構築する方法
Raspberry Piに LAMP構成の Apache MySQL PHP Perl phpMyAdminの Webサーバを構築する方法

  ラズパイで一般的な Webサービスを動かす場合に必要なアプリが入った LAMP stackを構築

Raspberry Piに LLMP Lighttpd + MySQL + PHP + Perl 構成の Webサーバを構築する方法
Raspberry Piに LLMP Lighttpd + MySQL + PHP + Perl 構成の Webサーバを構築する方法

  ラズパイで Webサービスを動かす、Lighttpd + PHP + Perl + Python + Ruby CGIの LLMP stackを構築

Raspberry Piに nginx + MySQL + PHP + Perl 構成の LEMP Webサーバを構築する方法
Raspberry Piに nginx + MySQL + PHP + Perl 構成の LEMP Webサーバを構築する方法

  ラズパイで Webサービス LEMP Stackを構築、nginx + PHP + Perl(UNIXドメインソケット方式)

Raspberry Piの Webサーバに PHP MySQL PDOを入れて PHP CGIから MySQLを操作する方法
Raspberry Piの Webサーバに PHP MySQL PDOを入れて PHP CGIから MySQLを操作する方法

  Raspberry Piの Webサーバに PHP MySQL PDOを入れて PHP CGIから MySQLを操作する方法

Raspberry Pi 3 Model Bで CMSフレームワーク WordPressをセットアップする方法
Raspberry Pi 3 Model Bで CMSフレームワーク WordPressをセットアップする方法

  ラズパイ3で WordPressをインストールする方法

Raspberry Pi3を Gitサーバとして設定する方法、Git単体と GitLabを使用する方法
Raspberry Pi3を Gitサーバとして設定する方法、Git単体と GitLabを使用する方法

  ラズパイ3でローカルの Gitサーバを動かす方法。GitLabをインストールする方法

Raspberry Pi3に Postfixメールサーバーを Gmailの SMTPをリレーとして立てる方法
Raspberry Pi3に Postfixメールサーバーを Gmailの SMTPをリレーとして立てる方法

  Raspbian Jessieで Postfix Mail serverを Gmailの SMTPを中継サーバとして設定する方法

Gitでリモートにプッシュした内容を完全に無かった事にする方法
Gitでリモートにプッシュした内容を完全に無かった事にする方法

  いわゆる Gitでやらかした時に使える最強奥義 git reset --hard HEAD~; git push -f

Raspberry Piに Avahi Bonjourサービスを入れて、ホスト名で接続できる様にする方法
Raspberry Piに Avahi Bonjourサービスを入れて、ホスト名で接続できる様にする方法

  ラズパイに Bonjourサービスを入れて IPアドレスが分からなくてもホスト名で簡単に接続する方法

Raspberry Piや Jetson NANO等をネットワークに接続した場合の IPアドレスの便利ツール xfinder
Raspberry Piや Jetson NANO等をネットワークに接続した場合の IPアドレスの便利ツール xfinder

  DHCPで自動で IPアドレスが割り当てられる場合に、ワンボードマイコンの IPアドレスを調べる場合に便利

Apache Webサーバを過剰なアクセスや DoS攻撃から守る modモジュールの紹介
Apache Webサーバを過剰なアクセスや DoS攻撃から守る modモジュールの紹介

  対 DoS攻撃用の Apache2モジュール mod_evasive、mod_dosdetector、mod_limitipconn、fail2ban等の紹介

Raspberry Pi Zero Wを海外通販の Pimoroni等での購入方法、購入できる通販ショップ一覧まとめ
Raspberry Pi Zero Wを海外通販の Pimoroni等での購入方法、購入できる通販ショップ一覧まとめ

  ラズパイゼロW ワイヤレスモデルを海外通販でサクッと簡単に個人輸入で入手。技適通過でも国内販売は常に品切れ

Raspberry Pi 3で安定して使える相性の無い最適な microSDカードの種類のまとめ
Raspberry Pi 3で安定して使える相性の無い最適な microSDカードの種類のまとめ

  ラズパイ3で安定して使える microSDカードを購入する Teamと SanDiskは絶対に買わない

Raspberry Pi 3 Model Bに専用カメラモジュール RaspiCamを接続する方法
Raspberry Pi 3 Model Bに専用カメラモジュール RaspiCamを接続する方法

  ラズパイに専用カメラモジュールを接続して Raspbianで写真の静止画撮影や動画を録画する方法

Raspberry Pi 3の Linuxコンソール上で使用する各種コマンドまとめ
Raspberry Pi 3の Linuxコンソール上で使用する各種コマンドまとめ

  ラズパイの Raspbian OSのコマンドラインで使用する便利コマンド、負荷試験や CPUシリアル番号の確認方法等も

Raspberry Pi 3公式フォーラムの FAQの内容の日本語訳
Raspberry Pi 3公式フォーラムの FAQの内容の日本語訳

  ラズパイ公式フォーラムの「The Raspberry Pi 3 Model B Q&A thread」の日本語訳

ラズパイを意識した別物製品 Orange Pi Zeroを買ってみた、Allwinner H2+ Cortex-A7 4core
ラズパイを意識した別物製品 Orange Pi Zeroを買ってみた、Allwinner H2+ Cortex-A7 4core

  オレンジパイはラズパイよりもコスパは良いが情報が無いので利用者側に一定のスキルが必要

Orange Pi PC 2を買ってみた、Allwinner H5 Cortex-A53 4core ARM64
Orange Pi PC 2を買ってみた、Allwinner H5 Cortex-A53 4core ARM64

  ラズパイを意識した別物製品、オレンジパイはラズパイよりもコスパが良い、でも情報が無い

Espressif ESP8266 Arduino互換でスケッチが使える ESP-12Eモジュール基板
Espressif ESP8266 Arduino互換でスケッチが使える ESP-12Eモジュール基板

  Espressif ESP8266 ESP-12-E NodeMCU V1 ESP12 CP2102

BangGood通販はドローン以外にも面白い商品がまだまだ有った(電子工作編)
BangGood通販はドローン以外にも面白い商品がまだまだ有った(電子工作編)

  レーザー彫刻機、カラー液晶の DIYオシロ、Arduinoや Raspberry Pi用の小型カラー液晶




[HOME] | [BACK]
リンクフリー(連絡不要、ただしトップページ以外は Web構成の変更で移動する場合があります)
Copyright (c) 2021 FREE WING,Y.Sakamoto
Powered by 猫屋敷工房 & HTML Generator

http://www.neko.ne.jp/~freewing/raspberry_pi/raspberry_pi_over_clock_up_with_warranty/