3

This is my first time posting in this forum. I have the Model B board 512mb version, a class 4 16gb SDHD. I bought my Raspberry Pi yesterday and tried to load Arch Linux with no avail. I am a fairly competent linux user, I've been using Linux Mint for nearly a year now. I found installing Arch Linux very difficult, failing to load either XCFE or LDXE desktop environments without fatal errors. So, I gave up with that wiped the SD card and wrote Raspbian to it on my PC.

Loaded up Raspian the next day and successfully initiated the DE. I am not impressed. It is very slow and sluggish, taking around 40 seconds to open or close an application and the overscan function doesn't work. I am not sure if I am to blame, or if it is my SD card or just the OS itself. Has anybody else found this? Is there a better, more lightweight, alternative? Thanks in advance.

Jivings
  • 22,538
  • 11
  • 90
  • 139
Ross Hudson
  • 41
  • 1
  • 1
  • 5

5 Answers5

9

Speed

This is a common issue on the Raspberry Pi, especially seeing as the hardware on a model B is only a 700 MHz ARM11 ARM1176JZF-S core (simply put, 700MHz CPU) and a Broadcom VideoCore IV GPU with only 512MB of RAM. Tack on an SD card that only has a minimum speed rating (read/write if I'm not mistaken) of 4 MB/s, and you have a system that isn't exactly built for speed.

To put this into context, the iPhone 5S has a 1.3 GHz processor (CPU 1.84 times faster than a default, non-overclocked Raspberry Pi) as well as a quad-core GPU and 1GB of RAM (double the Pi's 512MBs.) So, if you really need a lot of speed, the Raspberry Pi isn't a first choice.

Here's another question regarding speed that you may find interesting. I also answered that one, but there are plenty of other answers that include interesting points.


SD Card Speed

As for the applications taking a while to load (and I'm guessing files as well,) that can be caused by the SD card class.

Class corresponds directly with the minimum performance of the card, up to Class 10. Thus, your class four has a minimum speed rating of 4 MB/s and so is obviously slower than a Class 10 with a minimum speed rating of 10MB/s. However, class isn't necessarily the root cause of your issues. Class is a poor rating and mainly applies to cameras (photo and video.) The higher classes move larger files (HD pics and video) faster, but small files like scripts, software, config files are often accessed faster on a Class 4 than a Class 10.


Overclocking

The first way you can really speed up your Pi is to overclock. You can do this on the first boot or later on with the raspi-config command. Overclocking isn't that complicated, you can choose one of five options (None, Modest, Medium, High, & Turbo.) Save these settings and reboot.

This is the easy, mostly safe method. There is also another, more manual, more control method which is a bit more complicated and involves manually editing config files and testing to make sure it won't crash. You can read a much more in depth explanation of overclocking and how to do it on the eLinux RPi page.

Overclocking not only makes the CPU/GPU faster, it also increases the RAM speed, thus overall increasing system speed. However, it will run much hotter and will possibly break sooner than a non-overclocked system, because it is running hotter and faster.

If you overclock other than by raspi-config, you run the risk of tripping a hardware, on-way switch that detects over-overclocking beyond the values in raspi-config.

If you want to find out info about your Pi's current setup, you can run vcgencmd get_config arm_freq and it will give you the current speed of your CPU. If you want even more info, run vcgencmd get_config int and it will spit back the CPU speed, RAM speed, the core speed, the current setting of disable_overscan (possibly the root cause of your overscan issue is that this setting is being changed right?), the boot delay, and temperature limit.


Conclusion

Basically, if you want a faster system, you are going to have to possibly get a better card (not necessarily class 10 though) and overclock (which will reduce the Pi's lifecycle). You can add heat sinks which will lift the heat away from the SOC (System On Chip - Contains CPU, GPU, RAM...) and other things that get hot. A fan really isn't necessary, heat sinks will do the job just fine. For that matter, anything that conducts heat and lifts it farther away from the source (SOC, Ethernet, etc.) will work. For example, I use two pennies stack on top of each-other which then touch two more stacked pennies and it works great! What it looks like

                                    P
                              ______P______
                             P             P
Pennies == P                 P             P
RPi Board --> _____________-----_________-----______
                         ^             ^                
                         |             |
                        SOC         Ethernet

RPiAwesomeness
  • 3,001
  • 4
  • 30
  • 51
  • Thanks for the answer. A little patronising but okay. I've got an additional heat sink and a class 10 32GB SD now. Running Arch Linux with Xfce. Overclocked to 800MHz. Working well. – Ross Hudson May 07 '14 at 20:30
  • 2
    @RossHudson Glad to help, I wasn't trying to be patronising, I was just attempting to make the answer usable for beginning users who may come across this in the future. Arch is definitely the way to go if you want speed, and with that overclocking you will definitely have more speed than a non-overclocked Raspbian installation. Glad you've got it working! – RPiAwesomeness May 08 '14 at 00:52
1

One problem may be the formatting method:

The Windows formatting tool didn't fully wipe my card although it showed that it was fully wiped (it was an 8gb card reduced to around 250mb). The thing that reclaimed the space was the SD card Association formatting tool.

Beta Decay
  • 400
  • 4
  • 14
1

I'd definitely say it's the Class 4 SD card causing your biggest bottleneck. The Pi will want at least a Class 6, but it's worth it to just go all-out and get a Class 10 SDHC. According to the SD Spec, it's 10MB/sec as opposed to 4, and with SDXC coming out the 8-16GB class 10 cards are getting cheaper by the day.

https://en.wikipedia.org/wiki/Secure_Digital#Speed_class_rating

You'll definitely see an increase in response times, much more so than with something like overclocking.

0

It can be slow to run everything off Raspberry Pi. Try accessing your Raspberry Pi remotely through SSH. That way you can see the Raspberry Pi terminal off your regular computer. Also, you won't need another monitor, keyboard, and mouse. This method will be much faster for web browsing & copying and pasting code.

Here is a tutorial to set up SSH: https://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds/remote-ssh

Christine
  • 9
  • 1
0

With NUC prices dropping quickly, and the ability to get a 4GB RAM, 32GB SSD on a NUC for $160 now on Amazon-- unless you're incredibly price conscious, why are Pi's worth the ongoing pain of such sluggish performance?

Sidney
  • 11
  • Welcome to Raspberry Pi SE. Feel free to take the tour at https://raspberrypi.stackexchange.com/Tour that will help you get the most from this site. Meanwhile, it is worth pointing out that the newer models will have much better performance than a Model B. – SDsolar Apr 20 '18 at 02:20