Power consumption difference A10 vs A20

Started by hoijui, May 09, 2016, 10:17:53 AM

Previous topic - Next topic

hoijui

I read in the user manuals:
Lime-A10:  draws between 400mA and 650mA/750mA (inconsistency in the PDF)
Lime2-A20: draws between 400mA and 650mA
(from 5V, without external peripherals)

in the introduction sections of some of the manuals (and possible in some parts of the website),
it is stated that the A10 is a less powers-hungry alternative to the A20.

So the consumption mentioned and this later statement somehow seem to contradict...
or can you please explain?

Im considering whether to buy Lime-A10 or Lime2-A20 for a linux server, and power consumption is the main argument for me, while second is CPU & RAM. I am most interested in idle state power consumption.
i might run stuff like tor and jitsi relays. it will be a headless system (no graphics).

JohnS

Do you want min / max / typ figures?  You look to have max ones only.

Realistically you should just measure with your own workload but a 2-core is likely to use a bit more than a single core.

The boards are very cheap so maybe just buy both and then measure or start with A10 and see if it's OK.

John

soenke

If the load is the same, the power consumption should not make a big difference. The A20 will calculate shorter with 2 cores and a higher peak consumption during this time, the A10 will calculate longer with lower peak consumption. In the end almost the same Wh will be used.

In idle state the power consumption is almost the same, the lime2 will use some 10mA more because of more RAM and Gbit ethernet, but the cores in idle state differ only by some few mA.

If i would have to choose i would always prefer a dual core because of the better response times and more cpu power reserves. If you have a "hanging" process with 100% CPU you still have 1 core left for your ssh session.

More important is to take a really fast SD-Card so the system does not wait-freeze on HD-IO. For reliability take a industry-grade card like the SDSDSQAE-032G or similar. For a server system try to avoid consumer cards like Extreme/Extreme pro.

soenke

And adding this:

The A10 is made in 55nm, the A20 in 40nm, so the A20 has the process advantage concerning power consumption.

hoijui

wow, thanks a lot for the info. all i wished for and more. :-)

now that you made me think about the storage, soenke...
* what are the specs for the microSD cards that olimex sells (with android/debian)? (size in GB and read&write speeds)
* does it make sense to get a microSD card and a USB flash drive of the same size, and set them up as a RAID0?
* is the Lime2 USB v 2.0 or 3.0? the features list just states "high-speed"

soenke

lime2 has USB2.0

I dont know how fast the olimex cards are, i guess they are standard-class10 (>10MB/s) and for sure not the fastest on the market. And that for a good reason, their pre-made cards are for people who start playing around with embedded boards and linux. So it would be a waste of money to use big, fast and expensive cards for that.

If you compare them to industry grade cards, the latter have higher transfer speeds, faster random access (which is the most important for running an os) and of course a higher long-term reliability.

But for just playing around, principal tests and development the olimex-cards are by far good enough.

The cards i use (mentioned above) have 32GB, transfer rates of about 65MB/s and faster random access speed than an extreme pro but cost about 20€ per card.

RAID0 rarely makes sense on flash devices, especially with different interfaces. I would not do that.

Better invest your money in a bigger and/or faster microSD card. If that is not enough, there is a SATA-connector onboard...

hoijui

again, thanks a lot soenke, very good info!
i don't think i ever received that good help online, in the last 15 years.
i salute you!

the only thing i am left with... what would you suggest for minimizing the risk of loosing data due to hardware failure, using lime2 as a server, and trying to consume little space and power?
using an SD card for OS and data storage, and a SATA or USB drive, or simply a USB flash stick as a backup storage?

soenke

you are welcome, glad i can help :)

simple answer: backup!

If it is really vital data, it shall not be physically connected to the server for longer than the backup runs or have another backup in spare (e.g. another medium from the previous day). Depending on your requirements you can e.g. exchange the backup medium every day or every week cycling with 2-7 different backup media.

Another solution is another computer running in another location, like a cloud backup, a root-server or another lime2 at your parents home.

If 32GB or 64GB is enough for your system + data i would only use a single SD Card for everything, that is the smallest and most power saving configuration.

hoijui

ouhhh really? so it is unlikely that an SD card is going to fail completely and more likely that just certain "blocks" are going to fail? otherwise backup on the same card would not make sense, right?

i plan to be mostly away from the server(s), and would prefer not having to exchange backup media. and yes, i plan on having little data overall.

