"Processor features" are truncated in Ubuntu 16.04.3

Started by Jim1348, January 21, 2018, 03:32:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jim1348

I am trying to use BOINC 7.8.3 to run a AVX project (LHC/SixTrack) on an Ubuntu 16.04.3 machine running on an i7-4770.  I am fairly sure that AVX works properly on this machine, but BoincTasks (running on a Win7 64-bit machine over the LAN) does not list it on startup.

1 1/21/2018 9:17:23 AM Starting BOINC client version 7.8.3 for x86_64-pc-linux-gnu
2 1/21/2018 9:17:23 AM log flags: file_xfer, sched_ops, task
3 1/21/2018 9:17:23 AM Libraries: libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
4 1/21/2018 9:17:23 AM Data directory: /var/lib/boinc-client
5 1/21/2018 9:17:24 AM CUDA: NVIDIA GPU 0: GeForce GTX 1070 (driver version 387.34, CUDA version 9.1, compute capability 6.1, 4096MB, 3984MB available, 6561 GFLOPS peak)
6 1/21/2018 9:17:24 AM OpenCL: NVIDIA GPU 0: GeForce GTX 1070 (driver version 387.34, device version OpenCL 1.2 CUDA, 8105MB, 3984MB available, 6561 GFLOPS peak)
7 1/21/2018 9:17:24 AM Host name: i7-4770-PC
8 1/21/2018 9:17:24 AM Processor: 8 GenuineIntel Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz [Family 6 Model 60 Stepping 3]
9 1/21/2018 9:17:24 AM Processor features: 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 cpuid aperfmper
10 1/21/2018 9:17:24 AM OS: Linux Ubuntu: Ubuntu 16.04.3 LTS [4.13.0-26-generic]


Can you look into this?

fred

You made room for the whole text?
It might be a BOINC client problem if it uses a fixed string length.
I put it on my list, but it will take a couple of months before I'm able to look at this more closely.

Jim1348

Yes, that is everything I see.  It is only truncated for BOINC running on the Ubuntu machines (I have five of them) viewed over the LAN.  BoincTasks shows all the extensions correctly for BOINC running on the same Windows 7 machine.

Thanks for looking into it. 

fred

Quote from: Jim1348 on February 02, 2018, 08:55:05 PM
Yes, that is everything I see.  It is only truncated for BOINC running on the Ubuntu machines (I have five of them) viewed over the LAN.  BoincTasks shows all the extensions correctly for BOINC running on the same Windows 7 machine.

Thanks for looking into it.
That points to a problem with the Linux Boinc client, that's often much older than the Windows version.

Jim1348

#4
Quote from: fred on February 08, 2018, 03:52:49 PMThat points to a problem with the Linux Boinc client, that's often much older than the Windows version.

I am running BOINC 7.8.3 on both my Windows and Ubuntu machines (except 7.6.31 and 7.8.4 on one Ubuntu machine each).  But 7.8.3 is in the Ubuntu (i.e., Debian) repository now.

fred

Quote from: Jim1348 on February 08, 2018, 09:27:40 PM
Quote from: fred on February 08, 2018, 03:52:49 PMThat points to a problem with the Linux Boinc client, that's often much older than the Windows version.

I am running BOINC 7.8.3 on both my Windows and Ubuntu machines (except 7.6.31 and 7.8.4 on one Ubuntu machine each).  But 7.8.3 is in the Ubuntu (i.e., Debian) repository now.
You say the problem is only with the Linux machines, so my guess is still that this is a BOINC client issue.

Jim1348

Quote from: fred on February 20, 2018, 12:04:21 AMYou say the problem is only with the Linux machines, so my guess is still that this is a BOINC client issue.

Here is the discussion on the BOINC forum where the experts there thought it was a problem with BoincTasks. 
http://boinc.berkeley.edu/dev/forum_thread.php?id=12255

I have confirmed that the relevant BOINC files include the missing flags, and apparently they get transmitted to the BOINC project servers.  It is just a question of where they get dropped going to the Messages tab.  I can't say beyond that.

fred

I put it on my todo list, but that may take a while.

Jim1348

No problem at all.  I now know where to look for the values, it just threw me for a loop when I first ran into it.  You will save some people problems though by fixing it.  Thanks.

fred

In 1.77:
Changed: Messages: If the text is > 180 character, the remaining text is moved to the second line.✓

Jim1348

#10
I installed 1.77 and rebooted both the Windows 7 64-bit machine on which it is installed, and Ubuntu 16.04 and 18.04 machines that are connected over the LAN.  But I still don't see avx and avx2.

