FOXBI

DSM 5.x/6.x CPU name & cores infomation Change tool

Recommended Posts

On 12/16/2018 at 12:31 AM, sd2d said:

Hey, FOXBI, maybe you can fix this issue by your method?

My LSI MR9240-8i can't get SMART status from HDDs.

 

 

My testing environment is all VM, and I see that phenomenon for the first time.

 

Is it a phenomenon when it is Native? I can not say that I can do that :)

 

Share this post


Link to post
Share on other sites
On 12/16/2018 at 6:55 PM, FOXBI said:

 

 

My testing environment is all VM, and I see that phenomenon for the first time.

 

Is it a phenomenon when it is Native? I can not say that I can do that :)

 

This issue appears when HHDs not working via internal sata controller of motherboard, but via PCI-E RAID-controller(in my case it's a LSI MR9240-8i).

Maybe problem is in incopatible working mode in RAID-controller, i don't know..  

BUT  when I trying to make a smartctl --all /dev/sd?   via Putty - it's shown me a normal SMART data from all my HDDs.

In my NAS I using 2 HDDs via internal SATA controller of motherboard, and 8 HDDs via RAID-controller.

Temperature and other SMART info from 2 HDDs shown correct in system.

 

asdasdq2we12e.png

Share this post


Link to post
Share on other sites
On 12/16/2018 at 6:52 PM, FOXBI said:

 

 

 

Maybe you should comment on the result of `sh -x ch_cpuinfo.sh`

Here is it:

Spoiler

root@HOME-NAS-BACKUP:/volume1/PUBLIC# sh -x ch_cpuinfo.sh
+ ver=5.2
+ clear
+ WORK_DIR=/usr/syno/synoman/webman/modules/AdminCenter
+ MWORK_DIR=/usr/syno/synoman/mobile/ui
+ BKUP_DIR=/root/Xpenology_backup
+ VER_DIR=/etc.default
+ cecho c 'DSM CPU Information Change Tool ver. \033[0;31m5.2\033[00m - made by                                                                                                                                                              FOXBI\n'
+ '[' -n '' ']'
+ bgcolor=0
+ code='\033['
+ case "$1" in
+ color='\033[0;36m'
+ text='\033[0;36mDSM CPU Information Change Tool ver. \033[0;31m5.2\033[00m - m                                                                                                                                                             ade by FOXBI\n\033[0m'
+ echo -e '\033[0;36mDSM CPU Information Change Tool ver. \033[0;31m5.2\033[00m                                                                                                                                                              - made by FOXBI\n\033[0m'
DSM CPU Information Change Tool ver. 5.2 - made by FOXBI

+ '[' -d /etc.default ']'
+ VER_FIL=/etc/VERSION
+ '[' -f /etc/VERSION ']'
++ cat /etc/VERSION
++ grep majorversion
++ awk -F = '{print $2}'
++ sed 's/\"//g'
+ MA_VER=6
++ cat /etc/VERSION
++ grep minorversion
++ awk -F = '{print $2}'
++ sed 's/\"//g'
+ MI_VER=2
++ cat /etc/VERSION
++ grep buildnumber
++ awk -F = '{print $2}'
++ sed 's/\"//g'
+ BL_NUM=23739
++ cat /etc/VERSION
++ grep smallfixnumber
++ sed 's/\"//g'
++ awk -F = '{print $2}'
+ BL_FIX=0
+ BL_CHK=237390
++ date +%Y%m%d%H%M%S
+ TIME=20181219181319_237390
+ STIME=20181219181319_237390
+ '[' 6 -gt 4 ']'
+ '[' 6 -eq 5 ']'
+ cecho g 'Your version of DSM is \033[0;36mDSM \033[0;31m6.2\033[0;32m continue                                                                                                                                                             ...\033[00m\n'
+ '[' -n '' ']'
+ bgcolor=0
+ code='\033['
+ case "$1" in
+ color='\033[0;32m'
+ text='\033[0;32mYour version of DSM is \033[0;36mDSM \033[0;31m6.2\033[0;32m c                                                                                                                                                             ontinue...\033[00m\n\033[0m'
+ echo -e '\033[0;32mYour version of DSM is \033[0;36mDSM \033[0;31m6.2\033[0;32                                                                                                                                                             m continue...\033[00m\n\033[0m'
Your version of DSM is DSM 6.2 continue...

+ read -n1 -p '1) First run  2) Redo  3) Restore - Select Number : ' run_select
1) First run  2) Redo  3) Restore - Select Number : 2+ case "$run_select" in
+ run_check=redo
+ echo -e '\n '


+ '[' redo == redo ']'
+ READ_YN 'Do you want to proceed again? Restore to original file backup and proceed.(Cancel : q) [y/n] : '
+ read -n1 -p 'Do you want to proceed again? Restore to original file backup and proceed.(Cancel : q) [y/n] : ' Y_N
Do you want to proceed again? Restore to original file backup and proceed.(Cancel : q) [y/n] : y+ case "$Y_N" in
+ Y_N=y
+ echo -e '\n'


