rainwater11
Posts: 29
Joined: Fri Nov 01, 2013 1:49 am

How to make the Pi faster?

Tue Jan 21, 2014 11:43 pm

I thought of overclocking but will it make my Pi last not as long. Is there other ways to make it faster?

User avatar
richiepp
Posts: 140
Joined: Wed Dec 19, 2012 4:56 pm

Re: How to make the Pi faster?

Tue Jan 21, 2014 11:47 pm

I've read it can be boosted up to 800Mhz and in some cases 900Mhz. Search around this forum and the web and you'll find a bunch of stuff. I'm considering bringing mine up to 800mhz.

Good Luck!
Rich

User avatar
chrisryall
Posts: 155
Joined: Wed Nov 27, 2013 11:45 am
Location: Wirral UK
Contact: Website

Re: How to make the Pi faster?

Tue Jan 21, 2014 11:47 pm

C

rainwater11
Posts: 29
Joined: Fri Nov 01, 2013 1:49 am

Re: How to make the Pi faster?

Tue Jan 21, 2014 11:49 pm

I have mine at 800Mhz, but I don't want to go any further.

User avatar
DrDominodog51
Posts: 79
Joined: Sun Sep 29, 2013 6:16 pm

Re: How to make the Pi faster?

Tue Jan 21, 2014 11:56 pm

Enabling the L2 cache to the cpu MAY speed up you pi, but it may slow it down.

rainwater11
Posts: 29
Joined: Fri Nov 01, 2013 1:49 am

Re: How to make the Pi faster?

Tue Jan 21, 2014 11:57 pm

How do I enable that?

User avatar
DrDominodog51
Posts: 79
Joined: Sun Sep 29, 2013 6:16 pm

Re: How to make the Pi faster?

Wed Jan 22, 2014 12:02 am

In the config.txt file add

Code: Select all

disable_l2cache=0

rainwater11
Posts: 29
Joined: Fri Nov 01, 2013 1:49 am

Re: How to make the Pi faster?

Wed Jan 22, 2014 12:22 am

Will it make it faster?

User avatar
mline
Posts: 1427
Joined: Sun Jan 27, 2013 1:47 pm
Location: Austria, Vienna

Re: How to make the Pi faster?

Wed Jan 22, 2014 12:48 am

rainwater11 wrote:Will it make it faster?
No. L2 cache is already enabled if you use default config.txt

http://elinux.org/RPi_config.txt#Memory
<~~>

User avatar
r3ndrag
Posts: 5
Joined: Tue Jan 21, 2014 9:34 am
Location: Australia

Re: How to make the Pi faster?

Wed Jan 22, 2014 1:10 am

When over clocking the Pi is concerned I notice that there is no definitive Mhz range eg 800mhz max. Is this because of chip manufacturing as in is it luck of the draw? eg my Pi does 800mhz yours does 900mhz.
When in doubt choose C++

User avatar
DrDominodog51
Posts: 79
Joined: Sun Sep 29, 2013 6:16 pm

Re: How to make the Pi faster?

Wed Jan 22, 2014 3:43 am

r3ndrag wrote:When over clocking the Pi is concerned I notice that there is no definitive Mhz range eg 800mhz max. Is this because of chip manufacturing as in is it luck of the draw? eg my Pi does 800mhz yours does 900mhz.
Yes. Mine over clocks to 1ghz easily. A good sd card may help with over clocking.

User avatar
rpdom
Posts: 17399
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: How to make the Pi faster?

Wed Jan 22, 2014 7:06 am

I have no problem with my Pi set to 950MHz. Some claim to have got theirs running at over 1200MHz.

Overclocking may shorten the life span of you Pi by a few years - maybe even reducing its life from 30 years to 25 years :o

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26825
Joined: Sat Jul 30, 2011 7:41 pm

Re: How to make the Pi faster?

Wed Jan 22, 2014 8:55 am

rpdom wrote:I have no problem with my Pi set to 950MHz. Some claim to have got theirs running at over 1200MHz.

Overclocking may shorten the life span of you Pi by a few years - maybe even reducing its life from 30 years to 25 years :o
What he said. You are not going to shorten the life of your Pi by overclocking in any real term way. So overclock as much as you want (as long as its still runs!).

Note that due to variations in SoC manufacture, some will overclock a little some a lot, I've heard of one at 1.2Ghz IIRC. But that does void the warrantee bit.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

User avatar
mline
Posts: 1427
Joined: Sun Jan 27, 2013 1:47 pm
Location: Austria, Vienna