GTX-980-PC
1 6/13/2018 12:03:32 PM Starting BOINC client version 7.8.3 for x86_64-pc-linux-gnu
2 6/13/2018 12:03:32 PM log flags: file_xfer, sched_ops, task
3 6/13/2018 12:03:32 PM Libraries: libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
4 6/13/2018 12:03:32 PM Data directory: /var/lib/boinc-client
5 6/13/2018 12:03:33 PM CUDA: NVIDIA GPU 0: GeForce GTX 980 (driver version 390.48, CUDA version 9.1, compute capability 5.2, 4035MB, 3935MB available, 5186 GFLOPS peak)
6 6/13/2018 12:03:33 PM OpenCL: NVIDIA GPU 0: GeForce GTX 980 (driver version 390.48, device version OpenCL 1.2 CUDA, 4035MB, 3935MB available, 5186 GFLOPS peak)
7 6/13/2018 12:03:33 PM Host name: GTX-980-PC
8 6/13/2018 12:03:33 PM Processor: 8 GenuineIntel Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz [Family 6 Model 58 Stepping 9]
9 6/13/2018 12:03:33 PM Processor features: 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 rdtscp lm constant_tsc
                6/13/2018 12:03:33 PM arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pc
10 6/13/2018 12:03:33 PM OS: Linux Ubuntu: Ubuntu 16.04.4 LTS [4.13.0-45-generic]



i7-8700-PC

1 6/13/2018 12:03:55 PM Starting BOINC client version 7.9.3 for x86_64-pc-linux-gnu
2 6/13/2018 12:03:55 PM log flags: file_xfer, sched_ops, task
3 6/13/2018 12:03:55 PM Libraries: libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
4 6/13/2018 12:03:55 PM Data directory: /var/lib/boinc-client
5 6/13/2018 12:03:55 PM No usable GPUs found
6 6/13/2018 12:03:55 PM [libc detection] gathered: 2.27, Ubuntu GLIBC 2.27-3ubuntu1
7 6/13/2018 12:03:55 PM Host name: i7-8700-PC
8 6/13/2018 12:03:55 PM Processor: 12 GenuineIntel Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz [Family 6 Model 158 Stepping 10]
9 6/13/2018 12:03:55 PM Processor features: 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
6/13/2018 12:03:33 PM constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperf
10 6/13/2018 12:03:55 PM OS: Linux Ubuntu: Ubuntu 18.04 LTS [4.15.0-22-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1)]


Are there any checks I should do?

EDIT: I have no problem with a Windows 7 64-bit machine that I connect over the LAN.  It is an i7-3770, and avx shows properly there.

i7-3770-PC1

1 5/24/2018 1:16:18 PM Starting BOINC client version 7.9.3 for windows_x86_64
2 5/24/2018 1:16:18 PM This a development version of BOINC and may not function properly
3 5/24/2018 1:16:18 PM log flags: file_xfer, sched_ops, task
4 5/24/2018 1:16:18 PM Libraries: libcurl/7.47.1 OpenSSL/1.0.2g zlib/1.2.8
5 5/24/2018 1:16:18 PM Data directory: C:\ProgramData\BOINC
6 5/24/2018 1:16:18 PM Running under account Jim
7 5/24/2018 1:16:18 PM No usable GPUs found
8 5/24/2018 1:16:18 PM All projects have zero resource share; setting to 100
9 5/24/2018 1:16:19 PM Host name: i7-3770-PC1
10 5/24/2018 1:16:19 PM Processor: 8 GenuineIntel  Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz [Family 6 Model 58 Stepping 9]
11 5/24/2018 1:16:19 PM Processor features: 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 htt tm pni ssse3 cx16 sse4_1 sse4_2 popcnt aes
6/13/2018 12:03:55 PM f16c rdrandsyscall nx lm avx vmx smx tm2 pbe fsgsbase smep
12 5/24/2018 1:16:19 PM OS: Microsoft Windows 7: Home Premium x64 Edition, Service Pack 1, (06.01.7601.00)


fred

Yep something is still not right.
Check the Computer tab and click with the right mouse button on a computer and select computer properties.
Next with the right mouse key, copy all to clipboard.

Are these all right?

Jim1348

This is for the i7-8700 (Ubuntu 18.04).  The avx and avx2 are OK there..
   
CPU Processors: 12, GenuineIntel, Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz [Family 6 Model 158 Stepping 10]
CPU 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 art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves ibpb ibrs stibp dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
Os Linux Ubuntu, Ubuntu 18.04 LTS [4.15.0-22-generic|libc 2.27 (Ubuntu GLIBC 2.27-3ubuntu1)]
Memory 31.10 Gb, Virtual: 2.00 Gb
Disk Used: 227.74 Gb, Free: 198.63 Gb
GPU

fred


fred

I checked.
Not much I can do, the data is from the BOINC client and it is as it's send back to BoincTasks.
The message buffer is truncated at 256 bytes at the client side, not much I can do about that.