+ '[' y == y ']'
+ re_check=y
+ BLCHECK_FN redo
+ bl_check=n
+ '[' -d /root/Xpenology_backup ']'
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ wc -l
+ BK_CNT=1
+ '[' 1 -gt 0 ']'
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ grep 237390
++ wc -l
+ BK_CNT=1
+ '[' 1 -gt 0 ']'
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ grep 237390
++ awk '{print $9}'
++ head -1
+ TIME=20181124155631_237390
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ wc -l
++ grep -v 237390
+ BK_CNT=0
+ '[' 0 -gt 0 ']'
+ '[' y == n ']'
++ grep '^d'
++ ls -l /root/Xpenology_backup/
++ awk '{print $9}'
++ head -1
+ STIME=20181124155631_237390
+ BLSUB_FN redo
++ echo 20181124155631_237390
+ TIME=20181124155631_237390
+ '[' redo == run ']'
+ RERUN_FN redo
+ '[' redo == redo ']'
+ ls -l /root/Xpenology_backup/
+ grep '^d'
+ grep -v 237390
+ sh
+ awk '{print "rm -rf /root/Xpenology_backup/"$9}'
+ GATHER_FN
+ '[' -f /sbin/dmidecode ']'
++ dmidecode
++ grep SMBIOS
++ egrep 'NO|sorry'
++ wc -l
+ DMI_CHK=0
+ '[' 0 -gt 0 ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ awk '{print $2}'
++ sort -u
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ grep -v Not
+ cpu_vendor='
Intel'
+ '[' '
Intel' == AMD ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ grep -v Not
++ awk '{print $3}'
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ sed s/CPU//g
++ sort -u
+ cpu_family='
Xeon'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ awk '{ if (index($5,"@")!=0) { print $4 } else { print $4" "$5 } }'
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ grep -v Not
++ sort -u
+ cpu_series='
E5504'
++ cat /proc/cpuinfo
++ grep '^physical id'
++ sort -u
++ wc -l
+ PICNT=1
++ cat /proc/cpuinfo
++ grep '^core id'
++ sort -u
++ wc -l
+ CICNT=4
++ cat /proc/cpuinfo
++ grep '^cpu cores'
++ sort -u
++ awk '{print $NF}'
+ CCCNT=4
++ cat /proc/cpuinfo
++ grep '^siblings'
++ sort -u
++ awk '{print $NF}'
+ CSCNT=4
++ cat /proc/cpuinfo
++ grep '^processor'
++ wc -l
+ THCNT=4
++ cat /proc/cpuinfo
++ grep processor
++ wc -l
+ ODCNT=4
+ '[' 4 -gt 0 ']'
+ '[' 1 == 0 ']'
+ '[' 1 -gt 1 ']'
+ TPCNT='1 CPU'
+ TCCNT=4
+ '[' 4 -gt 1 ']'
+ TCCNT='4 Cores '
+ '[' 4 -gt 1 ']'
+ PCCNT='\/4 Cores '
+ '[' 4 -gt 1 ']'
+ TTCNT='4 Threads'
+ cpu_cores='4 Cores (1 CPU\/4 Cores | 4 Threads)'
+ '[' -f /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js ']'
+ '[' -f /usr/syno/synoman/mobile/ui/mobile.js ']'
++ cat /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js
++ grep '.model]);if(Ext.isDefined'
++ wc -l
+ info_cnt=1
++ cat /usr/syno/synoman/mobile/ui/mobile.js
++ wc -l
++ grep 'ds_model")},{name:"ram_size'
+ info_cnt_m=1
+ '[' 1 -eq 0 ']'
+ COMMENT05_FN
+ echo -e 'You have verified and installed the previous version. Contiue...\n'
You have verified and installed the previous version. Contiue...

+ run_check=run
+ EXEC_FN
+ '[' -d /usr/syno/synoman/webman/modules/AdminCenter ']'
+ READ_YN 'Auto Excute, If you select n, proceed interactively  (Cancel : q) [y/n] : '
+ read -n1 -p 'Auto Excute, If you select n, proceed interactively  (Cancel : q) [y/n] : ' Y_N
Auto Excute, If you select n, proceed interactively  (Cancel : q) [y/n] : y+ case "$Y_N" in
+ Y_N=y
+ echo -e '\n'


+ '[' y == y ']'
+ mkdir -p /root/Xpenology_backup/20181124155631_237390
+ '[' y == y ']'
+ '[' n == y ']'
+ RECOVER_FN
+ '[' -d /root/Xpenology_backup/20181124155631_237390 ']'
+ cd /usr/syno/synoman/webman/modules/AdminCenter
+ tar -xf /root/Xpenology_backup/20181124155631_237390/admin_center.tar
+ '[' -f /root/Xpenology_backup/20181124155631_237390/mobile.tar ']'
+ cd /usr/syno/synoman/mobile/ui
+ tar -xf /root/Xpenology_backup/20181124155631_237390/mobile.tar
+ '[' y == y ']'
+ echo -e 'Restore to source and continue.\n'
Restore to source and continue.

