Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smartwatts #6

Open
lastrecrue opened this issue Dec 8, 2021 · 4 comments
Open

smartwatts #6

lastrecrue opened this issue Dec 8, 2021 · 4 comments

Comments

@lastrecrue
Copy link

lastrecrue commented Dec 8, 2021

Bonjour,
Je lance smartwatts avec la commande :

docker run -v $(pwd)/config_file.json:/config_file.json powerapi/smartwatts-formula --config-file /config_file.json

j'ai ce message d'erreur :

ERROR:root:Configuration error: unknow argument cpu-ratio-base

voici mon config file :

{
  "verbose": true,
  "stream": true,
  "input": {
    "puller": {
      "model": "HWPCReport",
      "type": "socket",
      "uri": "127.0.0.1",
      "port": 8080,
      "collection": "test_hwpc"
    }
  },
  "output": {
    "pusher_power": {
      "type": "mongodb",
      "uri": "mongodb://127.0.0.1",
      "db": "test",
      "collection": "prep"
    }
  },
  "cpu-ratio-base": 1900,
  "cpu-ratio-min": 800,
  "cpu-ratio-max": 1900,
  "cpu-error-threshold": 2.0,
  "disable-dram-formula": true,
  "sensor-report-sampling-interval": 1000
}

Cdlt
Achraf

@ldesauw
Copy link
Contributor

ldesauw commented Dec 8, 2021

Bonjour,
Pouvez vous indiquer votre message d'erreur (vous avez indiqué deux fois la commande que vous avez lancé).

@lastrecrue
Copy link
Author

J'ai corrigé le message initial.

@ldesauw
Copy link
Contributor

ldesauw commented Dec 8, 2021

Try using this configuration :

{
  "verbose": true,
  "stream": true,
  "input": {
    "puller": {
      "model": "HWPCReport",
      "type": "socket",
      "uri": "127.0.0.1",
      "port": 8080
    }
  },
  "output": {
    "pusher_power": {
      "type": "influxdb",
      "model": "PowerReport",
      "uri": "127.0.0.1",
      "port": 8086,
      "db": "test",
      "collection": "prep"
    }
  },
  "cpu-frequency-base": 1900,
  "cpu-frequency-min": 800,
  "cpu-frequency-max": 3700,
  "cpu-error-threshold": 2.0,
  "disable-dram-formula": true,
  "sensor-report-sampling-interval": 1000
}

@lastrecrue
Copy link
Author

cpu-ratio-base is not used on new version replace with cpu-frequency-base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants