Re: PI-like board for OpenBSD?

2014-04-22 Thread Chris Cappuccio
Stuart Henderson [s...@spacehopper.org] wrote:
 
 PCEngines APU are faster and more capable (also support amd64), also
 pretty cheap. I don't have one but various other developers do. This has
 had some bios problems but is getting there and has a big advantage of
 being able to use much better storage (msata ssd) which I think would
 be useful if you're running mail on it. So you may need to be prepared
 to flash bios (probably easiest from freedos) and a bit of faff, but
 should get something working fairly well reasonably soon.
 

The APU works really well with the 4/1 and 4/5 BIOS and OpenBSD 5.5
(or current.)

Creating a bootable USB stick for upgrading the BIOS is a minor PITA. But,
these things are much cheaper than the net6501 and probably quite a bit
more reliable (just look at the history of the ALIX vs. net5501 and now
the early history of the net6501...)

They are really fast when compared to their power consumption. The 1GHz core
is just about 3x slower with md5 than my 3GHz Core i5 desktop. (Roughly
5x slower with sha{256,512}.) I wouldn't hesitate to put one in action
for mail, routing, etc. It should be very capable.

And the re(4) driver has none of the problems that vr(4) had 
(which made the ALIX less desirable for some time) I can get _at least_
50MB/sec on tmpfs-tmpfs file transfers between machines with no tuning
whatsoever.

The only place where I'd pick an ALIX over an APU is when the extra $30-$45
USD is too much, or where you need working GPIO today (OpenBSD doesn't
have a driver for the NCT5104D GPIO yet), or where you are already running
really high temperatures and the extra heat could be a problem.

Intel Core i5-3330 (3GHz) core in action:

# md5 -t
MD5 time trial.  Processing 1 1-byte blocks...
Digest = 52e5f9c9e6f656f3e1800dfa5579d089
Time   = 0.185806 seconds
Speed  = 538195752.559121 bytes/second
# sha256 -t
SHA256 time trial.  Processing 1 1-byte blocks...
Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
Time   = 0.747371 seconds
Speed  = 133802355.189056 bytes/second
# sha512 -t
SHA512 time trial.  Processing 1 1-byte blocks...
Digest = 
d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
Time   = 0.491116 seconds
Speed  = 203617882.536916 bytes/second

Intel Core 2 Duo E8300 (2.83GHz) core in action:

# md5 -t
MD5 time trial.  Processing 1 1-byte blocks...
Digest = 52e5f9c9e6f656f3e1800dfa5579d089
Time   = 0.214213 seconds
Speed  = 466825075.975781 bytes/second
# sha256 -t
SHA256 time trial.  Processing 1 1-byte blocks...
Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
Time   = 0.974349 seconds
Speed  = 102632629.581392 bytes/second
# sha512 -t
SHA512 time trial.  Processing 1 1-byte blocks...
Digest = 
d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
Time   = 0.633422 seconds
Speed  = 157872634.673251 bytes/second

AMD G-T40N (1GHz) core in action:

# md5 -t
   
MD5 time trial.  Processing 1 1-byte blocks...
Digest = 52e5f9c9e6f656f3e1800dfa5579d089
Time   = 0.592447 seconds
Speed  = 168791469.954274 bytes/second
# sha256 -t
SHA256 time trial.  Processing 1 1-byte blocks...
Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
Time   = 4.020106 seconds
Speed  = 24874965.983484 bytes/second
# sha512 -t
SHA512 time trial.  Processing 1 1-byte blocks...
Digest = 
d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
Time   = 2.596597 seconds
Speed  = 38511944.672200 bytes/second

AMD G-T40E (1GHz) core in action:

# md5 -t
MD5 time trial.  Processing 1 1-byte blocks...
Digest = 52e5f9c9e6f656f3e1800dfa5579d089
Time   = 0.614200 seconds
Speed  = 162813415.825464 bytes/second
# sha256 -t
SHA256 time trial.  Processing 1 1-byte blocks...
Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
Time   = 4.179778 seconds
Speed  = 23924715.618868 bytes/second
# sha512 -t
SHA512 time trial.  Processing 1 1-byte blocks...
Digest = 
d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
Time   = 2.697796 seconds
Speed  = 37067294.932604 bytes/second

(The G-T40N is a 9W CPU in the APU.1B, the G-T40E is a 6W CPU in the APU.1C)