+ PREPARE_FN
+ '[' -f /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js ']'
+ '[' -f /usr/syno/synoman/mobile/ui/mobile.js ']'
+ '[' '' == y ']'
+ cd /usr/syno/synoman/webman/modules/AdminCenter
+ tar -cf /root/Xpenology_backup/20181124155631_237390/admin_center.tar admin_center.js admin_center.js.gz
+ cd /usr/syno/synoman/mobile/ui
+ tar -cf /root/Xpenology_backup/20181124155631_237390/mobile.tar mobile.js mobile.js.gz
+ '[' 6 -eq 6 ']'
+ '[' 2 -ge 2 ']'
+ mv /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js.gz /root/Xpenology_backup/
+ mv /usr/syno/synoman/mobile/ui/mobile.js.gz /root/Xpenology_backup/
+ cd /root/Xpenology_backup/
+ gzip -df /root/Xpenology_backup/admin_center.js.gz
+ gzip -df /root/Xpenology_backup/mobile.js.gz
+ GATHER_FN
+ '[' -f /sbin/dmidecode ']'
++ dmidecode
++ grep SMBIOS
++ wc -l
++ egrep 'NO|sorry'
+ DMI_CHK=0
+ '[' 0 -gt 0 ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ awk '{print $2}'
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ grep -v Not
++ sort -u
+ cpu_vendor='
Intel'
+ '[' '
Intel' == AMD ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ sed 's/(..)//g'
++ grep -v Not
++ awk '{print $3}'
++ sed 's/(.)//g'
++ sort -u
+ cpu_family='
Xeon'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ sed 's/(..)//g'
++ awk '{ if (index($5,"@")!=0) { print $4 } else { print $4" "$5 } }'
++ sed 's/(.)//g'
++ grep -v Not
++ sort -u
+ cpu_series='
E5504'
++ cat /proc/cpuinfo
++ grep '^physical id'
++ wc -l
++ sort -u
+ PICNT=1
++ cat /proc/cpuinfo
++ grep '^core id'
++ sort -u
++ wc -l
+ CICNT=4
++ cat /proc/cpuinfo
++ grep '^cpu cores'
++ sort -u
++ awk '{print $NF}'
+ CCCNT=4
++ cat /proc/cpuinfo
++ grep '^siblings'
++ sort -u
++ awk '{print $NF}'
+ CSCNT=4
++ cat /proc/cpuinfo
++ grep '^processor'
++ wc -l
+ THCNT=4
++ cat /proc/cpuinfo
++ grep processor
++ wc -l
+ ODCNT=4
+ '[' 4 -gt 0 ']'
+ '[' 1 == 0 ']'
+ '[' 1 -gt 1 ']'
+ TPCNT='1 CPU'
+ TCCNT=4
+ '[' 4 -gt 1 ']'
+ TCCNT='4 Cores '
+ '[' 4 -gt 1 ']'
+ PCCNT='\/4 Cores '
+ '[' 4 -gt 1 ']'
+ TTCNT='4 Threads'
+ cpu_cores='4 Cores (1 CPU\/4 Cores | 4 Threads)'
+ PERFORM_FN
+ '[' -f /root/Xpenology_backup/admin_center.js ']'
+ '[' -f /root/Xpenology_backup/mobile.js ']'
+ '[' 6 -ge 6 ']'
++ echo 'f.cpu_vendor="
Intel";f.cpu_family="
Xeon";f.cpu_series="
E5504";f.cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";'
+ cpu_info='f.cpu_vendor="
Intel";f.cpu_family="
Xeon";f.cpu_series="
E5504";f.cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";'
+ sed -i 's/f.model]);/f.model]);f.cpu_vendor="
Intel";f.cpu_family="
Xeon";f.cpu_series="
E5504";f.cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";/g' /root/Xpenology_backup/admin_center.js
sed: -e expression #1, char 37: unterminated `s' command
++ echo '{name: "cpu_series",renderer: function(value){var cpu_vendor="
Intel";var cpu_family="
Xeon";var cpu_series="
E5504";var cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";return Ext.String.format('\''{0} {1} {2} [ {3} ]'\'', cpu_vendor, cpu_family, cpu_series, cpu_cores);},label: _T("status", "cpu_model_name")},'
+ cpu_info_m='{name: "cpu_series",renderer: function(value){var cpu_vendor="
Intel";var cpu_family="
Xeon";var cpu_series="
E5504";var cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";return Ext.String.format('\''{0} {1} {2} [ {3} ]'\'', cpu_vendor, cpu_family, cpu_series, cpu_cores);},label: _T("status", "cpu_model_name")},'
+ sed -i 's/"ds_model")},/"ds_model")},{name: "cpu_series",renderer: function(value){var cpu_vendor="
Intel";var cpu_family="
Xeon";var cpu_series="
E5504";var cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";return Ext.String.format('\''{0} {1} {2} [ {3} ]'\'', cpu_vendor, cpu_family, cpu_series, cpu_cores);},label: _T("status", "cpu_model_name")},/g' /root/Xpenology_backup/mobile.js
sed: -e expression #1, char 91: unterminated `s' command
+ APPLY_FN
+ '[' -f /root/Xpenology_backup/admin_center.js ']'
+ '[' -f /root/Xpenology_backup/mobile.js ']'
+ cp -Rf /root/Xpenology_backup/admin_center.js /usr/syno/synoman/webman/modules/AdminCenter/
+ cp -Rf /root/Xpenology_backup/mobile.js /usr/syno/synoman/mobile/ui/
+ '[' 6 -eq 6 ']'
+ '[' 2 -ge 2 ']'
+ gzip -f /root/Xpenology_backup/admin_center.js
+ gzip -f /root/Xpenology_backup/mobile.js
+ mv /root/Xpenology_backup/admin_center.js.gz /usr/syno/synoman/webman/modules/AdminCenter/
+ mv /root/Xpenology_backup/mobile.js.gz /usr/syno/synoman/mobile/ui/
+ COMMENT09_FN
+ echo -e 'The operation is complete!! It takes about 1-2 minutes to reflect, \n(Please refresh the DSM page with F5 or after logout/login and check the information.)'
The operation is complete!! It takes about 1-2 minutes to reflect,
(Please refresh the DSM page with F5 or after logout/login and check the information.)
+ exit 0
 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
