Power tunning - FREENAS wants run C2 after reboot

Status
Not open for further replies.

hama4tux

Dabbler
Joined
Nov 11, 2014
Messages
14
Hi Guys,

Could some one tell me, what i am doing wrong?
First i setup sysctl vars in WEB GUI - sysctl -a show me that C2 is setup as minimum
upload_2014-11-24_10-21-39.png


After reboot when i ask for sysctl -a | grep cx, its allways on C1

Other vars what was setup by autotune, works well...

Thanks Martin
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I'll say a few things and hopefully one or more will help. As you failed to provide your hardware I'm not really interested in troubleshooting further, so you can take the info and run with it and hopefully figure out what your problem.

- Some hardware isn't compatible with C2 on FreeBSD.
- The BIOS may or may not have a setting that may or may not have to be set.
- The savings of C2 over C1 is minimal. We're talking 1-3w in an absolute best-case. The problem is that, due to your PSU's efficiency curve, you may not even see a change in wattage used at the wall. In fact, it is possible to see power drawn increase depending on your position on the efficincy curve.
 

hama4tux

Dabbler
Joined
Nov 11, 2014
Messages
14
Hi Cyberjock:), INTEL CELRON 1037U integrated on Gigabyte C1037UN - so it Ivy Bridge.

I had buy GIGABYTE C1037UN. Bsoard and CPU should support C6, in bios is all enable.
Main point is - if i setup in WEB GUI this values just CLICK to OKEY - I can see that CPU use C-STATE C2 - but after restart this values leave, when i click to okey in SYSCTL vars again its work, but i am not able force freenas to have this values after restart, so i each morning must click in Web GUI to okey and evrything is fine, but its pitty

its understable?

WITH PSU you are 100% right, now i am waiting for sesonic 80 gold wich support C6/C7 states
 

hama4tux

Dabbler
Joined
Nov 11, 2014
Messages
14
So i had grate idea that i will try setup it by this https://wiki.freebsd.org/TuningPowerConsumption

so i import values performance_cx_lowest, and economy_cx_lowest, to TUNABLES.

System boot but there is some trouble.:

WEB GUI - DOSNT work, in console i can see error that django.db.models.loading import cache, import Q, import Collector, import signals, sql . its quiting with ImportError: cannot import name sql:

what i try do:
I try edit /boot/loader.conf.local - i remove this lines what i added to Tunables, but its automaticaly recoverd after reboot...
I try boot from boot menu 3 unset this two values, and boot, but its same?

how can i manuly remove this lines from tunable? from wich location freenas take it and replace it ?

Code:
Starting pbid...
Traceback (most recent call last):
  File "/usr/local/www/freenasUI/manage.py", line 42, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 280, in execute
    translation.activate('en-us')
  File "/usr/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 130, in activate
    return _trans.activate(language)
  File "/usr/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 188, in activate
    _active.value = translation(language)
  File "/usr/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 177, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/usr/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 159, in _fetch
    app = import_module(appname)
  File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/usr/local/www/freenasUI/../freenasUI/api/__init__.py", line 27, in <module>
    from tastypie.api import Api
  File "/usr/local/lib/python2.7/site-packages/tastypie/api.py", line 8, in <module>
    from tastypie.serializers import Serializer
  File "/usr/local/lib/python2.7/site-packages/tastypie/serializers.py", line 9, in <module>
    from django.core.serializers import json as djangojson
  File "/usr/local/lib/python2.7/site-packages/django/core/serializers/__init__.py", line 22, in <module>
    from django.core.serializers.base import SerializerDoesNotExist
  File "/usr/local/lib/python2.7/site-packages/django/core/serializers/base.py", line 5, in <module>
    from django.db import models
  File "/usr/local/lib/python2.7/site-packages/django/db/models/__init__.py", line 5, in <module>
    from django.db.models.query import Q
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 17, in <module>
    from django.db.models.deletion import Collector
  File "/usr/local/lib/python2.7/site-packages/django/db/models/deletion.py", line 4, in <module>
    from django.db.models import signals, sql
ImportError: cannot import name sql
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful


Thanks Martin
 
Last edited:
Status
Not open for further replies.
Top