Some hard numbers on Pine64 Power Usage
#1
Good Day Everyone,

I've been playing with my Pine64's for a couple weeks now, and thought I would share some details on observed power usage.

I'm using a multi-port 2.1 Amp per port power supply and running 3 Pine64's on it.

Output Voltage: 5.14v

Boot Max Amps: .66
Idle Amps: .30

I'm using mine as "servers" so they are running multiple shards of Redis on them right now for testing.  I have search shard on a separate processor affinity, keeping 0 for the Ethernet, and 1-3 for Redis shards.

Running Redis-Benchmark against all 3 shards at the same time achieving near 100% CPU utilization on each core as well as putting over 100,000 requests per second on the network.

Full CPU and Network Amps: .81

So this gives me some basic calculations.

5.14 * .30 = 1.542 watts idle usage
5.14 * .81 = 4.163 watts peak usage

Now I do not have anything connected via USB, which would draw additional power to power those devices, so keep in mind that this is board only.  I'm also not running HDMI as I am just using an SSH terminal.

Adding a Microsoft Comfort Curve Keyboard, Microsoft Optical Mouse, and HDMI monitor added about .15 amps to my usage.

Given that my electric cost fully delivered is $0.092 / Kwh, and that there are 24 hours in a day, and 30 days in a month (I know it's not exactly 30, but let's keep the math easy).  

Idle Cost Per Month: $0.102
Peak Cost Per Month: $0.275

While additional devices may cause the Pine64 to draw more ancillary power, overall the power efficiency is really amazing for what all it can accomplish.

As a comparison, let's look at my Dev Redis server.  It's a Intel Xeon E5-2620v2 x 2.  Each core maxes out at about 105,000 requests per second.  Giving it a max capacity taking into account a core for ethernet and io of 105,000 * 23 = 2,415,000 requests per second.

At full draw, with dual network, SSD drives, and such, it's about 130 Watts usage.

That gives me an output of 18,576.92 requests per watt.

In comparison the Pine64 running full out is producing about 84,000 requests per second or 20,177.75 requests per watt!

Now think about that for a moment, the Xeon is running 2.10 Ghz, and the Pine64 is 1.2 Ghz...
#2
How do you measure these 130 Watts for Xeon? How do you measure the current draw for the Pine64? Also isn't maxing at around roughly 84,000 - 105,000 requests per second in every test where you did real measurements a little bit suspicious? Wouldn't it point to the network possibly being the bottleneck rather than the CPU?

Other than this, thanks for the interesting results.
#3
(06-26-2016, 06:52 PM)ssvb Wrote: How do you measure these 130 Watts for Xeon? How do you measure the current draw for the Pine64? Also isn't maxing at around roughly  84,000 - 105,000 requests per second in every test where you did real measurements a little bit suspicious? Wouldn't it point to the network possibly being the bottleneck rather than the CPU?

Other than this, thanks for the interesting results.

Good Questions,

So let me give you a few details.  For measuring current draw, I am using a few devices.

USB Power: DORK USB Digital Multimeter - https://www.amazon.com/gp/product/B00J3J...UTF8&psc=1

AC Power: P3 International P4460 Kill A Watt Usage Monitor - https://www.amazon.com/P3-International-...ill+a+watt

AC Power: Cyberlink UPS 

As for testing of the actual throughput capacity for Redis, I am using Redis-Benchmark to provide as close to equal comparison against both devices.  I have also run it both locally each device, and across the network to compare and ensure that I do not have network bottlenecks in the way.  My back end network is all CAT 6 wiring through a single data center grade DLink 48 port gigabit switch.

Since using Redis-Benchmark locally also technically uses the local ethernet chipset, I have set processor affinity for eth0 to CPU 0, and each Redis shard is then set for it's own affinity to a single CPU core as well.

A single core on the Pine64 can deliver approximately 28,000 request per second, compared to a single core on the Xeon processor delivering approximately 105,000.  The Xeon is hyperthreaded giving me a possible 23 usable threads (reserving 1 for network), and the Pine64 is 3 usable threads (reserving 1 for network).

Hope that all make sense?


Possibly Related Threads…
Thread Author Replies Views Last Post
Question External storage problem for pine64 Dani6102 4 2,514 08-22-2023, 08:36 AM
Last Post: gulshan212
  Pine64 as wireless audio device S265 3 3,999 04-07-2022, 10:39 PM
Last Post: S265
  Pine64(+) and manjaro dsychan 0 1,421 04-05-2022, 11:32 PM
Last Post: dsychan
Thumbs Down Pine64 was a Useless Project pushpendrak 18 31,706 11-21-2020, 10:17 PM
Last Post: tllim
  Pine64 LCD rstcologne 0 3,405 09-22-2020, 12:43 PM
Last Post: rstcologne
  Pine64+ power button PaddyChan 0 3,076 09-14-2020, 09:55 AM
Last Post: PaddyChan
  Pine64 OS dpcons 2 5,393 03-02-2020, 04:32 PM
Last Post: dpcons
  Jailhouse supports Pine64+ vj-kumar 0 3,105 02-17-2020, 11:39 PM
Last Post: vj-kumar
  PINE64 board not powering up loki21century 2 6,171 11-25-2019, 12:19 PM
Last Post: Partymack711
  UK power supply (Pinebook Pro 64) skobi 0 2,520 11-17-2019, 04:55 AM
Last Post: skobi

Forum Jump:


Users browsing this thread: 2 Guest(s)