10 hours ago, sd2d said:

Here is it:

  spoiler (Reveal hidden contents)

root@HOME-NAS-BACKUP:/volume1/PUBLIC# sh -x ch_cpuinfo.sh
+ ver=5.2
+ clear
+ WORK_DIR=/usr/syno/synoman/webman/modules/AdminCenter
+ MWORK_DIR=/usr/syno/synoman/mobile/ui
+ BKUP_DIR=/root/Xpenology_backup
+ VER_DIR=/etc.default
+ cecho c 'DSM CPU Information Change Tool ver. \033[0;31m5.2\033[00m - made by                                                                                                                                                              FOXBI\n'
+ '[' -n '' ']'
+ bgcolor=0
+ code='\033['
+ case "$1" in
+ color='\033[0;36m'
+ text='\033[0;36mDSM CPU Information Change Tool ver. \033[0;31m5.2\033[00m - m                                                                                                                                                             ade by FOXBI\n\033[0m'
+ echo -e '\033[0;36mDSM CPU Information Change Tool ver. \033[0;31m5.2\033[00m                                                                                                                                                              - made by FOXBI\n\033[0m'
DSM CPU Information Change Tool ver. 5.2 - made by FOXBI

+ '[' -d /etc.default ']'
+ VER_FIL=/etc/VERSION
+ '[' -f /etc/VERSION ']'
++ cat /etc/VERSION
++ grep majorversion
++ awk -F = '{print $2}'
++ sed 's/\"//g'
+ MA_VER=6
++ cat /etc/VERSION
++ grep minorversion
++ awk -F = '{print $2}'
++ sed 's/\"//g'
+ MI_VER=2
++ cat /etc/VERSION
++ grep buildnumber
++ awk -F = '{print $2}'
++ sed 's/\"//g'
+ BL_NUM=23739
++ cat /etc/VERSION
++ grep smallfixnumber
++ sed 's/\"//g'
++ awk -F = '{print $2}'
+ BL_FIX=0
+ BL_CHK=237390
++ date +%Y%m%d%H%M%S
+ TIME=20181219181319_237390
+ STIME=20181219181319_237390
+ '[' 6 -gt 4 ']'
+ '[' 6 -eq 5 ']'
+ cecho g 'Your version of DSM is \033[0;36mDSM \033[0;31m6.2\033[0;32m continue                                                                                                                                                             ...\033[00m\n'
+ '[' -n '' ']'
+ bgcolor=0
+ code='\033['
+ case "$1" in
+ color='\033[0;32m'
+ text='\033[0;32mYour version of DSM is \033[0;36mDSM \033[0;31m6.2\033[0;32m c                                                                                                                                                             ontinue...\033[00m\n\033[0m'
+ echo -e '\033[0;32mYour version of DSM is \033[0;36mDSM \033[0;31m6.2\033[0;32                                                                                                                                                             m continue...\033[00m\n\033[0m'
Your version of DSM is DSM 6.2 continue...

+ read -n1 -p '1) First run  2) Redo  3) Restore - Select Number : ' run_select
1) First run  2) Redo  3) Restore - Select Number : 2+ case "$run_select" in
+ run_check=redo
+ echo -e '\n '


+ '[' redo == redo ']'
+ READ_YN 'Do you want to proceed again? Restore to original file backup and proceed.(Cancel : q) [y/n] : '
+ read -n1 -p 'Do you want to proceed again? Restore to original file backup and proceed.(Cancel : q) [y/n] : ' Y_N
Do you want to proceed again? Restore to original file backup and proceed.(Cancel : q) [y/n] : y+ case "$Y_N" in
+ Y_N=y
+ echo -e '\n'


