Jump to content
XPEnology Community

Leaderboard

Popular Content

Showing content with the highest reputation on 10/03/2019 in all areas

  1. Hi, Since I was not yet able to build a working cpufreq_ondemand.ko to allow automatic frequency scaling for JUN's loader 1.04b (DSM 6.2.2-24922 Update 2), i've written this script to allow dynamic CPU frequency scaling. It's hosted here : https://github.com/Trauma/cpufreq-userspace-scaler # cpufreq-userspace-scaler ##### Cpu frequency scaling script for cpufreq userspace governor ## If you're missing ondemand or conservative governors, this script is for you. This script is scaling cpu frequency according to current average load. You can set 3 frequency steps : low, mid, high. This 3 thresholds will automatically set cpu frequency accordingly : - the `lowload` threshold will set the cpu to his minimal frequency, unless you force it to `scalingminfreq` - the `midload` threshold will set the cpu to approximate mid range cpu frequency - the `highload` threshold will set the cpu to his maximal frequency, unless you force it to `scalingmaxfreq` If you set `scalingmaxfreq` and/or `scalingminfreq` the cpu will never override those values. ### Usage : ### Parameters : Variable name | Default | Type | Comments ----------------|---------|-----------------------------|----------- lowload | 050 | integer between 000 and 999 | 050 = load average : 0.50 midload | 065 | integer between 000 and 999 | 065 = load average : 0.65 highload | 085 | integer between 000 and 999 | 085 = load average : 0.85 scalingminfreq | auto | integer in hertz | 800000 = 800 Mhz scalingmaxfreq | auto | integer in hertz | 2500000 = 2,5 Ghz ### Default commande line : `./scaling.sh &` ### Custom command line example : `lowload=100 highload=200 scalingmaxfreq=2000000 scalingminfreq=1500000 ./scaling.sh &` Enjoy.
    1 point
  2. After upgraded to DSM 6.2.2 and moments 1.3.2, the face recognition is empty , and concept category only has child. I found thus shoud be a bug of photo detection plugin. So, there is the way to fix it: 1. enable SSH, and disable Moments. 2. replace /var/packages/SynologyMoments/target/usr/lib/libsynophoto-plugin-detection.so with my attachment. 3. enable Moments. (maybe need to reindex.) everything is fine. Enjoy~ libsynophoto-plugin-detection.so
    1 point
  3. Yes it seems like ! It certainly means acpi-cpufreq is not able to control threaded cores. You could use this simple loop to monitor cpu frequency, quick and dirty but works... (CTRL+C to escape): while true; do cat $(ls /sys/devices/system/cpu/cpufreq/policy*/scaling_cur_freq); done
    1 point
  4. Please try this version of the script, and report us if it's OK... or not please : https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/ht-compat/scaler.sh
    1 point
  5. that depends :-) that would be be QLogic cLOM8214 as chipset wanting qlcnic.ko as driver if it runs with the driver present in kernel 4.4.59 then it will run in a few days, its part of the new extra.lzma i'm doing for 918+ 3615/17 might be more of a problem as its using old kernel 3.10.x, if this old driver in the kernel do than its ok but if it needs external source then it might be a problem (i'm using broadcom bnx2x based and tehuti myself so thats what i can really test) i also have latest ixgbe and i40e drivers for intel 10G nic's integrated (that needs testing) if the initial release for 1.04b and 918+ is out i'm open to insert new drivers (will also look for 3615/17 but not do that much as it will run out and has older kernel with less supported hardware)
    1 point
  6. If you want, you can use variables to adjust speed and steps according to you're load profil. acpi-cpufreq driver gather frequencies from ACPI tables, so it's certainly related to your bios ACPI implementation. Try to tweak cpu and acpi settings in bios, it may help. Maybe this CPU is not completly supported on this mobo (bios update ?). Try this, to see if it's more consistant : cat /sys/devices/system/cpu/cpufreq/policy0/bios_limit Obviously not ! Anyway I'm not sure cpuinfo is totally reliable here. Prefer sysfs informations in my opinion. Try this, to see if it's more consistant : cat $(ls /sys/devices/system/cpu/cpufreq/policy*/scaling_cur_freq) Please try this as well and report the output of the command here please (for your cpu it should return "8") : cat /proc/cpuinfo | grep cores | sort -u | awk '{ print $4 }'
    1 point
  7. Обновил. Все нормально.
    1 point
  8. Yes exactly. It does not seem to see it ... I ordered a SATA USB kit to transfer files from my PC to the DS918+ Not ideal but it will work.
    0 points
×
×
  • Create New...