Re: How to make the Pi faster?

Wed Jan 22, 2014 3:26 pm

jamesh wrote:But that does void the warrantee bit.
Only if you use the force_turbo=1 option.
<~~>

User avatar
CopterRichie
Posts: 131
Joined: Tue Mar 26, 2013 3:14 am
Location: Los Angeles CA.

Re: How to make the Pi faster?

Wed Jan 22, 2014 3:45 pm

rainwater11 wrote:I thought of overclocking but will it make my Pi last not as long. Is there other ways to make it faster?
May I ask what applications are being used and are they optimized to run on the Pi?

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: How to make the Pi faster?

Wed Jan 22, 2014 6:08 pm

There really isn't much you can optimise on the Pi apart from over clocking (already mentioned), using a higher SD card class, or allocate more system RAM if you're not so bothered about playing HD videos.

Richard S.

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: How to make the Pi faster?

Wed Jan 22, 2014 7:30 pm

Running with fresh versions also helps.

User avatar
CopterRichie
Posts: 131
Joined: Tue Mar 26, 2013 3:14 am
Location: Los Angeles CA.

Re: How to make the Pi faster?

Thu Jan 23, 2014 1:15 am

Well, if possible, reduce the memory footprint. We have only 512 megabytes and try to limit accessing virtual memory.

User avatar
Jednorozec
Posts: 809
Joined: Sun Nov 24, 2013 2:17 pm
Location: Deposit, NY

Re: How to make the Pi faster?

Thu Jan 23, 2014 7:48 am

I just got my Pi running on an external hard disk and that makes it quite a bit faster.
The most important leg of a three legged stool is the one that's missing.
It's called thinking. Why don't you try it sometime?

Heater
Posts: 16293
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to make the Pi faster?

Thu Jan 23, 2014 9:21 am

Is there any point to all this over clocking business?

Adding 100Mhz does not really show up in the "user experience".

Often things are limited by net work speed/latencies or SD speed.

Lack of memory is a killer if you are using a lot. If you go to swap space all bets are off speed wise. (Does the Pi even have swap enabled by default?)

When it comes to real-time monitoring and toggling those GPIO pins you are limited by the Linux "jiffy" clock rate that times the scheduling of things.

On the other hand I reduced the time required to build a GCC cross compiler on the Pi from about 20 hours to about 10 by putting all the workspace on an external USB hard drive!

Stop using X and get used to the command line, everything is snappy there. I can even run my GPU accelerated OpenGL programs directly from the command line into the frame buffer. Plenty fast enough.
Memory in C++ is a leaky abstraction .

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: How to make the Pi faster?

Thu Jan 23, 2014 9:27 am

Heater wrote:Is there any point to all this over clocking business?

Adding 100Mhz does not really show up in the "user experience".
It very much depends on what you do. For example there is big difference between 700MHz and 1100MHz when playing videos or html5 code in iceweasel.
And OC doubles your speed when running motion with USB webcams.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26825
Joined: Sat Jul 30, 2011 7:41 pm

Re: How to make the Pi faster?

Thu Jan 23, 2014 9:33 am

100Mhz is a big percentage increase, 200 more so, and 300 almost 50% faster - that IS noticeable.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Heater
Posts: 16293
Joined: Tue Jul 17, 2012 3:02 pm

Re: How to make the Pi faster?

Thu Jan 23, 2014 9:40 am

Fair enough.

I guess I have been doing a lot of stuff on the Pi that is I/O bound rather than CPU bound recently.

I'm loath to over clock the thing when I get enough random hangs as it is. For example actually completing that marathon 10 hour compile has a one in four success rate. Often the Pi will totally jam up and need a power cycle.

Overclocking seems like tempting fate for me.
Memory in C++ is a leaky abstraction .

User avatar
CopterRichie
Posts: 131
Joined: Tue Mar 26, 2013 3:14 am
Location: Los Angeles CA.

Re: How to make the Pi faster?

Thu Jan 23, 2014 10:45 am

Heater wrote: Stop using X and get used to the command line, everything is snappy there. I can even run my GPU accelerated OpenGL programs directly from the command line into the frame buffer. Plenty fast enough.
Please, can you point me to a tutorial on how to do this?

Thank you greatly.

mikerr
Posts: 2826
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: How to make the Pi faster?

Thu Jan 23, 2014 11:12 am

The best overclocking results are when using a USB drive as root filesystem
(largeroverclocks can corrupt SD cards)

USB root is also much faster in itself than SD.

Return to “General discussion”