+ '[' y == y ']'
+ re_check=y
+ BLCHECK_FN redo
+ bl_check=n
+ '[' -d /root/Xpenology_backup ']'
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ wc -l
+ BK_CNT=1
+ '[' 1 -gt 0 ']'
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ grep 237390
++ wc -l
+ BK_CNT=1
+ '[' 1 -gt 0 ']'
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ grep 237390
++ awk '{print $9}'
++ head -1
+ TIME=20181124155631_237390
++ ls -l /root/Xpenology_backup/
++ grep '^d'
++ wc -l
++ grep -v 237390
+ BK_CNT=0
+ '[' 0 -gt 0 ']'
+ '[' y == n ']'
++ grep '^d'
++ ls -l /root/Xpenology_backup/
++ awk '{print $9}'
++ head -1
+ STIME=20181124155631_237390
+ BLSUB_FN redo
++ echo 20181124155631_237390
+ TIME=20181124155631_237390
+ '[' redo == run ']'
+ RERUN_FN redo
+ '[' redo == redo ']'
+ ls -l /root/Xpenology_backup/
+ grep '^d'
+ grep -v 237390
+ sh
+ awk '{print "rm -rf /root/Xpenology_backup/"$9}'
+ GATHER_FN
+ '[' -f /sbin/dmidecode ']'
++ dmidecode
++ grep SMBIOS
++ egrep 'NO|sorry'
++ wc -l
+ DMI_CHK=0
+ '[' 0 -gt 0 ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ awk '{print $2}'
++ sort -u
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ grep -v Not
+ cpu_vendor='
Intel'
+ '[' '
Intel' == AMD ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ grep -v Not
++ awk '{print $3}'
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ sed s/CPU//g
++ sort -u
+ cpu_family='
Xeon'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ awk '{ if (index($5,"@")!=0) { print $4 } else { print $4" "$5 } }'
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ grep -v Not
++ sort -u
+ cpu_series='
E5504'
++ cat /proc/cpuinfo
++ grep '^physical id'
++ sort -u
++ wc -l
+ PICNT=1
++ cat /proc/cpuinfo
++ grep '^core id'
++ sort -u
++ wc -l
+ CICNT=4
++ cat /proc/cpuinfo
++ grep '^cpu cores'
++ sort -u
++ awk '{print $NF}'
+ CCCNT=4
++ cat /proc/cpuinfo
++ grep '^siblings'
++ sort -u
++ awk '{print $NF}'
+ CSCNT=4
++ cat /proc/cpuinfo
++ grep '^processor'
++ wc -l
+ THCNT=4
++ cat /proc/cpuinfo
++ grep processor
++ wc -l
+ ODCNT=4
+ '[' 4 -gt 0 ']'
+ '[' 1 == 0 ']'
+ '[' 1 -gt 1 ']'
+ TPCNT='1 CPU'
+ TCCNT=4
+ '[' 4 -gt 1 ']'
+ TCCNT='4 Cores '
+ '[' 4 -gt 1 ']'
+ PCCNT='\/4 Cores '
+ '[' 4 -gt 1 ']'
+ TTCNT='4 Threads'
+ cpu_cores='4 Cores (1 CPU\/4 Cores | 4 Threads)'
+ '[' -f /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js ']'
+ '[' -f /usr/syno/synoman/mobile/ui/mobile.js ']'
++ cat /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js
++ grep '.model]);if(Ext.isDefined'
++ wc -l
+ info_cnt=1
++ cat /usr/syno/synoman/mobile/ui/mobile.js
++ wc -l
++ grep 'ds_model")},{name:"ram_size'
+ info_cnt_m=1
+ '[' 1 -eq 0 ']'
+ COMMENT05_FN
+ echo -e 'You have verified and installed the previous version. Contiue...\n'
You have verified and installed the previous version. Contiue...

+ run_check=run
+ EXEC_FN
+ '[' -d /usr/syno/synoman/webman/modules/AdminCenter ']'
+ READ_YN 'Auto Excute, If you select n, proceed interactively  (Cancel : q) [y/n] : '
+ read -n1 -p 'Auto Excute, If you select n, proceed interactively  (Cancel : q) [y/n] : ' Y_N
Auto Excute, If you select n, proceed interactively  (Cancel : q) [y/n] : y+ case "$Y_N" in
+ Y_N=y
+ echo -e '\n'


+ '[' y == y ']'
+ mkdir -p /root/Xpenology_backup/20181124155631_237390
+ '[' y == y ']'
+ '[' n == y ']'
+ RECOVER_FN
+ '[' -d /root/Xpenology_backup/20181124155631_237390 ']'
+ cd /usr/syno/synoman/webman/modules/AdminCenter
+ tar -xf /root/Xpenology_backup/20181124155631_237390/admin_center.tar
+ '[' -f /root/Xpenology_backup/20181124155631_237390/mobile.tar ']'
+ cd /usr/syno/synoman/mobile/ui
+ tar -xf /root/Xpenology_backup/20181124155631_237390/mobile.tar
+ '[' y == y ']'
+ echo -e 'Restore to source and continue.\n'
Restore to source and continue.

