mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

Overclocking the pizero

Mon Feb 08, 2016 7:46 pm

Anyone have any details on pizero overclocking?

I have been messing with RT_PREEMPT on the pizero with jessie and found the Xorg server seemed very sluggish when dragging windows and strange taskbar cpu load figures, e.g. mouse movements causing jumps to 12-20% for 0% when X is idle (nothing but desktop running).

I decided to try overclocking to improve things and seems 1220mhz is about max, is this normal?

on previous rpi 50-60% overclock was possible.

my config.txt has:
raspbian jessie, kernel 3.14 RT_PREEMPT patched
config.txt
arm_freq=1220
core_freq=610
sdram_freq=610
overvoltage=10
over_voltage_sdram=4
force_turbo=1

I did some basic sd write/read tests but not done proper burn in testing yet.

weissjd
Posts: 38
Joined: Mon Dec 14, 2015 6:54 pm
Location: Boston, MA USA

Re: Overclocking the pizero

Mon Feb 08, 2016 7:58 pm

The Zero uses the same 700 MHz processor the B+ used, but it defaults to being overclocked to 1 GHz. They've apparently made improvements that allows it to run a 1 GHz reliably. So, if you're getting more than 1 GHz you've overclocked it quite a bit.

TheGuyUk
Posts: 60
Joined: Fri Jan 29, 2016 4:08 pm

Re: Overclocking the pizero

Mon Feb 08, 2016 8:26 pm

Interestingly when I first starred up my Pi Zero in Raspbian 1.5.0 (there is a newer version available now 1.6.0 ) and I started looking around menus I found by default the Pi Zero was set to 700mhz so I manual changed it to the 1000mhz option. Seems fine so far.

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: Overclocking the pizero

Mon Feb 08, 2016 8:35 pm

mung wrote:I did some basic sd write/read tests but not done proper burn in testing yet.

Code: Select all

sudo apt-get install memtester
memtester 700 4
...will soon tell you whether or not your memory is stable.

Quake Darkplaces gives the CPU and GPU a pretty good thrashing so should make it fall over fairly quickly if they're not stable...

viewtopic.php?p=521214#p521214

The above tests were how I came to the stable overclocking values in my sig. Higher values were fine for everything assuming that the Pi wasn't actually doing anything. :P
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

fruitoftheloom
Posts: 25741
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Overclocking the pizero

Mon Feb 08, 2016 8:36 pm

TheGuyUk wrote:Interestingly when I first starred up my Pi Zero in Raspbian 1.5.0 (there is a newer version available now 1.6.0 ) and I started looking around menus I found by default the Pi Zero was set to 700mhz so I manual changed it to the 1000mhz option. Seems fine so far.
Version 15.0 & 1.6.0 are NOOBS Version and NOT Raspbian Version :?
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

Re: Overclocking the pizero

Mon Feb 08, 2016 8:37 pm

TheGuyUk wrote:Interestingly when I first starred up my Pi Zero in Raspbian 1.5.0 (there is a newer version available now 1.6.0 ) and I started looking around menus I found by default the Pi Zero was set to 700mhz so I manual changed it to the 1000mhz option. Seems fine so far.

Are you certain that it was 700mhz by doing a check with 'vcgencmd measure_clock cpu'???

/proc and /sys do not always give correct output, and as far as I was aware the firmware was set to default to 1ghz regardless of menus in the first version of jessie?

Was 1000mhz all that was possible?

I am sure I read from one of the experts somewhere on this forum that broadcom had made the pizero silicon more 'spicy' so it could be vastly overclocked.

I am not sure but I think also there was an extreme teardown done on youtube where some professional ASIC reverse engineer looked at the die under STM and said the foundry process was smaller maybe 28nm or 24nm.

texy
Forum Moderator
Forum Moderator
Posts: 5172
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Overclocking the pizero

Mon Feb 08, 2016 8:38 pm

TheGuyUk wrote:Interestingly when I first starred up my Pi Zero in Raspbian 1.5.0 (there is a newer version available now 1.6.0 ) and I started looking around menus I found by default the Pi Zero was set to 700mhz so I manual changed it to the 1000mhz option. Seems fine so far.
That would of had no effect - the config software was not compatible with the zero and it was already running at 1ghz. I'm not sure sure if it does yet as I haven't tried it lately.
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

