ClearFog

This forum is for supported devices using an ARMv7 Marvell SoC.

ClearFog

Postby technosf » Fri Aug 05, 2016 9:40 pm

Anyone got their hands on one of these, or gotten Arch to run on it?

Looks sweet: https://www.solid-run.com/marvell-armada-family/clearfog/
[size=85] MochaBin 5G || NSA325 [/size]
technosf
 
Posts: 130
Joined: Sat Jan 08, 2011 10:54 pm

Re: ClearFog

Postby pepedog » Fri Aug 05, 2016 9:45 pm

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ClearFog

Postby technosf » Fri Aug 05, 2016 10:13 pm

I've been hoping for something that can act as a router that has multiple phys ethernet. How is the 'Fog behaving? Any issues, especially with the switched ethernet i.e. throughput bottlenecks?

Do you like it? :P
[size=85] MochaBin 5G || NSA325 [/size]
technosf
 
Posts: 130
Joined: Sat Jan 08, 2011 10:54 pm

Re: ClearFog

Postby klundry » Fri Aug 12, 2016 4:14 am

I'm also curious how it's working for you and what the speeds are like. I've been tempted by it for a while.

How do the switched ethernet ports work in alarm? Do they require any configuring or do they just act like a dumb switch?

I was thinking about getting one, putting alarm on it, run pi-hole.. replacing my mikrotik router.
klundry
 
Posts: 33
Joined: Tue Apr 15, 2014 8:36 pm

Re: ClearFog

Postby moonman » Fri Aug 12, 2016 8:19 am

The switched ports are seen as one eth1 interface from within alarm. Switch is setup and ready to work out of the box: you can read about it here:
https://lwn.net/Articles/302333/
http://free-electrons.com/kerneldoc/lat ... sa/dsa.txt

Some performance tests are below:

iperf:
$this->bbcode_second_pass_code('', '[root@ArchDesktop oleg]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.2.10 port 5001 connected with 192.168.2.108 port 41384
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 1.10 GBytes 941 Mbits/sec
^C[root@ArchDesktop oleg]# iperf -c clearfog
------------------------------------------------------------
Client connecting to clearfog, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.10 port 57350 connected with 192.168.2.108 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.10 GBytes 941 Mbits/sec
')

Unixbench results (something to compare to)
Don't look at the final result as storage can be slow or fast and we don't care about storage performance here:
$this->bbcode_second_pass_code('', '[root@clearfog ~]# ubench -c 2

# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #

Version 5.1.3 Based on the Byte Magazine Unix Benchmark

Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com


2 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10

2 x Execl Throughput 1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks 1 2 3

2 x File Copy 256 bufsize 500 maxblocks 1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks 1 2 3

2 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10

2 x Process Creation 1 2 3

2 x System Call Overhead 1 2 3 4 5 6 7 8 9 10

2 x Shell Scripts (1 concurrent) 1 2 3

2 x Shell Scripts (8 concurrent) 1 2 3

========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)

System: clearfog: GNU/Linux
OS: GNU/Linux -- 4.4.16-1-ARCH -- #1 SMP Wed Aug 10 01:57:45 MDT 2016
Machine: armv7l (unknown)
Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
CPU 0: ARMv7 Processor rev 1 (v7l) (0.0 bogomips)

CPU 1: ARMv7 Processor rev 1 (v7l) (0.0 bogomips)

01:50:10 up 1 day, 1:06, 1 user, load average: 0.01, 0.02, 0.00; runlevel unknown

------------------------------------------------------------------------
Benchmark Run: Fri Aug 12 2016 01:50:10 - 02:18:18
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables 17329263.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2584.7 MWIPS (10.0 s, 7 samples)
Execl Throughput 2076.1 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 399714.5 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 121035.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 870796.4 KBps (30.0 s, 2 samples)
Pipe Throughput 1016239.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 159843.1 lps (10.0 s, 7 samples)
Process Creation 4192.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3011.6 lpm (60.1 s, 2 samples)
Shell Scripts (8 concurrent) 406.0 lpm (60.1 s, 2 samples)
System Call Overhead 1757444.3 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 17329263.4 1484.9
Double-Precision Whetstone 55.0 2584.7 469.9
Execl Throughput 43.0 2076.1 482.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 399714.5 1009.4
File Copy 256 bufsize 500 maxblocks 1655.0 121035.9 731.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 870796.4 1501.4
Pipe Throughput 12440.0 1016239.6 816.9
Pipe-based Context Switching 4000.0 159843.1 399.6
Process Creation 126.0 4192.6 332.7
Shell Scripts (1 concurrent) 42.4 3011.6 710.3
Shell Scripts (8 concurrent) 6.0 406.0 676.7
System Call Overhead 15000.0 1757444.3 1171.6
========
System Benchmarks Index Score 729.8
')

cpuinfo:
$this->bbcode_second_pass_code('', '[root@clearfog ~]# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 50.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

processor : 1
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 50.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

Hardware : Marvell Armada 380/385 (Device Tree)
Revision : 0000
Serial : 0000000000000000
')

It also has a h/w crypto engine which is exposed via cryptodev and can be used with openssl-cryptodev package
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: ClearFog

Postby sdrider » Mon Oct 31, 2016 2:36 am

I found this thread because I've been looking for a new SBC router. I currently have an odroid-xu4 running as my home firewall/router. The ordoid-xu4 has done great in this capacity over the last year, but the kernel seems permanently stuck at 3.10. I'd like to start using nftables, which wasn't introduced until 3.13 - and ideally would like to use latest 4.x kernels.

Another thread on ClearFog seems to suggest it's running a 4.x kernel. How stable is ClearFog/Arch right now? Is it running 4.8.x kernel series?

My primary requirements for this use case are:
    - Full speed GbE x2 (USB3 dongle is OK subtitute)
    - ArchLinux
    - Latest kernel (4.8.x)
    - Prefer ARM low-power SBC
    - Prefer EMCC over SD-card
Is ClearFog the right fit or are there other, possibly better, options?
sdrider
 
Posts: 29
Joined: Sat Aug 10, 2013 3:56 am


Return to Marvell

Who is online

Users browsing this forum: No registered users and 3 guests

cron