+ PREPARE_FN
+ '[' -f /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js ']'
+ '[' -f /usr/syno/synoman/mobile/ui/mobile.js ']'
+ '[' '' == y ']'
+ cd /usr/syno/synoman/webman/modules/AdminCenter
+ tar -cf /root/Xpenology_backup/20181124155631_237390/admin_center.tar admin_center.js admin_center.js.gz
+ cd /usr/syno/synoman/mobile/ui
+ tar -cf /root/Xpenology_backup/20181124155631_237390/mobile.tar mobile.js mobile.js.gz
+ '[' 6 -eq 6 ']'
+ '[' 2 -ge 2 ']'
+ mv /usr/syno/synoman/webman/modules/AdminCenter/admin_center.js.gz /root/Xpenology_backup/
+ mv /usr/syno/synoman/mobile/ui/mobile.js.gz /root/Xpenology_backup/
+ cd /root/Xpenology_backup/
+ gzip -df /root/Xpenology_backup/admin_center.js.gz
+ gzip -df /root/Xpenology_backup/mobile.js.gz
+ GATHER_FN
+ '[' -f /sbin/dmidecode ']'
++ dmidecode
++ grep SMBIOS
++ wc -l
++ egrep 'NO|sorry'
+ DMI_CHK=0
+ '[' 0 -gt 0 ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ awk '{print $2}'
++ sed 's/(.)//g'
++ sed 's/(..)//g'
++ grep -v Not
++ sort -u
+ cpu_vendor='
Intel'
+ '[' '
Intel' == AMD ']'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ sed 's/(..)//g'
++ grep -v Not
++ awk '{print $3}'
++ sed 's/(.)//g'
++ sort -u
+ cpu_family='
Xeon'
++ dmidecode -t processor
++ grep Version
++ grep -v Unknown
++ sed s/CPU//g
++ sed 's/(..)//g'
++ awk '{ if (index($5,"@")!=0) { print $4 } else { print $4" "$5 } }'
++ sed 's/(.)//g'
++ grep -v Not
++ sort -u
+ cpu_series='
E5504'
++ cat /proc/cpuinfo
++ grep '^physical id'
++ wc -l
++ sort -u
+ PICNT=1
++ cat /proc/cpuinfo
++ grep '^core id'
++ sort -u
++ wc -l
+ CICNT=4
++ cat /proc/cpuinfo
++ grep '^cpu cores'
++ sort -u
++ awk '{print $NF}'
+ CCCNT=4
++ cat /proc/cpuinfo
++ grep '^siblings'
++ sort -u
++ awk '{print $NF}'
+ CSCNT=4
++ cat /proc/cpuinfo
++ grep '^processor'
++ wc -l
+ THCNT=4
++ cat /proc/cpuinfo
++ grep processor
++ wc -l
+ ODCNT=4
+ '[' 4 -gt 0 ']'
+ '[' 1 == 0 ']'
+ '[' 1 -gt 1 ']'
+ TPCNT='1 CPU'
+ TCCNT=4
+ '[' 4 -gt 1 ']'
+ TCCNT='4 Cores '
+ '[' 4 -gt 1 ']'
+ PCCNT='\/4 Cores '
+ '[' 4 -gt 1 ']'
+ TTCNT='4 Threads'
+ cpu_cores='4 Cores (1 CPU\/4 Cores | 4 Threads)'
+ PERFORM_FN
+ '[' -f /root/Xpenology_backup/admin_center.js ']'
+ '[' -f /root/Xpenology_backup/mobile.js ']'
+ '[' 6 -ge 6 ']'
++ echo 'f.cpu_vendor="
Intel";f.cpu_family="
Xeon";f.cpu_series="
E5504";f.cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";'
+ cpu_info='f.cpu_vendor="
Intel";f.cpu_family="
Xeon";f.cpu_series="
E5504";f.cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";'
+ sed -i 's/f.model]);/f.model]);f.cpu_vendor="
Intel";f.cpu_family="
Xeon";f.cpu_series="
E5504";f.cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";/g' /root/Xpenology_backup/admin_center.js
sed: -e expression #1, char 37: unterminated `s' command
++ echo '{name: "cpu_series",renderer: function(value){var cpu_vendor="
Intel";var cpu_family="
Xeon";var cpu_series="
E5504";var cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";return Ext.String.format('\''{0} {1} {2} [ {3} ]'\'', cpu_vendor, cpu_family, cpu_series, cpu_cores);},label: _T("status", "cpu_model_name")},'
+ cpu_info_m='{name: "cpu_series",renderer: function(value){var cpu_vendor="
Intel";var cpu_family="
Xeon";var cpu_series="
E5504";var cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";return Ext.String.format('\''{0} {1} {2} [ {3} ]'\'', cpu_vendor, cpu_family, cpu_series, cpu_cores);},label: _T("status", "cpu_model_name")},'
+ sed -i 's/"ds_model")},/"ds_model")},{name: "cpu_series",renderer: function(value){var cpu_vendor="
Intel";var cpu_family="
Xeon";var cpu_series="
E5504";var cpu_cores="4 Cores (1 CPU\/4 Cores | 4 Threads)";return Ext.String.format('\''{0} {1} {2} [ {3} ]'\'', cpu_vendor, cpu_family, cpu_series, cpu_cores);},label: _T("status", "cpu_model_name")},/g' /root/Xpenology_backup/mobile.js
sed: -e expression #1, char 91: unterminated `s' command
+ APPLY_FN
+ '[' -f /root/Xpenology_backup/admin_center.js ']'
+ '[' -f /root/Xpenology_backup/mobile.js ']'
+ cp -Rf /root/Xpenology_backup/admin_center.js /usr/syno/synoman/webman/modules/AdminCenter/
+ cp -Rf /root/Xpenology_backup/mobile.js /usr/syno/synoman/mobile/ui/
+ '[' 6 -eq 6 ']'
+ '[' 2 -ge 2 ']'
+ gzip -f /root/Xpenology_backup/admin_center.js
+ gzip -f /root/Xpenology_backup/mobile.js
+ mv /root/Xpenology_backup/admin_center.js.gz /usr/syno/synoman/webman/modules/AdminCenter/
+ mv /root/Xpenology_backup/mobile.js.gz /usr/syno/synoman/mobile/ui/
+ COMMENT09_FN
+ echo -e 'The operation is complete!! It takes about 1-2 minutes to reflect, \n(Please refresh the DSM page with F5 or after logout/login and check the information.)'
The operation is complete!! It takes about 1-2 minutes to reflect,
(Please refresh the DSM page with F5 or after logout/login and check the information.)
+ exit 0
 

 

 

 

It looks like the last time I contacted fhocorp