APU.1B dmesg:

OpenBSD 5.5-current (GENERIC.MP) #62: Thu Apr 10 07:35:11 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2098520064 (2001MB)
avail mem = 2033950720 (1939MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e16d820 (6 entries)
bios0: vendor coreboot 

Re: PI-like board for OpenBSD?

2014-04-22 Thread noah pugsley
On Tue, Apr 22, 2014 at 12:02 PM, Chris Cappuccio ch...@nmedia.net wrote:

 Stuart Henderson [s...@spacehopper.org] wrote:
 
  PCEngines APU are faster and more capable (also support amd64), also
  pretty cheap. I don't have one but various other developers do. This has
  had some bios problems but is getting there and has a big advantage of
  being able to use much better storage (msata ssd) which I think would
  be useful if you're running mail on it. So you may need to be prepared
  to flash bios (probably easiest from freedos) and a bit of faff, but
  should get something working fairly well reasonably soon.
 

 The APU works really well with the 4/1 and 4/5 BIOS and OpenBSD 5.5
 (or current.)

 Creating a bootable USB stick for upgrading the BIOS is a minor PITA. But,
 these things are much cheaper than the net6501 and probably quite a bit
 more reliable (just look at the history of the ALIX vs. net5501 and now
 the early history of the net6501...)

 They are really fast when compared to their power consumption. The 1GHz
 core
 is just about 3x slower with md5 than my 3GHz Core i5 desktop. (Roughly
 5x slower with sha{256,512}.) I wouldn't hesitate to put one in action
 for mail, routing, etc. It should be very capable.

 And the re(4) driver has none of the problems that vr(4) had
 (which made the ALIX less desirable for some time) I can get _at least_
 50MB/sec on tmpfs-tmpfs file transfers between machines with no tuning
 whatsoever.

 The only place where I'd pick an ALIX over an APU is when the extra $30-$45
 USD is too much, or where you need working GPIO today (OpenBSD doesn't
 have a driver for the NCT5104D GPIO yet), or where you are already running
 really high temperatures and the extra heat could be a problem.

 Intel Core i5-3330 (3GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.185806 seconds
 Speed  = 538195752.559121 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 0.747371 seconds
 Speed  = 133802355.189056 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 0.491116 seconds
 Speed  = 203617882.536916 bytes/second

 Intel Core 2 Duo E8300 (2.83GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.214213 seconds
 Speed  = 466825075.975781 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 0.974349 seconds
 Speed  = 102632629.581392 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 0.633422 seconds
 Speed  = 157872634.673251 bytes/second

 AMD G-T40N (1GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.592447 seconds
 Speed  = 168791469.954274 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 4.020106 seconds
 Speed  = 24874965.983484 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 2.596597 seconds
 Speed  = 38511944.672200 bytes/second

 AMD G-T40E (1GHz) core in action:

 # md5 -t
 MD5 time trial.  Processing 1 1-byte blocks...
 Digest = 52e5f9c9e6f656f3e1800dfa5579d089
 Time   = 0.614200 seconds
 Speed  = 162813415.825464 bytes/second
 # sha256 -t
 SHA256 time trial.  Processing 1 1-byte blocks...
 Digest = 7e287e4ab76f3f9cf4a7ac79e79ae63fa3e8fd832ca2262ee99a739cd5ee54c9
 Time   = 4.179778 seconds
 Speed  = 23924715.618868 bytes/second
 # sha512 -t
 SHA512 time trial.  Processing 1 1-byte blocks...
 Digest =
 d9254cd7fdececf9046fefcf6cf1d84b1637147f521f860f93a7b011a99d55ad2b2cf7332e318430f031a7ccd04953e6c870b6a05f215d603f86718294a39ce1
 Time   = 2.697796 seconds
 Speed  = 37067294.932604 bytes/second

 (The G-T40N is a 9W CPU in the APU.1B, the G-T40E is a 6W CPU in the
 APU.1C)

 APU.1B dmesg:

 OpenBSD 5.5-current (GENERIC.MP) #62: Thu Apr 10 07:35:11 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 2098520064 (2001MB)
 avail mem = 2033950720 (1939MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS 

Re: PI-like board for OpenBSD?

2014-04-22 Thread Chris Cappuccio
noah pugsley [noah.pugs...@gmail.com] wrote:
 I was going to get one of these:
 http://www.nextwarehouse.com/item/?1182700_g10e and just turn a 4gb ram
 model into a workstation. Alas I couldn't find any evidence of a driver
 existing...Of course at that price I might as well just get an atom box...
 

Yeah, there are much better choices than APU + graphics card. Like the
SuperMicro X10SBA (requires GPT, UEFI, Bay Trail VGA support though..)



Re: PI-like board for OpenBSD?

2014-04-20 Thread Stuart Henderson
On 2014-04-20, Martin Braun yellowgoldm...@gmail.com wrote:
 Hi

 I know that there isn't going to be any support for the Rasberry-PI,
 but I have been looking for something similar that runs OpenBSD
 without any problems.

 I am mainly interested because of the low power consumption and
 because I want to have this box running 24/7 with OpenBSD.

 I mainly need it for OpenSMTPD and Nginx stuff, so graphics isn't
 important, but I also don't want to fiddle around with special cables
 and stuff, ie. it should be relatively easy to install OpenBSD.

 I already have a couple of R-PI's running XBMC and I have a Cubox
 running Debian.

 Any recommendations for a mini box that runs OpenBSD without problems?

 Kind regards.



PCEngines ALIX are relatively cheap and have pretty much zero problems.
Just worktm

PCEngines APU are faster and more capable (also support amd64), also
pretty cheap. I don't have one but various other developers do. This has
had some bios problems but is getting there and has a big advantage of
being able to use much better storage (msata ssd) which I think would
be useful if you're running mail on it. So you may need to be prepared
to flash bios (probably easiest from freedos) and a bit of faff, but
should get something working fairly well reasonably soon.

armv7 - I think at this point these boards are probably better suited
to somebody working on OpenBSD there, rather than on using it as a
server.



PI-like board for OpenBSD?

2014-04-19 Thread Martin Braun
Hi

I know that there isn't going to be any support for the Rasberry-PI,
but I have been looking for something similar that runs OpenBSD
without any problems.

I am mainly interested because of the low power consumption and
because I want to have this box running 24/7 with OpenBSD.

I mainly need it for OpenSMTPD and Nginx stuff, so graphics isn't
important, but I also don't want to fiddle around with special cables
and stuff, ie. it should be relatively easy to install OpenBSD.

I already have a couple of R-PI's running XBMC and I have a Cubox
running Debian.

Any recommendations for a mini box that runs OpenBSD without problems?

Kind regards.



Re: PI-like board for OpenBSD?

2014-04-19 Thread Guy Hunter
On Sun, Apr 20, 2014 at 03:02:05AM +0200, Martin Braun wrote:
 Any recommendations for a mini box that runs OpenBSD without problems?
 
http://www.openbsd.org/armv7.html



Re: PI-like board for OpenBSD?

2014-04-19 Thread Nick Holland
On 04/19/14 21:01, Martin Braun wrote:
 Hi
 
 I know that there isn't going to be any support for the Rasberry-PI,
 but I have been looking for something similar that runs OpenBSD
 without any problems.
 
 I am mainly interested because of the low power consumption and
 because I want to have this box running 24/7 with OpenBSD.
 
 I mainly need it for OpenSMTPD and Nginx stuff, so graphics isn't
 important, but I also don't want to fiddle around with special cables
 and stuff, ie. it should be relatively easy to install OpenBSD.
 
 I already have a couple of R-PI's running XBMC and I have a Cubox
 running Debian.
 
 Any recommendations for a mini box that runs OpenBSD without problems?
 
 Kind regards.

http://www.openbsd.org/armv7.html

I'm kinda fond of the BeagleBone Black boards.  similar size to the
Raspberry Pi boards.  No USB support at this point.

A bunch of people will yell Soekris!.  But then, they yell that for
every question.  ;)

There is also Alix boards, which I've seen people sing the praises of.

On the other hand, I recently built a three-port firewall system using
an old P3-ish 700MHz Celeron desktop and a CF-IDE adapter -- measured
power draw: 27W when idle.  Yeah, a lot more power than a Beaglebone,
but it was basically free, and a heck of a lot more powerful than any of
the ARM systems we support.  free is a big head-start when it comes to
saving money on electricity.

I've found a fair number of used appliance devices and network
terminals which are basically just special purpose PCs.  Again, not as
low power as the ARM systems, but again, starting price of near free
is hard to beat.

Nick.