SG-1000 100% CPU Usage
-
Wow! If you saying "system wouldn't even boot until I had a fan blowing directly on it",
I'd speak to netgate and look at a replacement.
My initial guess would have been there's a dodgy package causing that, but you're seeing it during initial boot!
My next guess would be a bad flash of the image.
Assuming you have reflashed the image onto it, the next guess (only one left) is hardware fault.
But bang a call into netgate and see what they come back with. -
Using it on two different networks with two different machines doesn't allow any comparisons as there are too many variables involved.
There are many, many things that can make a difference.That's the whole point. I use it on two different networks with two different machines, and the download speed is equally bad on both. Thus I am thinking the environment has nothing to do with it.
-
So it took me a while to get all this together; system wouldn't even boot until I had a fan blowing directly on it.
Well, that thing is clearly faulty and needs to be RMA-ed.
-
That's the whole point. I use it on two different networks with two different machines, and the download speed is equally bad on both. Thus I am thinking the environment has nothing to do with it.
Possibly, but you are using it in two totally different environments. All that really proves is that whatever is the same in both environments isn't causing the issue.
It's not a case of proving whether it's specifically environmental, that won't get you far.
What you want to do is find out what is causing the issue on the SG-1000, that maybe some environmental factor that is specific to adding the SG-1000 to it or a bug in PFSense.
There is an issue that causes lower than gigabit downloads when using pppoe:
https://redmine.pfsense.org/issues/4821
But if you aren't using pppoe…then that may not be the problem.
So at home are you going through a router? or using the SG-1000 as a router?
It's a case of stepping through every part of your infrastructure, slowly and logically. -
All that really proves is that whatever is the same in both environments isn't causing the issue.
Actually, I'd say it proves that whatever is different isn't causing the issue.
I have tried using the SG-1000 as a router, as well as using it as a client inside my NAT. There's really no difference to the speed at which it can download a large file and send it to /dev/null. Also, when all the other clients I'm aware of on the same networks (both of the networks) have no issues attaining a much higher speed, that means that if there's a compatibility issue, the fault rests on the SG-1000. Even if other equipment is not behaving to spec, the rest of the stuff connecting to said equipment handles the situation just fine.
-
I'm not saying the fault doesn't lie with the SG-1000, but it's working out what is going on.
-
After a bit more digging and testing, I see what you mean.
It's most strange. I'd swear this wasn't happening last month.
There seems something funky going on -
You observe slow throughput for single large transfers?
-
It seems that single connections are definitely limited in their throughput.
3-4MB/sec (at most) as against the 80Mbit (10MB/sec) I should be getting - and was getting.
The speed test tools on speedtest.net don't show any issue, however I suspect these do multi-downloads.
However the amazon ones and the ones on http://www.thinkbroadband.com/speedtest.html do single files and both respectively.
The single file ones are consistently bad, the multi-file ones are fine.
My openvpn connection to my server now is at 400KB-800KB/sec too which used to be about 2MB/sec and when I do transfers there isn't a lot of CPU activity.The other thing that is really noticeable on websites that have images/media etc.
The main site loads up quickly (i.e. no media) but then there is a delay in loading the images - which is really irritating on an 80Mbit connection.
Two main examples are:http://www.bbc.co.uk/news
http://www.speedtest.netWhen I look at it, it really is glaringly obvious that something is wrong.
Those maybe two separate issues, or they maybe the same - but as I said once looked at it's really obvious.
There is no interrupt overflow or anything obvious, but my bsd experience is tiny.So anyone who can suggest a way of debugging this, I would really appreciate it.
I've stepped through everything I can think of, and it only happens when the SG-1000 is present.
I'm not sure how reliable these tests are…
On my linux boot system I get this:
But downloading pycharm I got 6MB/sec, yet I can't get near this using the broadband checkers.
lies, damned lies and speed testers ;-)I've disabled all ipv6 stuff on my box and on the firewall, things seem better.
Perhaps issue was ipv6 being "half enabled"?
I'll keep looking… -
Yes this post is WAY old. But in case anyone else runs into this issue with a SG-1000 device,
I reduced CPU utilization from near constant 1.0+% to .7 - .8% tops via webui changes:- go to Status > Logs > Settings, deselect 'Log packets blocked by Block Bogon Networks rules' and 'Log packets blocked by Block Private Networks rules'
- System > Advanced > Firewall & NAT, change the dropdown list selection for 'Firewall Optimization Options' from 'Normal' to 'Aggressive'