+ cpu_vendor='
Intel'

+ cpu_family='
Xeon'

+ cpu_series='
E5504'

The variable contains a blank line.
 

Last time was Nehalem CPU ..

 

Can you show the result of "dmidecode -t processor"?

 

 

It seems that certain CPUs may be blank when collecting information.

Share this post


Link to post
Share on other sites
On 12/11/2018 at 7:07 PM, FOXBI said:

 

no, That does not mean that.

 

 

While upgrading ch_cpuinfo from 1.0 to 5.0. Collection methods, results, etc. have been changed.

 

That's why I've been struggling to minimize problems that could occur when using previous ch_cpuinfo users.

 

 

The "RERUN_FN" function is the function that contains the process of modifying the modified file again.

 

In this process, all users have the same DSM environment, so there is a possibility of errors.

 

 

I hope I have answered your question correctly. :)

 

English is too hard :61_sob:

 

OK.  Seems logical to me, if you could include the functionality to simple restore the "original" DSM code/information in those cases where things might have become corrupted or the backup was no longer the "original" DSM code/information.  Something quite and simple.  What do you think?      Thank You for all of your hard work and magical code work!  MUCH APPRECIATED!

Share this post


Link to post
Share on other sites

Is It influences productivity? If DSM shows 4 cores, then 6 work all the same, right?

Share this post


Link to post
Share on other sites
On 12/20/2018 at 4:32 AM, FOXBI said:

 

 

It looks like the last time I contacted fhocorp


+ cpu_vendor='
Intel'

+ cpu_family='
Xeon'

+ cpu_series='
E5504'

The variable contains a blank line.
 

Last time was Nehalem CPU ..

 

Can you show the result of "dmidecode -t processor"?

 

 

It seems that certain CPUs may be blank when collecting information.

Spoiler

 

ash-4.3# dmidecode -t processor
# dmidecode 2.12
SMBIOS 2.7 present.

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
        Socket Designation: Proc 1
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: A5 06 01 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 26, Stepping 5
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
        Voltage: 1.0 V
        External Clock: 532 MHz
        Max Speed: 2000 MHz
        Current Speed: 2000 MHz
        Status: Populated, Enabled
        Upgrade: Socket LGA1366
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: 0x0007
        Serial Number:
        Asset Tag:
        Part Number:
        Core Count: 4
        Core Enabled: 4
        Thread Count: 4
        Characteristics:
                64-bit capable

Handle 0x0008, DMI type 4, 42 bytes
Processor Information
        Socket Designation: Proc 2
        Type: Central Processor
        Family: Other
        Manufacturer:
        ID: 00 00 00 00 00 00 00 00
        Version:
        Voltage: 3.3 V 2.9 V
        External Clock: Unknown
        Max Speed: 2000 MHz
        Current Speed: Unknown
        Status: Unpopulated
        Upgrade: ZIF Socket
        L1 Cache Handle: 0x0009
        L2 Cache Handle: 0x000A
        L3 Cache Handle: 0x000B
        Serial Number:
        Asset Tag:
        Part Number:
        Characteristics: None

ash-4.3#

 


 

Share this post


Link to post
Share on other sites
Spoiler

ash-4.3# dmidecode -t processor
# dmidecode 2.12
SMBIOS 2.7 present.

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
        Socket Designation: Proc 1
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: C2 06 02 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 44, Stepping 2
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
        Voltage: 1.1 V
        External Clock: 532 MHz
        Max Speed: 3066 MHz
        Current Speed: 3066 MHz
        Status: Populated, Enabled
        Upgrade: Socket LGA1366
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: 0x0007
        Serial Number:
        Asset Tag:
        Part Number:
        Core Count: 6
        Core Enabled: 6
        Thread Count: 12
        Characteristics:
                64-bit capable

Handle 0x0008, DMI type 4, 42 bytes
Processor Information
        Socket Designation: Proc 2
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: C2 06 02 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 44, Stepping 2
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
        Voltage: 1.1 V
        External Clock: 532 MHz
        Max Speed: 3066 MHz
        Current Speed: 3066 MHz
        Status: Populated, Enabled
        Upgrade: Socket LGA1366
        L1 Cache Handle: 0x0009
        L2 Cache Handle: 0x000A
        L3 Cache Handle: 0x000B
        Serial Number:
        Asset Tag:
        Part Number:
        Core Count: 6
        Core Enabled: 6
        Thread Count: 12
        Characteristics:
                64-bit capable

ash-4.3#
 

 

Share this post


Link to post
Share on other sites
On 12/19/2018 at 7:32 PM, FOXBI said:

 

 

It looks like the last time I contacted fhocorp


+ cpu_vendor='
Intel'

+ cpu_family='
Xeon'

+ cpu_series='
E5504'

The variable contains a blank line.
 

Last time was Nehalem CPU ..

 

Can you show the result of "dmidecode -t processor"?

 

 

It seems that certain CPUs may be blank when collecting information.

 

Would it be possible for you to contain in your program the ”original" DSM Syno JavaScript File / Data.  This way would could just select option #3, and always have the ability to overwrite any changes that have been made, back to factory defaults, and not rely on a “backup” to be restored?

 