fruitoftheloom
Posts: 25741
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Overclocking the pizero

Mon Feb 08, 2016 8:42 pm

mung wrote:
TheGuyUk wrote:Interestingly when I first starred up my Pi Zero in Raspbian 1.5.0 (there is a newer version available now 1.6.0 ) and I started looking around menus I found by default the Pi Zero was set to 700mhz so I manual changed it to the 1000mhz option. Seems fine so far.

Are you certain that it was 700mhz by doing a check with 'vcgencmd measure_clock cpu'???

/proc and /sys do not always give correct output, and as far as I was aware the firmware was set to default to 1ghz regardless of menus in the first version of jessie?

Was 1000mhz all that was possible?

I am sure I read from one of the experts somewhere on this forum that broadcom had made the pizero silicon more 'spicy' so it could be vastly overclocked.

I am not sure but I think also there was an extreme teardown done on youtube where some professional ASIC reverse engineer looked at the die under STM and said the foundry process was smaller maybe 28nm or 24nm.
The BCM2835 SoC is the same as always, the only change is better quality at the FAB Plant.

Since the B+ the BCM2835 has proved stable at Turbo Over clock..
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: Overclocking the pizero

Mon Feb 08, 2016 8:51 pm

fruitoftheloom wrote:Since the B+ the BCM2835 has proved stable at Turbo Over clock..
I've personally witnessed two that aren't, although I'm sure the majority are. A friend's B+ and my Pi2B both need over_voltage=3, ie, bumped up by one notch for complete stability at 1GHz. I'd imagine that there will be plenty of others out there, just that very few people stress test to the degree that they'll ever notice.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

W. H. Heydt
Posts: 14401
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Overclocking the pizero

Mon Feb 08, 2016 9:02 pm

GTR2Fan wrote:
fruitoftheloom wrote:Since the B+ the BCM2835 has proved stable at Turbo Over clock..
I've personally witnessed two that aren't, although I'm sure the majority are. A friend's B+ and my Pi2B both need over_voltage=3, ie, bumped up by one notch for complete stability at 1GHz. I'd imagine that there will be plenty of others out there, just that very few people stress test to the degree that they'll ever notice.
Pi2B doesn't use the BCM2835. It uses the BCM2836. It was last fall that the "all BCM2835 SoCs will run at 1GHz" was announced. When did your friend buy his B+? It may pre-date the universal testing to be good at 1GHz.

fruitoftheloom
Posts: 25741
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Overclocking the pizero

Mon Feb 08, 2016 9:09 pm

The best way to check CPU Speed:

Maximum CPU frequency

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq

Minimum CPU frequency

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq

Current CPU frequency

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: Overclocking the pizero

Mon Feb 08, 2016 9:12 pm

W. H. Heydt wrote:Pi2B doesn't use the BCM2835. It uses the BCM2836.
D'oh! Now I feel silly because I knew that already. :oops:
It was last fall that the "all BCM2835 SoCs will run at 1GHz" was announced. When did your friend buy his B+? It may pre-date the universal testing to be good at 1GHz.
Quite possibly. I believe it was around June/July last year.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

gregeric
Posts: 1509
Joined: Mon Nov 28, 2011 10:08 am

Re: Overclocking the pizero

Mon Feb 08, 2016 10:10 pm

mung wrote: overvoltage=10
Dodgy looking line there on two three counts:
1. missing underscore (prob just a typo)
2. max value is normally 8, but
3. this is a Zero with implicit 6 over_voltage to start with, so max value you can use in config.txt is 2 (alongside force_turbo) for the max 1.4V setting.

Edited to add: using force_turbo=1 and any over_voltage on the Zero will void your warranty (I think so at least, I find this implicit over_voltage on Zero/Pi2 confusing, why not just say it out loud!)

Methanoid
Posts: 67
Joined: Thu Feb 28, 2013 12:02 pm

Re: Overclocking the pizero

Sat Nov 05, 2016 12:34 pm

mung wrote:Anyone have any details on pizero overclocking?

I have been messing with RT_PREEMPT on the pizero with jessie and found the Xorg server seemed very sluggish when dragging windows and strange taskbar cpu load figures, e.g. mouse movements causing jumps to 12-20% for 0% when X is idle (nothing but desktop running).

I decided to try overclocking to improve things and seems 1220mhz is about max, is this normal?