i was actually thinking about doing exactly that" a second lime2 at my parents home. :D
.. at least for the second/backup machine, wake-on-LAN would be a good thing i guess. is that possible with the built-in ethernet?

soenke

In my experience SD cards fail blockwise before they die completely. Like a SSD they can reassign some reserve space if single cells fail, you will _not_ get a hint if that happens. The controller also mangages wear-leveling, so avoid having a 90% full card and lots of write cycles in the last 10%. But if the controller on the card dies, the whole card is dead instantly. Sometimes you will get hints by kernel freezes that something is dying but not all the time.

A backup on the same media is not a backup :) That can still save you from accidental deletion of some files but this is not called a "real" backup protecting against hardware failure, lightning strikes etc.

I have not done anything with WOL yet so i cant tell you that. Maybe searching for the PHY in the internet helps. I think it depends on the linux driver if it is supported.


hoijui

RTL8211CL-GR is the PHY chip on lime2, and it seems not to support WOL (datasheet):
http://www.datasheet4u.com/datasheet/R/T/L/RTL8211C-GR_RealtekMicroelectronics.pdf.html

also, the BIOS would have to support it, if i get it right. i don't know anything about the lime2 BIOS, but i read that most BIOSes do support it (i guess there it is mostly a software/firmware issue).

either way, i will assume this is not supported, and that is ok for me, no absolute must have, but...
as i read that they are, or might be looking for a new PHY that would support industry-level temperatures, it would be nice if that new PHY would also support WOL (hope someone is listening here ;-) ), as it is useful for a low-load server setup.

thanks again, a lot, soenke! :-)

hoijui

hey soenke! :-)
i try to choose an SD car now, and looking at what you posted back then, i am quite confused.
Quote from: soenke on May 09, 2016, 12:19:39 PM
More important is to take a really fast SD-Card so the system does not wait-freeze on HD-IO. For reliability take a industry-grade card like the SDSDSQAE-032G or similar. For a server system try to avoid consumer cards like Extreme/Extreme pro.
reading about SanDisk's Ultra and Extreme lines, supposedly Ultra is for consumers, and Extreme/Extreme Pro is for professionals, and none is explicitly industry-grade. i assume the  one you thouhg of is ultra, which supposedly is the cheap version(?) also, i think you had at least one typo in the model you mentioned, as a google search for it turns out only this forum post.
is it sufficient to say, that we want at least 48MB/s read speed? if so, 32GB can be found for 10Eur na d64 for 20Eur (September 2016).

igorpec

linux for ARM development boards
www.armbian.com

soenke

Hi hoijui,

i did not mistype the sd-card manufacturer number, it is the one we use in our boards.

The reason why we use this one is, that these are of higher quality and have a better random read/write performance than the exteme pro, but also a slower sequential read/write performance. The latter does not matter as it is limited by the board anyways, as you can read in igors link.

The extreme pro is optimized for video cameras or professional photo cameras which have to write a lot (sequentially) in a short time. It is not optimized for running operating systems.

Our experience with the extreme pro (and other consumer cards of that class) is, that they tend to randomly fail after a while or cause random kernel freezes. Not all of them, but about 20% (we used about 100 of them, about 20 failed or caused crashes after 3 hours to 6 month).

Since we the use industry grade sd-cards (SDSDSQAE with 32GB) we have had not a single failure or crash so far.

You can order them at your local sandisk distributor. afaik you cant buy them at consumer shops like amazon, because there they sell the cards which are not good enough for the industry as exteme/extreme pro ;)

hoijui

despite looking in many places, and writing emails to local distributors, and looking at farnell's website, i could not yet find a single trace of the ominous SDSDSQAE cards mentioned (am in germany here).
what i was able to find, is "industrial grade" SD and MicroSD cards. there are some industrial grade SD cards with sizes up to max 4GB (not enough for a server OS + data, for me), which already cost 80+Eur, and then some industrial grade panasonic card sup to 32GB for ~170Eur, for which i could build a RAID5 out of 4 1TB SATA drives. i also found 32GB kingston "industrial (temperature)" microSD cards for around 25Eur, which would be fine, but i kind of assume that this "industrial" really just refers to the temperature range, and does not imply any improved reliability (at normal temperatures)... am i right there?
if yes, then i see no other option then to go SATA, which is a real pity, because of weight, physical size, noise and power consumption.
did i miss something, or get something wrong?