그것은 당신이 당신의 프로그램에 "원래" DSM syno 자바 스크립트 파일/데이터를 포함 하는 것이 가능할 것 이다.  이렇게 하면 옵션 #3를 선택 하 고 항상 변경 된 내용을 다시 출하 시 기본값으로 되돌릴 수 있으며 복원 할 "백업"에 의존 하지 않는 것이 좋습니다.

Share this post


Link to post
Share on other sites

Thanks for the script. CPU information updated successfully.

 

But the number of threads shows wrong.

 

For Intel core i7 8700 processor, It is 6 core and 12 threads. But system shows 8 threads only.

image.png

Share this post


Link to post
Share on other sites

My Intel Shows Intel Genuine and not that name and each core shows up independently intel E5-2628 x12

 

 dmidecode -t processor
# dmidecode 2.12
# SMBIOS entry point at 0x000f04d0
SMBIOS 2.7 present.

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
        Socket Designation: SOCKET 0
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: E2 06 03 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 62, Stepping 2
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Genuine Intel(R) CPU @ 2.30GHz
        Voltage: 0.0 V
        External Clock: 100 MHz
        Max Speed: 4000 MHz
        Current Speed: 2300 MHz
        Status: Populated, Enabled
        Upgrade: Socket LGA2011
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0006
        L3 Cache Handle: 0x0007
        Serial Number: Not Specified
        Asset Tag: 87B21280655F7413
        Part Number: Not Specified
        Core Count: 12
        Core Enabled: 12
        Thread Count: 24
        Characteristics:
                64-bit capable
                Multi-Core
                Hardware Thread
                Execute Protection
                Enhanced Virtualization
                Power/Performance Control
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Genuine Intel(R) CPU  @ 2.30GHz
stepping        : 2
microcode       : 0x20d
cpu MHz         : 2301.000
cache size      : 30720 KB
physical id     : 0
siblings        : 12
core id         : 0
cpu cores       : 12
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips        : 4599.80
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Genuine Intel(R) CPU  @ 2.30GHz
stepping        : 2
microcode       : 0x20d
cpu MHz         : 2301.000
cache size      : 30720 KB
physical id     : 0
siblings        : 12
core id         : 1
cpu cores       : 12
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips        : 4599.80
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

-----------|
           |
          \ /

processor       : 11
vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Genuine Intel(R) CPU  @ 2.30GHz
stepping        : 2
microcode       : 0x20d
cpu MHz         : 2301.000
cache size      : 30720 KB
physical id     : 0
siblings        : 12
core id         : 13
cpu cores       : 12
apicid          : 26
initial apicid  : 26
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips        : 4599.80
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

 

Edited by medric

Share this post


Link to post
Share on other sites

Hello guys,

I have Xpenology 6.1 installed on my server and the only problem I'm finding is that I'm not getting all my precious cores usable. My cpu is an Intel Xeon E5-2698 v4 (20 cores, 40 threads) This is what I get doing a dmidecode -t processor

 

# dmidecode 2.12
SMBIOS 3.0 present.
# SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.

Handle 0x0069, DMI type 4, 42 bytes
Processor Information
	Socket Designation: CPU1
	Type: Central Processor
	Family: Xeon
	Manufacturer: Intel
	ID: F0 06 04 00 FF FB EB BF
	Signature: Type 0, Family 6, Model 79, Stepping 0
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		PAE (Physical address extension)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		APIC (On-chip APIC hardware supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		PSE-36 (36-bit page size extension)
		CLFSH (CLFLUSH instruction supported)
		DS (Debug store)
		ACPI (ACPI supported)
		MMX (MMX technology supported)
		FXSR (FXSAVE and FXSTOR instructions supported)
		SSE (Streaming SIMD extensions)
		SSE2 (Streaming SIMD extensions 2)
		SS (Self-snoop)
		HTT (Multi-threading)
		TM (Thermal monitor supported)
		PBE (Pending break enabled)
	Version: Genuine Intel(R) CPU 0000 @ 2.00GHz
	Voltage: 1.8 V
	External Clock: 100 MHz
	Max Speed: 4000 MHz
	Current Speed: 2000 MHz
	Status: Populated, Enabled
	Upgrade: <OUT OF SPEC>
	L1 Cache Handle: 0x0066
	L2 Cache Handle: 0x0067
	L3 Cache Handle: 0x0068
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Core Count: 20
	Core Enabled: 20
	Thread Count: 40
	Characteristics:
		64-bit capable
		Multi-Core
		Hardware Thread
		Execute Protection
		Enhanced Virtualization
		Power/Performance Control

 

However doing a cat /proc/cpuinfo I get only 16 cores and nothing about 32 threads.

processor	: 15
vendor_id	: GenuineIntel
cpu family	: 6
model		: 79
model name	: Genuine Intel(R) CPU 0000 @ 2.00GHz
stepping	: 0
microcode	: 0x14
cpu MHz		: 2001.000
cache size	: 51200 KB
physical id	: 0
siblings	: 16
core id		: 24
cpu cores	: 16
apicid		: 48
initial apicid	: 48
fpu		: yes
fpu_exception	: yes
cpuid level	: 20
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap
bogomips	: 4000.02
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

If I do a htop to see core usage you can also see that there's only 16 cores available. 

1138205547_Screenshot2019-02-14at11_11_36.thumb.png.0e76d08afc80b625690318a3daacdca5.png

 

Is there a way to fix this and use all the available cores?

Edited by bluepr0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now