【備忘録】NucBox G5 BIOS 設定


---

#### GMKtec [NucBox G5](https://www.gmktec.com/products/intel-alder-lake-n97-mini-pc-nucbox-g5) BIOS 設定

- BIOS 設定（ESCキー）
    - C States 変更
    - Power Limit 変更


# C States 変更

- Advance

![bios1.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/8abf0e7a-b668-a860-a00e-0e4f94534a05.png)

- Power & Performance

![bios2.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/afb187af-58a4-4748-3cee-fb06a351b524.png)

- CPU

![bios3.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/5224dc33-82e1-4b52-8fa5-90c460457299.png)

- C states

![bios4.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/5f444c86-b448-daae-1b92-540ce9145aa1.png)

- Disabled / Enabled（初期値：Disabled）

![bios5.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/5fa5fe86-3647-c289-56c0-deab444b2d49.png)
![bios6.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/67b8a2f9-3955-1611-11c8-6308dbe9844a.png)


# Power Limit 15W

- Power

![bios7.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/7675412a-9b39-86fb-2e7c-1d846417f8c8.png)

- Power Limt Select

![bios8.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/2527d811-a364-b3af-b33d-d9d66cf53eab.png)

- 8W / 12W / 15W（初期値：12W）

![bios9.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/421a66f0-ce34-0820-5a40-0c1bd101f906.png)
![bios10.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/283293/bc6c8592-d61f-23e7-b36c-8023a973ec67.png)


# Save & Exit

F4キー

<br><br><br>

# UnixBench 結果

**Ubuntu 24.04.1 LTS**

[https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/byte-unixbench/UnixBench5.1.3.tgz](https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/byte-unixbench/UnixBench5.1.3.tgz)

<br><br>

- Index

```terminal
me@NucBoxG5:~/Downloads/UnixBench$ ./Run
make all
make[1]: Entering directory '/home/me/ダウンロード/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory '/home/me/ダウンロード/UnixBench'
sh: 1: 3dinfo: not found

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

   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

Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1484.

4 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

4 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

4 x Execl Throughput  1 2 3

4 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

4 x File Copy 256 bufsize 500 maxblocks  1 2 3

4 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

4 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

4 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

4 x Process Creation  1 2 3

4 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

4 x Shell Scripts (1 concurrent)  1 2 3

4 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1484.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: NucBoxG5: GNU/Linux
   OS: GNU/Linux -- 6.8.0-45-generic -- #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
   CPU 0: Intel(R) N97 (3993.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) N97 (3993.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) N97 (3993.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) N97 (3993.6 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   00:12:27 up 10 min,  2 users,  load average: 0.84, 0.71, 0.41; runlevel 5

------------------------------------------------------------------------
Benchmark Run: 日 11月 24 2024 00:12:27 - 00:40:26
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       55902747.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7604.5 MWIPS (10.0 s, 7 samples)
Execl Throughput                               3585.5 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1125800.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          311260.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2427268.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1708258.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 182107.4 lps   (10.0 s, 7 samples)
Process Creation                               6584.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7881.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2988.9 lpm   (60.0 s, 2 samples)
System Call Overhead                        1155066.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   55902747.2   4790.3
Double-Precision Whetstone                       55.0       7604.5   1382.6
Execl Throughput                                 43.0       3585.5    833.8
File Copy 1024 bufsize 2000 maxblocks          3960.0    1125800.1   2842.9
File Copy 256 bufsize 500 maxblocks            1655.0     311260.3   1880.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    2427268.3   4184.9
Pipe Throughput                               12440.0    1708258.3   1373.2
Pipe-based Context Switching                   4000.0     182107.4    455.3
Process Creation                                126.0       6584.0    522.5
Shell Scripts (1 concurrent)                     42.4       7881.8   1858.9
Shell Scripts (8 concurrent)                      6.0       2988.9   4981.5
System Call Overhead                          15000.0    1155066.5    770.0
                                                                   ========
System Benchmarks Index Score                                        1603.0

------------------------------------------------------------------------
Benchmark Run: 日 11月 24 2024 00:40:26 - 01:08:28
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables      171344521.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    24721.8 MWIPS (10.0 s, 7 samples)
Execl Throughput                              10475.0 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       2118092.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          598532.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4952090.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             5499065.6 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 571996.3 lps   (10.0 s, 7 samples)
Process Creation                              29096.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  24116.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   3220.6 lpm   (60.0 s, 2 samples)
System Call Overhead                        3312901.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  171344521.6  14682.5
Double-Precision Whetstone                       55.0      24721.8   4494.9
Execl Throughput                                 43.0      10475.0   2436.1
File Copy 1024 bufsize 2000 maxblocks          3960.0    2118092.6   5348.7
File Copy 256 bufsize 500 maxblocks            1655.0     598532.5   3616.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    4952090.4   8538.1
Pipe Throughput                               12440.0    5499065.6   4420.5
Pipe-based Context Switching                   4000.0     571996.3   1430.0
Process Creation                                126.0      29096.0   2309.2
Shell Scripts (1 concurrent)                     42.4      24116.9   5687.9
Shell Scripts (8 concurrent)                      6.0       3220.6   5367.7
System Call Overhead                          15000.0    3312901.0   2208.6
                                                                   ========
System Benchmarks Index Score                                        4150.5
```

<br>

- Graphics

起動して数分のところで落ちてしまい、スコアが出せなかった。

```terminal
me@NucBoxG5:~/Downloads/UnixBench$ ./Run graphics
make all
make[1]: Entering directory '/home/me/ダウンロード/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory '/home/me/ダウンロード/UnixBench'
sh: 1: 3dinfo: not found

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

   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

Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.

1 x 2D graphics: rectangles  1 2 3

1 x 2D graphics: ellipses  1 2 3

1 x 2D graphics: aa polygons  1
**********************************************
Run: "2D graphics: aa polygons": command returned status 35584; aborting
```

---

- Please check that your locale settings

locale のエラーが出る場合は、`locales-all`をインストールする。

```terminal
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").; aborting
```


```terminal
sudo apt install -y locales-all
```