Jump to content

Setting from maximum processor frequencies, and setting SWAP


Recommended Posts

Hello, please tell me how I can configure the processor on my Orange Pi Zero to the maximum frequency and voltage, as well as how to do SWAP and register it at startup, I use active cooling radiators and a cooler, I am warned of a possible failure, thank you in advance!

Link to comment
Share on other sites

You can set your governor to performance. For swap, do you mean creating a swap file? Or zram?
A swap file on an sd-card is a bad idea, you need fast storage for that.
You can find here how to create a swap file, and how to install zram. Zram shoud be installed by default to my knowledge in Armbian.

I don't have your board, no idea of possible OC for it.

Link to comment
Share on other sites

45 minutes ago, enceladusspace said:

Hello, please tell me how I can configure the processor on my Orange Pi Zero to the maximum frequency and voltage


This is Armbian. Your board is well tuned out of the box. You can push speed little higher, but all you will gain is higher consumption and instability.

Link to comment
Share on other sites

42 minutes ago, NicoD said:

Вы можете настроить свой губернатор на производительность. Для swap, вы имеете в виду создание файла подкачки? Или зрам?
Файл подкачки на SD-карте - плохая идея, для этого нужно быстрое хранилище.
Вы можете найти здесь, как создать файл подкачки и как установить zram. Zram должен быть установлен по умолчанию, насколько мне известно в Armbian.

У меня нет твоей доски, нет понятия о возможном OC для этого.

namely zram, by default it is 256mb, I would like to increase it to 2048mb and break it into 4 blocks

Link to comment
Share on other sites

59 minutes ago, enceladusspace said:

So you tell me how I can control the frequencies and voltage?

 

Have you used forum search function extensively? Pretty much all boards have this define in device tree. Decompile, edit, compile back and reboot is the basic principle.

Link to comment
Share on other sites

Just now, Igor said:

 

Have you used forum search function extensively? Pretty much all boards have this define in device tree. Decompile, edit, compile back and reboot is the basic principle.

opp- 1008 000000 {
                        opp-hz = <0x00 0x3c14dc00>;
                        опр- микровольт = <0x 124 f80 0x124f80 0x13d620>;
                        clock-latency-ns = <0x3b9b0>;
                };

                opp- 1104 000000 {
                        opp-hz = <0x00 0x41cdb400>;
                        опр- микровольт = <0x 142 440 0x142440 0x142440>;
                        clock-latency-ns = <0x3b9b0>;
                };

                opp- тысяча двести 000000 {
                        ОППЫ-хз = <0x00 0x47868c00>;
                        опр- микровольт = <0x 142 440 0x142440 0x142440>;
                        clock-latency-ns = <0x3b9b0>;
                };

 

Which file do you want to make the following changes to?

Link to comment
Share on other sites

Just now, enceladusspace said:

Which file do you want to make the following changes to?


Start using search button before opening questions.

Link to comment
Share on other sites

Just now, Igor said:


Начните использовать кнопку поиска, прежде чем открывать вопросы.

 

In this topic and solution, the path to editing the file is not indicated, why can not I ask this question here?

Link to comment
Share on other sites

2 hours ago, enceladusspace said:

In this topic and solution, the path to editing the file is not indicated, why can not I ask this question here?

 

This are the file/commands for the Orange Pi Zero (non-plus or 2):

backup original .dtb for safety:
cp /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb ~/sun8i-h2-plus-orangepi-zero.dtb

decompile .dtb (binary) to .dts (read-/editable):
dtc -I dtb -O dts /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

edit/change .dts:
nano /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

compile .dts (read-/editable) back to .dtb (binary):
dtc -I dts -O dtb /boot/dtb/sun8i-h2-plus-orangepi-zero.dts -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb

then reboot to activate

But be aware as @Igor wrote before:
 

Quote

You can push speed little higher, but all you will gain is higher consumption and instability.

 

Other users and I here in the forum also tested and edited these values and only did get instable and crashing SBCs.

If you want to get your SBC working stable use the tested frequencies.... and most cheap SBCs like the OPi Zero cant switch to a voltage where the CPU is stable above 1.08GHz (e.g. 1.2GHz)

Link to comment
Share on other sites

24 minutes ago, guidol said:

 

This are the file/commands for the Orange Pi Zero (non-plus or 2):


backup original .dtb for safety:
cp /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb ~/sun8i-h2-plus-orangepi-zero.dtb

decompile .dtb (binary) to .dts (read-/editable):
dtc -I dtb -O dts /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

edit/change .dts:
nano /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

compile .dts (read-/editable) back to .dtb (binary):
dtc -I dts -O dtb /boot/dtb/sun8i-h2-plus-orangepi-zero.dts -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb

then reboot to activate

But be aware as @Igor wrote before:
 

 

Other users and I here in the forum also tested and edited these values and only did get instable and crashing SBCs.

If you want to get your SBC working stable use the tested frequencies.... and most cheap SBCs like the OPi Zero cant switch to a voltage where the CPU is stable above 1.08GHz (e.g. 1.2GHz)

Thank you for the detailed answer! Peace to your home!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines