Live data from Hacker News

Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

the-diy-life.com

51–60 of 94 posts

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#51
post #40

> The Pi 2 managed to open the browser and actually started playing back a 1080P video, which was surprising, but playback was terrible. A Youtube tab, web browser modern enough for YouTube, and OS modern enough for that web browser, all fit in 1GB of memory? Wow.

Worth noting: A Pi 1 will decode 1080p h264 video flawlessly. I used one as a media center for a long time, running OpenELEC (now LibreELEC). Moving around the UI was a bit sluggish, but video playback was smooth.

YouTube is an absolute clown show. It's so bad that I'm certain Google devs are actively making it terrible on purpose. I use Newpipe on an older (but not that old) tablet. Whenever Google breaks Newpipe and I have to use a browser, it takes like 30 seconds just to load the page.

Decoding video is trivial when you have hardware decoders.

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#52
post #43

I've got a brute force solver for the NYT Pips game. There's a particular puzzle that it takes 45.2 seconds on on my M2 Max Mac Studio. The solver is single threaded and doesn't use much memory so it is mostly limited by CPU and memory speed. I ran it on my Pi 3, 4, 5, Intel iMac, and on my cheap Amazon Lightsail instance. Here are the results, in seconds: 680.4 RPi 3 274.5 RPi 4 131.3 RPi 5 108.5 Lightsail 78.7 2017…

Very cool. I feel like Lightsail performed quite well. Feels like a local optimum of some kind. Mind specifying the tier?

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#53
post #52
post #43

I've got a brute force solver for the NYT Pips game. There's a particular puzzle that it takes 45.2 seconds on on my M2 Max Mac Studio. The solver is single threaded and doesn't use much memory so it is mostly limited by CPU and memory speed. I ran it on my Pi 3, 4, 5, Intel iMac, and on my cheap Amazon Lightsail instance. Here are the results, in seconds: 680.4 RPi 3 274.5 RPi 4 131.3 RPi 5 108.5 Lightsail 78.7 2017…

Very cool. I feel like Lightsail performed quite well. Feels like a local optimum of some kind. Mind specifying the tier?

If it's low RAM and single threaded then I would expect every tier to perform identically.

(Also I was just looking at the pricing, you don't get any extra CPU cores until the $84 tier!)

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#54

Earlier quoted context omitted.

I did unplug my GPU to save 30 watts, but... 2 watts is equivalent to driving a Prius Prime 0.155 miles per day on battery power. So there's that

That seems an impossible range. This site[0] claims a Prius Prime XSE gets 1.42 miles/kWh. Or (1.42 miles /1000Wh)*2 = 0.0028 miles. Which is ~14 feet, which is significantly more in line with my expectations (though still high) [0] https://www.motortrend.com/reviews/2024-toyota-prius-prime-x...

You are missing a factor of 24, which comes in because they said "0.155 miles per day on battery power".

The easiest way to do the calculation would be, assuming a Prius Prime can do M mi/kWh on battery power, is to calculate 0.155 mi/day x 1/M kWh/mi x 1 day/24h = 0.0065 kW = 6.5/M W. That gives us W which can directly be compared with the 2 W he gave.

Also, 1.42 mi/kWh seems way low for battery power operation. I'm pretty sure that is for mixed gas/electric operation, expressed in MPG-e (47.9) and mi/kWh for convenient comparison to pure EVs. (You can convert between MPG-e and mi/kWh used the conversion factor for 33.7 kWh/gal.

It has a 13.6 kWh battery and a 39 mile all electric range, which suggests M = 2.9 mi/kWh. Plugging that into 6.5/M W gives 2.2 W.

M is probably actually a little higher because the car probably doesn't let the battery actually use 100% of its capacity. Most sites I see seem to say 3.1-3.5 mi/kWh.

On the other hand there are some losses when charging. On my EV during times I've the year when I do not need to use the heating or AC the car is reporting 4.1 or higher mi/kWh, but it is measuring what is coming out of the battery.

When calculated based on what is coming out of my charger it works out to 3.9 mi/kWh. This is with level 2 charging (240 V, 48 A). Level 1 charging is not as efficient as level 2.

If we go with 3.1-3.5 mi/kWh, and assume that is measured on the battery output side and that the loses during charging are about 8%, we get 2.9-3.2 mi/kWh on the "this is what I've getting billed for" side. If we use the average of that and plug into 6.5/M W we get 2.1 W.

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#55

I think the Pi 3 range is a sweet spot for low cost, low power draw, decent-enough CPU. Newer models draw increasingly more power; going from 1.4W to 2.8W may not seem like much, but that's half your battery life. There's a few differences in Raspberry Pi 3 versions that may lead you to buy one or the other: - The Pi 3B has 10/100 Ethernet, 802.11n (single-band) WiFi, Bluetooth 4.1. Power idled at 1.4W and peaked at…

Is the $25 price used? I'm finding the 3, 4 and 5 cost almost the same from web shops (for the 1GB version).

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#57
post #53
post #52

Earlier quoted context omitted.

Very cool. I feel like Lightsail performed quite well. Feels like a local optimum of some kind. Mind specifying the tier?

If it's low RAM and single threaded then I would expect every tier to perform identically. (Also I was just looking at the pricing, you don't get any extra CPU cores until the $84 tier!)

Thanks for pointing that out. I had thought maybe as the tiers went up you'd get faster CPUs, but upon reflection the pricing schedule seems to confirm your point. I guess they are completely virtualized because there is not mention of CPU type on the pricing page.

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#58
post #51
post #40

> The Pi 2 managed to open the browser and actually started playing back a 1080P video, which was surprising, but playback was terrible. A Youtube tab, web browser modern enough for YouTube, and OS modern enough for that web browser, all fit in 1GB of memory? Wow.

Worth noting: A Pi 1 will decode 1080p h264 video flawlessly. I used one as a media center for a long time, running OpenELEC (now LibreELEC). Moving around the UI was a bit sluggish, but video playback was smooth. YouTube is an absolute clown show. It's so bad that I'm certain Google devs are actively making it terrible on purpose. I use Newpipe on an older (but not that old) tablet. Whenever Google breaks Newpipe an…

I had this on my old laptop too, it would really struggle with HD YouTube, but if I copy pasted the url into VLC or MPV it would play just fine.

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#59
post #48

Interestingly the original Pi had the same amount of memory as the PS3 which was available at the time of the Pi release. Still amazes me how much we did with only 512MB.

And you didn't even get the luxury of unified memory on the PS3 - the CPU and GPU had separate 256MB chunks.

I can still barely believe they got Grand Theft Auto 5 running on that thing.

Re: Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

#60
post #41

Got as far as the cookie request, and this is one of those without a "Reject All" option where you have to scroll through dozens of options to deselect. I went no further.

I see no cookie request using NoScript.

I do - perhaps something is misconfigured on your end?
Post reply on HN