Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3 4

Author Topic: OPNsense, fanless N100/N305 barebone router options  (Read 15905 times)

EC300

  • Member
  • **
  • Posts: 47
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #15 on: January 23, 2024, 08:48:10 AM »

I got it out of the box, installed the 16Gb RAM and M2 SSD, plugged it in and hit the start button with a USB stick containing OPNsense image and was installed and in the WebUI in under an hour. So straightforward, a bit of an anti-climax nerd-wise.  ;D

I am not going to press it straight into service as I want to fiddle about with the OPNsense install without affecting our home connection, so currently its on a static IP on my LAN. I was interested in power consumption so I have hooked it up to a power monitor, its obviously not under load but it runs at about 12W with nothing attached, during the install I saw 20W briefly and which point I had a keyboard (with lots of LED's!) and mouse attached.

The case is warm to the touch and OPNsense reports 38-43C at zero CPU load, its fairly cool in my room (18c)

I took a few pictures which I have attached for those who are interested, I no longer have webspace so I can't host and link them in the way I used to, sorry ....

C

Have you enabled power states on the CPU?  Not sure if this is enabled by default on OPNsense.  The power consumption seems high for idle.  My older i7-7500 Kettop appliance idles at 4-5 watts and the cores are reporting 18-19C, in a room that is 14C. I think perhaps your CPU isn't powering down at idle and may need Intel Speed Shift (or whatever they are calling it these days) enabling.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5520
    • Thinkbroadband Quality Monitors
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #16 on: January 23, 2024, 01:24:41 PM »

New review:

https://www.youtube.com/watch?v=LNEmRaMC7qo

This looks pretty poor unless you really need the size as the N95 is slower than the N100 and the N300 is slower than the N305, plus the appliances all have real i226 ports whereas that one the 4th is a Realtek USB port.  Also not being able to use the common size of M.2 drive limits the storage.  Having an active fan that can fail/clog for a chip that can passively cool is also a huge negative IMO.

It actually makes me laugh how often he goes on about "but you can connect a JBOD", which unless you need to move those drives between different PCs often seems crazy to have all that clutter of multiple boxes.  Granted, my NAS case cost more than a MiniPC alone, but it holds 8 full sized drives.

Have you enabled power states on the CPU?  Not sure if this is enabled by default on OPNsense.  The power consumption seems high for idle.  My older i7-7500 Kettop appliance idles at 4-5 watts and the cores are reporting 18-19C, in a room that is 14C. I think perhaps your CPU isn't powering down at idle and may need Intel Speed Shift (or whatever they are calling it these days) enabling.

I don't know about OPNsense, but pfSense has added Intel Speed Shift as the default option now which has less latency when switching speeds.  It seems PowerD was doing this at the software level whereas Speed Shift is done at the hardware, although I'm not 100% on that as can't find an explanation of how PowerD works
« Last Edit: January 23, 2024, 01:36:08 PM by Alex Atkin UK »
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + GL.iNet GL-X3000
Network: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX WiFi: Zyxel NWA210AX + Ubiquity NanoHD
Broadband History & Ping Monitor

EC300

  • Member
  • **
  • Posts: 47
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #17 on: January 23, 2024, 02:26:01 PM »

I don't know about OPNsense, but pfSense has added Intel Speed Shift as the default option now which has less latency when switching speeds.  It seems PowerD was doing this at the software level whereas Speed Shift is done at the hardware, although I'm not 100% on that as can't find an explanation of how PowerD works

Yes PowerD was sort of software based, it stopped working in the 2.7.0 update from memory when I noticed as my CPU temps went up quite a bit whilst idle, so it then needed Tunable settings in pfSense added to enable Intel's power saving options. The Intel option appeared in 2.7.1 I think.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5520
    • Thinkbroadband Quality Monitors
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #18 on: January 23, 2024, 02:42:27 PM »

This is really interesting, the Power Preference slider makes a HUGE difference, but not quite how I would expect.

If I crank it all the way to efficiency it doesn't seem to let any core boost above 1600Mhz, even under load.  This halves OpenVPN throughput, kinda sucks as I had hoped it would just boost a single core.

But if I put it right in the middle the cores drop to between 1200Mhz and 1600Mhz and boost to 2922Mhz under load, but ALL cores boost when the traffic is going over OpenVPN, which I shouldn't think is necessary.  :-\  Idle temp has dropped 3-4C though.

Using sysctl -a dev.cpu | grep 'freq:' to show core speed.
« Last Edit: January 23, 2024, 02:46:23 PM by Alex Atkin UK »
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + GL.iNet GL-X3000
Network: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX WiFi: Zyxel NWA210AX + Ubiquity NanoHD
Broadband History & Ping Monitor

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7526
  • AAISP CF
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #19 on: January 23, 2024, 07:16:10 PM »

« Last Edit: January 23, 2024, 07:29:00 PM by Chrysalis »
Logged

EC300

  • Member
  • **
  • Posts: 47
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #20 on: January 24, 2024, 08:23:25 AM »

This is really interesting, the Power Preference slider makes a HUGE difference, but not quite how I would expect.

If I crank it all the way to efficiency it doesn't seem to let any core boost above 1600Mhz, even under load.  This halves OpenVPN throughput, kinda sucks as I had hoped it would just boost a single core.

But if I put it right in the middle the cores drop to between 1200Mhz and 1600Mhz and boost to 2922Mhz under load, but ALL cores boost when the traffic is going over OpenVPN, which I shouldn't think is necessary.  :-\  Idle temp has dropped 3-4C though.

Using sysctl -a dev.cpu | grep 'freq:' to show core speed.

I've got mine set to Core Level Control and I find putting the slider at 70 seems to give good behaviour between throttling down and ramping up when needed.  I tried the sysctl command to read the CPU speeds but I have a suspicion that running the command itself is throttling up the CPUs as it is always at or near maximum. On my dashboard the CPU is shown idling at 999MHz and then raises if I put a load on pfSense such as a speed test.
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5520
    • Thinkbroadband Quality Monitors
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #21 on: January 24, 2024, 05:10:27 PM »

I've got mine set to Core Level Control and I find putting the slider at 70 seems to give good behaviour between throttling down and ramping up when needed.  I tried the sysctl command to read the CPU speeds but I have a suspicion that running the command itself is throttling up the CPUs as it is always at or near maximum. On my dashboard the CPU is shown idling at 999MHz and then raises if I put a load on pfSense such as a speed test.

Setting to 70 for me prevents it boosting for OpenVPN traffic.

My box is never exactly idle, so I can't comment on if the command causes boosting, but it definitely isn't causing boosting to maximum and I don't see why it would cause an issue at all given you have to be able to monitor the behaviour somehow - the WebUI is surely just doing the same thing only its got way more overhead with all the PHP stuff running so more likely to cause boosting.

I do notice some parameters are broken too, like its showing max clock as 800Mhz in the UI and sysctl.  I can only assume this is a glitch with it being hardware scaling so they aren't pulling the actual max clock correctly, or its not exposed at all.
« Last Edit: January 24, 2024, 05:46:29 PM by Alex Atkin UK »
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + GL.iNet GL-X3000
Network: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX WiFi: Zyxel NWA210AX + Ubiquity NanoHD
Broadband History & Ping Monitor

Chunkers

  • Reg Member
  • ***
  • Posts: 541
  • Brick Wall head-banger
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #22 on: January 24, 2024, 07:52:48 PM »

Have you enabled power states on the CPU?  Not sure if this is enabled by default on OPNsense.  The power consumption seems high for idle.  My older i7-7500 Kettop appliance idles at 4-5 watts and the cores are reporting 18-19C, in a room that is 14C. I think perhaps your CPU isn't powering down at idle and may need Intel Speed Shift (or whatever they are calling it these days) enabling.

I did enable PowerD, its off by default along with the crypto hardware acceleration and thermal sensors , but not until after I removed the power monitor plug, next time I plan a reboot Ill put the monitor back on and see if it does anything

C
« Last Edit: January 24, 2024, 07:55:34 PM by Chunkers »
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7526
  • AAISP CF
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #23 on: January 24, 2024, 10:54:01 PM »

PowerD should still be working and in my testing works as expected.

The n100 has a big gap between base clock and turbo, so turbo will show as 801mhz. (freebsd doesnt show and detect turbo clocks, instead it adds +1 mhz to the max clock when the cpu is in any turbo clocks).

PowerD has hiadaptive if agressive clocks are desired.

If PowerD isnt running, I dont think the chip will turbo either.  At least thats how things worked before.

I expect the N100 to easily be able to do 100s of mbits on VPN without turbo clocks.

I have no idea what you guys are talking about on 2.7.1 intel controls though, I dont see anything in there related to speedshift or core control.

--

Ok I found what you guys are talking about.

https://redmine.pfsense.org/issues/14047

So it only shows in the UI when hardware p-states is detected and the driver loads, my unit must not be enabling it then which is interesting, the bios on my unit offers no controls at all for the CPU most bare bones bios I ever seen so no way for me to force speedshift on.

At least I know what you guys are on about now.

I havent seen my unit pull more than 10w, unless I am doing something like running a all core benchmark on it.
« Last Edit: January 24, 2024, 11:28:40 PM by Chrysalis »
Logged

Alex Atkin UK

  • Addicted Kitizen
  • *****
  • Posts: 5520
    • Thinkbroadband Quality Monitors
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #24 on: January 25, 2024, 04:06:01 AM »

It wasn't about power saving for me, I was hoping it would allow a single core to boost higher to get a bit more out of OpenVPN.

I have to use OpenVPN as for some reason Wireguard is extremely unreliable and periodically runs into severe performance issues.
« Last Edit: January 25, 2024, 04:27:06 PM by Alex Atkin UK »
Logged
Broadband: Zen Full Fibre 900 + Three 5G Routers: pfSense (Intel N100) + GL.iNet GL-X3000
Network: Netgear MS510TXUP, Netgear MS510TXPP, Netgear GS110EMX WiFi: Zyxel NWA210AX + Ubiquity NanoHD
Broadband History & Ping Monitor

Chunkers

  • Reg Member
  • ***
  • Posts: 541
  • Brick Wall head-banger
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #25 on: January 25, 2024, 12:39:51 PM »

No change in power consumption, hardly a surprise, with my current connection the cpu utilisation is on zero most of the time anyway.

Logged

EC300

  • Member
  • **
  • Posts: 47
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #26 on: January 25, 2024, 02:50:39 PM »

No change in power consumption, hardly a surprise, with my current connection the cpu utilisation is on zero most of the time anyway.

I did enable PowerD, its off by default along with the crypto hardware acceleration and thermal sensors , but not until after I removed the power monitor plug, next time I plan a reboot Ill put the monitor back on and see if it does anything

C

I thought I had read for pfSense anyway that PowerD was no longer working with Intel CPUs as SpeedStep took priority, initially I lost all power saving on a pfSense update that came along with a newer version of FreeBSD and had to enable it manually using tunable settings in pfSense, which is doing something like this in the loader.conf, so I had:
Code: [Select]
dev.hwpstate_intel.0.epp=70
dev.hwpstate_intel.1.epp=70
dev.hwpstate_intel.2.epp=70
dev.hwpstate_intel.03.epp=70

With an update to pfSense these settings are now set from the UI which add the same settings.  Not sure how OPNsense has these settings in the UI.
Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7526
  • AAISP CF
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #27 on: January 25, 2024, 04:20:06 PM »

PowerD works.  However I am not sure if it requires speedshift to be disabled, as PowerD utilises software p-states whilst speedshift is hardware p-states.

It seems prior to 2.7.1 pfSense always utilised software p-states only.  But now this has changed if hardware p-states is enabled in the bios.

If the hwpstate module doesnt load (due to no speedshift support on system), then the system will be utilising software p-states and PowerD is the mechanism to control that.

My 2nd N100 is a different seller to the first one I got, so when it arrives I will see if that one utilises speedshift and experiment with those tunables.

Interesting to learn about this change.
« Last Edit: January 25, 2024, 04:26:47 PM by Chrysalis »
Logged

heavyrain

  • Member
  • **
  • Posts: 35
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #28 on: February 23, 2024, 09:04:39 AM »

I'm also looking at getting one of these units for either OPNsense or OpenWRT. Not fully decided yet. My plan is have this connected to the modem/ONT and then connect my Eero system to an ethernet port to provide wifi.

I don't know much about CPU but it seems like getting the N100 would be fine. I definitely want 4 Ethernet ports (may aswell be 2.5 Gbps I guess). 1 for WAN, 1 for Eero and allowing 2 wired connections for PCs. Since it's a really basic network I think going for as little RAM as possible and sotrage would be more than ok. 4 GB and 128 GB? I've managed with super basic OpenWRT on 256MB RAM so that's probably overkill.

Is the only option really aliexpress for this? Is it trustworthy?

Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 7526
  • AAISP CF
Re: OPNsense, fanless N100/N305 barebone router options
« Reply #29 on: February 23, 2024, 06:13:39 PM »

You can I assume buy a NUC from somewhere like amazon but it will be more expensive.

Everything I have purchased from ali has arrived in working order, the issue with them is people buying things like fake branded samsung storage that is too good to be true.  But these NUC's are the real deal on hardware.

Ali also has buyer protection.
Logged
Pages: 1 [2] 3 4