Dual Intel LAN NUC!
-
Links to hardware?
-
Nice. :)
I do like to see a wide input voltage, mostly because I have loads of laptop power supplies and I'm a cheapskate. Also though with the cost of electricity rising ever higher I'm more seriously considering a small scale solar installation. I realise that's incredibly niche and it's also somewhat just moving the power electronics to different place in the system. I'm sure Phil would be pleased. ;)Steve
Yes, Phil is pleased and happy that this niche is becoming more popular. My bigger offices would do well with 4-port devices so we can have 2 WAN/ISP connections and have 2 LAN (e.g. office LAN and guest WiFi system) without also having to add a VLAN switch. But want 12V DC and low-power to run from solar as much as possible.The links from gonzopancho look promising. It will be interesting to know what power the production boards use at or close to idle (which is most of the time) and when doing some real work, and also if they officially can take wide-range DC input (e.g. 10/11-15/16VDC) to connect directly to batteries that are being charged and discharged during day and night.
Outside of Kathmandu we have to beg to get a 2Mbps link, so bandwidth/throughput/processing power is not our problem any time soon! -
The q1900dc-itx is a nice computer. I run it as the main linux machine for the house supporting samba shares, printer sharing, and as the media (Movies, music, pandora, hulu, netflix) machine that is hooked up to a large TV. It simultaneously runs windows inside a VM to support a legacy printer/scanner. It accepts voltage from 9v - 19v DC with a common barrel plug. I don't think phil.davis would want to use it as his router, but I assume he also needs real computers? Its super low power and no fans to fail. Mine runs super cool. Around 27c for the mobo and 38 for the CPU.
As far as the computer, http://www.jetwaycomputer.com/JBC311U93.html
I like it OK. Good enough for pfsense. I like the HDMI ports because I prefer full installs with regular monitors and keyboards, mouse, etc.
Abit pricey for my uses and not as fast as my current board but power use is lower so if you are on a power budget, might be nice. -
Abit pricey for my uses and not as fast as my current board but power use is lower so if you are on a power budget, might be nice.
Yes, more expensive, no AES-NI, and higher power than other solutions.
But pfSense runs on it, so you can do what you like!
-
Howdy All:
I was eyeballing an older Intel NUC –DCCP847DYE--Rather cheap at $150
Only one LAN but it has 2 mini-pci-e. One full and one half sized slot.
I want to build a nice low power pfSense MIFI and with 2 slots this will work.Half sized -Atheros/Full SierraQ: Any other NUC's offer 2 mini PCIe slots in any form??
I see the DC3217IYE as well but both are last generation QS77 and that one is more.
Thanks Frank -
Similar to _Rogue I was also looking for a pfsense wlan router with <10W, small and enough power to OpenVPN >50 Mbit (and in an ideal case 100MBit for the upcoming VDSL2 line) and ended up with the noted Jetway HBJC311U93W-2930-B and just replaced the internal half-sized intel wlan with an atheros version. And while rather early, the device seems to do the job.
Regarding power usage: with pfsense 2.1.5, Kingston 60GB SSD, 4GB ram, network, HDMI and a Logitech K400 keyboard connected the jetways power usage is 8.5W when idle - wich is much lower than I expected with HDMI on.
The other cheaper available solution I considered was the Mitac E220 based on the J1900 and dual lan (but no Intel NICs).
Otherwise I agree with gonzopancho, if you have the time to wait, I guess there will be plenty of nice hardware coming up next year with AES-NI support to allow very fast VPNs in small devices with <10W. But isn't there always a better solution next year? And the HBJC311U93W-2930-B will still be usefull for other jobs (media player, …) once replaced.
-
8.5W is impressive. How are you measuring it? Do you have powerd enabled? Does it recognise such a relatively new cpu?
Steve
-
So what did you choose for Atheros radio. I have a bunch and finally found a good half card.
Dell Alienware AR5BHB112.
Only Atheros 450M half card i could find.
I bought the DC3217IYE to build a mifi hotspot. -
I like that the Jetway uses wide range of input voltages. From 9V-24V. To me that is very versatile. I am guessing the intel NUC is 19V only?~??
I will fire up adjustable power supply and test when it arrives. I am really hoping it works at 12V as i would like to incorporate a PicoUPS into my MIFI so i can carry it from the car to an outlet with a battery pack I want to build it with 12V-12AH SLA batteries and an plastic enclosure..I'm thinking lunchbox design with battery on bottom and the computer on hinged lid with a handle outside.. -
The 8.5W with pfsense 2.1.5 on the jetway HBJC311U93W-2930-B were without any additional power optimzations done. Just the default pfsense settings. I only did setup the LAN ports. But considering the old pfsense version and nor could I find any other data available online, I tried other systems incl. pfSense 2.2 (amd64-20141108-0611).
Now let's summarize the idle power findings:
pfsense 2.1.5 no tweakings: 8.5W pfsense 2.2 no tweakings: 10.0W pfsense 2.2 PowerD enabled: 9.7W ipfire 2.15 no tweakings: 8.8W ipfire 2.15 (powertop savings): 7.3W
All tests were made with HDMI on and usb keyboard connected. Default A01 BIOS settings.
Without HDMI/usb devices connected the above values are only further reduced by 0.2-0.3W.I am new to FreeBSD (do have Linux experience), but I really wonder what those high pfsense 2.2 values are causing. The CPU is rather idle and thus there is no process causing this. Any help/recommendation would be great as good non-obsolete info on powerd on FreeBSD seems hard to find. On Linux enabling the powersaving of usb/PCI/sata/audio as recommded by powertop reduced the consumption by 1.5W and with pfsense 2.2 there needs to be done more to become competitive.
stephenw10: power measurements were made with a small old power meter EKM 265 from ELV. The low power measurements in the past were pretty
compareble to figures published based on a professoinal LMG 95 device from ZES. So they are unlikely completly off ;-) I also did some measurents using a Fritz!Dect 200 wich provides 0.15W higher values on the jetway and allows displaying the power usage over time.Phishfry: I bought a noname Atheros 9280 card. I avoided the newer cards for now, as I allready would be lucky to get this one working reliable. I had my share of driver problems with atheros in the past on dd-wrt and OpenWRT devices. Never worked 100% reliable.
And at last some openssl benchmarks results. During those tests the power usage increased by 2-3 watt. Sorry I had no tools for a quick max test. But based the Intel NUC measurements published, I guess with CPU and GPU maxed out you can get 16-17W - very unlikely values in routing practice wich should stay <10W if pfSense 2.2 power usage is optimized.
pfsense 2.2: OpenSSL 1.0.1i-freebsd 6 Aug 2014 built on: date not available options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) compiler: cc The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes md5 14908.20k 58849.61k 155058.26k 265082.06k 334230.87k sha1 17859.42k 55769.09k 126660.18k 186410.67k 216241.49k des cbc 36870.12k 39487.79k 40424.19k 40656.21k 40716.97k des ede3 14402.27k 14809.69k 14941.95k 14975.32k 14944.25k aes-128 cbc 37023.75k 41897.60k 43502.68k 109868.71k 111091.71k aes-192 cbc 31610.94k 34957.65k 36090.50k 93038.25k 93937.66k aes-256 cbc 27236.69k 29907.31k 30949.97k 80860.47k 81214.77k sha256 15787.31k 35099.65k 59627.26k 72193.37k 76961.11k sha512 12212.90k 48712.92k 75503.70k 105785.00k 120015.53k sign verify sign/s verify/s rsa 2048 bits 0.005758s 0.000221s 173.7 4533.4 sign verify sign/s verify/s dsa 2048 bits 0.001743s 0.002090s 573.6 478.4
ipfire 2.15: OpenSSL 1.0.1j 15 Oct 2014 built on: Thu Oct 16 11:14:49 GMT 2014 options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DSSL_FORBID_ENULL -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGEST -DL_ENDIAN -DTERMIO -Wall -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC -fstack-protector-all --param=ssp-buffer-size=4 -march=i586 -mtune=generic -fomit-frame-pointer -DPURIFY The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes md5 11160.98k 39212.15k 111467.05k 208104.08k 279203.13k sha1 8932.52k 25254.60k 52538.79k 72554.47k 81828.34k des cbc 17631.95k 18286.85k 18464.98k 18526.98k 18565.72k des ede3 6923.09k 7041.20k 7061.36k 7067.37k 7086.37k aes-128 cbc 42861.52k 46583.46k 47833.87k 48221.22k 48377.84k aes-192 cbc 37666.14k 40351.69k 41397.66k 41620.11k 41756.29k aes-256 cbc 33229.59k 35514.66k 36174.95k 36391.55k 36339.38k sha256 8464.54k 20115.75k 36104.36k 45101.31k 48788.85k sha512 2480.39k 9917.46k 14650.50k 20254.65k 22848.81k sign verify sign/s verify/s rsa 2048 bits 0.049082s 0.001477s 20.4 676.9 sign verify sign/s verify/s dsa 2048 bits 0.013782s 0.016444s 72.6 60.8
-
The only good way to measure power draw is with a amp meter… On the cord that plugs into the wall or battery power.
But I'm sure its quite low.
I'd like to have one of the new atom 8 core boards but I'd run alot more than just pfsense on it.
-
My first thought is that the much newer drivers in 2.2 (built on FreeBSD 10.1) is enabling some hardware that 2.1.5 doesn't. Maybe the ACPI stuff is working significantly differently.
It's a little old now but this is pretty much the definitive document in saving power in FreeBSD:
https://wiki.freebsd.org/TuningPowerConsumptionSteve
-
kejianshi: It's a True RMS based measurement at the power plug at the wall. So I do not know what is wrong with that other than the device not being as accurate as the noted LMG 95.
stephenw10: I already run into the site you noted. But as said, I am new to FreeBSD and thus the note like "hint.ahcich.X.pm_level" is something I do not easily understand (like how to determine the X.Y devices on FreeBSD?). And shouldn't a PowerD configuration handle these things? So there are lot's of time consuming searching coming up to get answers.
-
There is nothing wrong with it. Thats the way to measure it.
-
I have done some testing on pfsense 2.2 and I think the cause for the higher power usage is that the CPU is not switching to >C1 states on the jetway NUC. I already tried all sorts of things: disabling throttle+p4tcc, trying to set hw.acpi.cpu.cx_lowest="C3" and various P-State settings in the BIOS, but after booting hw.acpi.cpu.cx_lowest remains on C1 and no change to dev.cpu.0.cx_usage. Strangely dev.cpu.0.cx_supported does list C2/C3. No obvious problem reported in dmesg either.
Being a FreeBSD/pfsense user for just some hours, I wonder if this is a limitation of FreeBSD on Bay Trail-M? A BIOS problem? A missing setting in rc.conf?
Any idea what I could try next? C6 does work with ipfires Linux kernel 3.10 so it's not completly broken.
dev.cpu.0.freq_levels: 1826/2000 1660/1825 1494/1650 1328/1475 1162/1300 996/1125 871/984 830/950 726/831 664/775 581/678 498/600 435/525 373/450 311/375 249/300 186/225 124/150 62/75 dev.cpu.0.cx_supported: C1/1/1 C2/2/500 C3/3/5000 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 384us dev.cpu.0.coretemp.delta: 60 dev.cpu.0.coretemp.resolution: 1 dev.cpu.0.coretemp.tjmax: 105.0C dev.cpu.0.coretemp.throttle_log: 0 dev.cpu.0.temperature: 45.0C dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/1/1 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% last 88273us dev.cpu.1.coretemp.delta: 60 dev.cpu.1.coretemp.resolution: 1 dev.cpu.1.coretemp.tjmax: 105.0C dev.cpu.1.coretemp.throttle_log: 0 dev.cpu.1.temperature: 45.0C dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.CPU2 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.cx_supported: C1/1/1 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% last 79us dev.cpu.2.coretemp.delta: 56 dev.cpu.2.coretemp.resolution: 1 dev.cpu.2.coretemp.tjmax: 105.0C dev.cpu.2.coretemp.throttle_log: 0 dev.cpu.2.temperature: 49.0C dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.CPU3 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0 dev.cpu.3.cx_supported: C1/1/1 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 100.00% last 39747us dev.cpu.3.coretemp.delta: 56 dev.cpu.3.coretemp.resolution: 1 dev.cpu.3.coretemp.tjmax: 105.0C dev.cpu.3.coretemp.throttle_log: 0 dev.cpu.3.temperature: 49.0C hw.acpi.cpu.cx_lowest: C1 machdep.idle_mwait: 1 machdep.idle_available: spin, mwait, hlt, acpi machdep.idle: acpi
Otherwise the only two other things that slightly helped reducing power usage were:
# avoid power for devices without driver 0.2W hw.pci.do_power_nodriver=3 # Powermanagement for SATA 0.5W hint.ahcich.0.pm_level=5 hint.ahcich.1.pm_level=5
-
Hmm, interesting.
I have played with power tuning on a couple of boxes, both much older than this. A Pentium-M based box responded very well to powerd controlling the P states, 15-20% idle power reduction. However a C2D box much less well, though I was hacking the BIOS to enable speedstep etc which confused things. ;) It appeared as though the lower power C states overwhelmed any gains made by using P states. On that box I had to enable the lower C states in the BIOS and then set the sysctl to allow a lower 'lowest' state. It's a while ago now but I'm pretty sure I set dev.cpu.0.cx_lowest rather than hw.acpi.cpu.cx_lowest.
powerd can control a couple of other things but mostly does only CPU power control.Steve
-
Thanks stephenw10. I tried everything. Switched to FreeBSD 10.1RC4 and generated the data necessary to file bug report 194920 on bugs.freebsd.org . Maybe they will fix this for FreeBSD 11.
The additional 1.5W power this bug seems to cause on idle are less of a concern to me as the pfsense 2.2 system is down to 9W with the noted settings. A bigger concern is, that this might be the reason for powerd being stuck to 1826 MHz and not getting into turbo with the openssl speed test running on one thread? For now, the speed should be more than fine for my 50MBit VPN. But with 100MBit this might become a problem.
Forgot to talk about temperatures on the jetway NUC: CPU is usualy fine with <50C. It takes some time until the case warms up under heavy load. A bit concern gives me the mSATA ssd wich already has reached a max temp of 63C during the tests and it is not >40C in summer and heavy load for hours. Jetway seems to also have some suspicions for such extremes and did add a fan connector. But I guess a small heatsinks connecting SSD with the case will be totaly fine for me.
-
My understanding is that the 'turbo' mode is not dependent on the OS, I don't think powerd is the issue here.
Also I imagine that cpu will easily manage 100Mbps of vpn traffic even at the lower frequency.Steve
-
I couldn't find any info on the Bay Trail turbo mode, but all info I found from Intel seems to indicate that C1 state is considered active when it comes to turbo mode and thus there is no turbo with all cores in C0 or C1. If powerd doesn't display the turbo frequency even if activated by the cpu hardware, then I guess I have to find another way to test that.
-
The cpu frequency should be shown in the sysctls. I forget exactly which one, I usually just grep for 'freq'.
Steve