on previous rpi 50-60% overclock was possible.

my config.txt has:
raspbian jessie, kernel 3.14 RT_PREEMPT patched
config.txt
arm_freq=1220
core_freq=610
sdram_freq=610
overvoltage=10
over_voltage_sdram=4
force_turbo=1

I did some basic sd write/read tests but not done proper burn in testing yet.
So, was it stable? Did you get further...

User avatar
johnb_summers
Posts: 285
Joined: Thu Aug 04, 2016 7:48 pm
Location: Bushey UK

Re: Overclocking the pizero

Sat Nov 05, 2016 2:36 pm

I have 2 pizero's, I don't think I would use them in a PC fashion, they were intended to be imbedded and that's all I would use them for, in fact having the screen output makes them a bit of an overkill, well that's what I think, I would use a pi 2 for most things that need a screen as that's screen function is great and don't lag to much, plus the pi 2 runs cool, the Pi 3 well I have 3 running 24/7 all have fans, I found they make good servers, but for embedded well no, for my latest project using an imbedded pi I have chosen a pi 2 after trying them all, the pi zero would have done but for connecting the wireless and setting it up, a real pain with the zero as you have to have a adapters plugged in and it looks a mess, the Pi 3 was great but wow did it get hot and because it was in a closed box the fan was on all the time, drove me nuts, the Pi2 worked great has run for days with the fan coming on only at moments of high demand, so Pi 2 it is, the project is on the web but only with a local IP at moment, when done it will have a global IP so all can look at the Pi as it works, as I make it so I write it on the MyPi.tech site this one is on
http://mypi.tech/index.php?helpbookname ... helppage=3
MyPi Developer
http://mypiworld.com/
http://mypi.tech/

https://www.youtube.com/watch?v=US2nyRgg-SY&nohtml5=False

Methanoid
Posts: 67
Joined: Thu Feb 28, 2013 12:02 pm

Re: Overclocking the pizero

Sat Nov 05, 2016 3:29 pm

Thanks.. did you post on wrong thread though? This is about OCing the Pi Zero not what you can use them for? ;)

User avatar
johnb_summers
Posts: 285
Joined: Thu Aug 04, 2016 7:48 pm
Location: Bushey UK

Re: Overclocking the pizero

Sat Nov 05, 2016 3:47 pm

Methanoid wrote:Thanks.. did you post on wrong thread though? This is about OCing the Pi Zero not what you can use them for? ;)
No, thought I was saying it is pointless, get a pi2 or 3 if the zero is not fast enough, well I thought I was saying that and offered a solution.
MyPi Developer
http://mypiworld.com/
http://mypi.tech/

https://www.youtube.com/watch?v=US2nyRgg-SY&nohtml5=False

Methanoid
Posts: 67
Joined: Thu Feb 28, 2013 12:02 pm

Re: Overclocking the pizero

Sat Nov 05, 2016 3:49 pm

johnb_summers wrote:
Methanoid wrote:Thanks.. did you post on wrong thread though? This is about OCing the Pi Zero not what you can use them for? ;)
No, thought I was saying it is pointless, get a pi2 or 3 if the zero is not fast enough, well I thought I was saying that and offered a solution.
Yes but Pi Zero form factor is going to fit in my application, Pi2/3 would not. I don't think the OP or myself were asking if OC a Pi Zero was useful.. just how far you can get it to go.... ;)

User avatar
johnb_summers
Posts: 285
Joined: Thu Aug 04, 2016 7:48 pm
Location: Bushey UK

Re: Overclocking the pizero

Sat Nov 05, 2016 3:59 pm

well if anything needs onboard wireless like the Pi3 then the zero does, then it would have a wider appeal, maybe a zero b. just saying.
MyPi Developer
http://mypiworld.com/
http://mypi.tech/

https://www.youtube.com/watch?v=US2nyRgg-SY&nohtml5=False

wildfire
Posts: 711
Joined: Sat Sep 03, 2016 10:39 am
Location: Dundee, Scotland

Re: Overclocking the pizero

Sat Nov 05, 2016 5:55 pm

johnb_summers wrote:well if anything needs onboard wireless like the Pi3 then the zero does, then it would have a wider appeal, maybe a zero b. just saying.
Who mentioned WiFi?
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls

Return to “General discussion”