Message boards : Sixtrack Application : AVX Sixtrack version
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · Next

AuthorMessage
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jun 08
Posts: 2028
Credit: 148,579,886
RAC: 115,139
Message 33971 - Posted: 20 Jan 2018, 15:25:31 UTC - in response to Message 33967.  
Last modified: 20 Jan 2018, 15:33:37 UTC

... is there an "easy" way to do this? Any tutorials you know of?

Just do what your BOINC client does.
Copy the required files from the "project" directory to a runtime directory (the client uses "slots" but I would not recommend that for testing :-)).
Some files may contain links. Change those links to your "test" directory.
Run the scientific app in "test" and measure the time it needs to complete.
At the end or in case of an error, examine the stderr.txt in "test".

<edit>
I forgot:
Don't expect to get credits for this.
;-))
</edit>
ID: 33971 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 728
Credit: 493,758,718
RAC: 305,157
Message 33978 - Posted: 20 Jan 2018, 18:39:28 UTC - in response to Message 33966.  

hwinfo64 shows if the feature is on vs avaliable
ID: 33978 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 728
Credit: 493,758,718
RAC: 305,157
Message 33979 - Posted: 20 Jan 2018, 18:48:04 UTC - in response to Message 33971.  

There is an office test data set in the code, I think you have to build it yourself though.

https://github.com/SixTrack/SixTrack
ID: 33979 · Report as offensive     Reply Quote
Erich56

Send message
Joined: 18 Dec 15
Posts: 1516
Credit: 46,628,039
RAC: 60,329
Message 33980 - Posted: 20 Jan 2018, 19:01:14 UTC - in response to Message 33978.  
Last modified: 20 Jan 2018, 19:09:30 UTC

hwinfo64 shows if the feature is on vs avaliable
I now ran hwinfo64 - AVX is shown in green in the box called "features" (whereas some other features, like AVX2, are greyed out). In my opinion, this again (probably like CPU-Z) only shows that AVX is available, but is does NOT show whether it's on or not.

Edit: in the large box at the right hand side, "AVX support" is listed with a green check as "present". So, why does BOINC not recognize it?
ID: 33980 · Report as offensive     Reply Quote
Jim1348

Send message
Joined: 15 Nov 14
Posts: 592
Credit: 21,977,299
RAC: 268
Message 33981 - Posted: 20 Jan 2018, 19:01:50 UTC - in response to Message 33964.  

I now restarted BOINC, and in the event log, under processor features, AVX is indeed not listed:

20/01/2018 15:33:47 | | 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 f16c rdrandsyscall nx lm vmx tm2 dca pbe fsgsbase smep

This is strange. Because my Intel i7-4930k definitely supports AVX, this is also shown in CPU-Z.

This is very, very strange. My i7-4770 (Ubuntu 16.04.3 and BOINC 7.8.3) does not show AVX:
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 aperfmperf pni 
(I also have an i7-4790 that shows the same thing.)

On the other hand, my i7-4771 (Windows 7, 64-bit and BOINC 7.9.0) does show AVX (no, I did not install the AVX.dll):
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 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 vmx smx tm2 pbe fsgsbase bmi1 hle	


At least it explains why I did not pick up any AVX on my i7-4770, but what is going on???
ID: 33981 · Report as offensive     Reply Quote
Erich56

Send message
Joined: 18 Dec 15
Posts: 1516
Credit: 46,628,039
RAC: 60,329
Message 33982 - Posted: 20 Jan 2018, 19:06:52 UTC - in response to Message 33981.  

Jim's experience, plus my own one, may indicate that there is a flaw in BOINC regarding recognizing the CPU features properly.
ID: 33982 · Report as offensive     Reply Quote
Crystal Pellet
Volunteer moderator
Volunteer tester

Send message
Joined: 14 Jan 10
Posts: 1123
Credit: 6,909,474
RAC: 1,306
Message 33983 - Posted: 20 Jan 2018, 19:58:16 UTC - in response to Message 33964.  
Last modified: 20 Jan 2018, 20:01:15 UTC

So would it really be necessary to install and register the AVX.dll by hand? Did anyone of those crunchers who received AVX-tasks need to do that?
I never installed such a dll and on my older system avx is directly recognized:

Processor: 8 GenuineIntel Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz [Family 6 Model 42 Stepping 7]
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 syscall nx lm avx vmx smx tm2 pbe
OS: Microsoft Windows 7: Home Premium x64 Edition, Service Pack 1, (06.01.7601.00)

Btw: No avx.dll on my system . . .
ID: 33983 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 728
Credit: 493,758,718
RAC: 305,157
Message 33985 - Posted: 20 Jan 2018, 20:34:02 UTC - in response to Message 33982.  
Last modified: 20 Jan 2018, 20:43:34 UTC

I agree I think it's BOINC issue.

What about "grep avx /proc/cpuinfo"

Green in HWINFO means eanabled and feature is there, red woudl be ther ebut dissabled and grey is not there.

Worked it out, WindowsXP doesn't support AVX, so you need another OS for support.
ID: 33985 · Report as offensive     Reply Quote
Juha

Send message
Joined: 22 Mar 17
Posts: 30
Credit: 360,676
RAC: 0
Message 33987 - Posted: 20 Jan 2018, 20:44:23 UTC - in response to Message 33980.  
Last modified: 20 Jan 2018, 20:46:50 UTC

@Erich56

Your hosts:

ID: 10388905
GenuineIntel Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz [Family 6 Model 62 Stepping 4] (12 processors)
[2] NVIDIA GeForce GTX 980 Ti (4095MB) driver: 361.75
Microsoft Windows XP Professional x64 Edition, Service Pack 2, (05.02.3790.00)

Processor supports AVX but OS doesn't. IIRC Win 7 SP1 was the first one to support AVX.

ID: 10450564
GenuineIntel Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz [Family 6 Model 23 Stepping 10] (4 processors)
NVIDIA GeForce GTX 750 Ti (2048MB) driver: 388.13 OpenCL: 1.2
Microsoft Windows 10 Professional x64 Edition, (10.00.16299.00)

OS supports AVX but CPU doesn't.

ID: 10452404
GenuineIntel Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz [Family 6 Model 37 Stepping 5] (4 processors)
AMD ATI Radeon HD 5400/R5 210 series (Cedar) (512MB) driver: 1.4.696
Microsoft Windows 7 Professional x64 Edition, Service Pack 1, (06.01.7601.00)

Again, OS supports AVX but processor doesn't.


@Others

Any Linux user having problems, check /proc/cpuinfo. That's where BOINC gets its information from.


edit: Toby beat me by 49 seconds :)
ID: 33987 · Report as offensive     Reply Quote
AuxRx

Send message
Joined: 16 Sep 17
Posts: 100
Credit: 1,618,469
RAC: 0
Message 33988 - Posted: 20 Jan 2018, 21:40:40 UTC - in response to Message 33971.  

@computezrmle: Thanks! I'll look into it.
ID: 33988 · Report as offensive     Reply Quote
Jim1348

Send message
Joined: 15 Nov 14
Posts: 592
Credit: 21,977,299
RAC: 268
Message 33989 - Posted: 20 Jan 2018, 21:41:48 UTC - in response to Message 33987.  

Any Linux user having problems, check /proc/cpuinfo. That's where BOINC gets its information from.

On my i7-4770 (Ubuntu 16.04.3), "cpuinfo" provides the following:
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 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 tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts

So both avx and avx2 are there; BOINC 7.8.3 is not picking them up.

Also, I have an i7-3770 running under Ubuntu 16.04.3, but it is using BOINC 7.6.31. However, it also does not pick up the avx:
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 arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqd

So it seems that this is a BOINC bug that has been around for awhile, which is rather strange.
ID: 33989 · Report as offensive     Reply Quote
AuxRx

Send message
Joined: 16 Sep 17
Posts: 100
Credit: 1,618,469
RAC: 0
Message 33990 - Posted: 20 Jan 2018, 22:11:46 UTC - in response to Message 33989.  

Ubuntu 16.04.3 LTS (4.13.0-26)
BOINC 7.6.31

w/ intel i5 6500

No issues. I received and successfully crunched AVX tasks and continue to do so.
ID: 33990 · Report as offensive     Reply Quote
JFK73

Send message
Joined: 10 Jan 12
Posts: 5
Credit: 977,787
RAC: 0
Message 33991 - Posted: 20 Jan 2018, 22:39:07 UTC

Hi guys, regarding the 4930k issue the problem might be also Windows XP not officially supporting AVX extensions. I've the same cpu and my client is receiving avx tasks. Upgrading BOINC client might help too. Just my 2 cents
ID: 33991 · Report as offensive     Reply Quote
Jim1348

Send message
Joined: 15 Nov 14
Posts: 592
Credit: 21,977,299
RAC: 268
Message 33992 - Posted: 20 Jan 2018, 23:34:07 UTC - in response to Message 33989.  
Last modified: 20 Jan 2018, 23:37:36 UTC

So both avx and avx2 are there; BOINC 7.8.3 is not picking them up.

Maybe it is. I also have a Ryzen 1700 machine running under Ubuntu 17.10 (BOINC 7.8.3), and it is picking up the AVX tasks properly, and I have run them. But I also don't see "avx" listed in the BOINC log.
1			1/20/2018 6:12:46 PM	Starting BOINC client version 7.8.3 for x86_64-pc-linux-gnu	
2			1/20/2018 6:12:46 PM	log flags: file_xfer, sched_ops, task	
3			1/20/2018 6:12:46 PM	Libraries: libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3	
4			1/20/2018 6:12:46 PM	Data directory: /var/lib/boinc-client	
5			1/20/2018 6:12:47 PM	CUDA: NVIDIA GPU 0: GeForce GTX 970 (driver version 387.34, CUDA version 9.1, compute capability 5.2, 4033MB, 3962MB available, 4381 GFLOPS peak)	
6			1/20/2018 6:12:47 PM	OpenCL: NVIDIA GPU 0: GeForce GTX 970 (driver version 387.34, device version OpenCL 1.2 CUDA, 4033MB, 3962MB available, 4381 GFLOPS peak)	
7			1/20/2018 6:12:48 PM	Host name: Ryzen1700-PC	
8			1/20/2018 6:12:48 PM	Processor: 16 AuthenticAMD AMD Ryzen 7 1700 Eight-Core Processor [Family 23 Model 1 Stepping 1]	
9			1/20/2018 6:12:48 PM	Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor	
10			1/20/2018 6:12:48 PM	OS: Linux Ubuntu: Ubuntu 17.10 [4.13.0-25-generic]	
11			1/20/2018 6:12:48 PM	Memory: 31.41 GB physical, 1.86 GB virtual	
12			1/20/2018 6:12:48 PM	Disk: 182.34 GB total, 165.05 GB free	

However, that log is actually from the BoincTasks Messages, and it seems that it may be truncating the relevant info. If/when I find the relevant BOINC logs on that machine, I will look into it further. So maybe my other machines are working OK, and I just haven't been sent any AVX tasks yet. I will try again later after all the server problems are cleared up. Thanks to Erich for the alert.

EDIT: The experts on the BOINC forum are offering advice too.
http://boinc.berkeley.edu/dev/forum_thread.php?id=12255#84449
ID: 33992 · Report as offensive     Reply Quote
Erich56

Send message
Joined: 18 Dec 15
Posts: 1516
Credit: 46,628,039
RAC: 60,329
Message 33995 - Posted: 21 Jan 2018, 6:42:29 UTC - in response to Message 33987.  
Last modified: 21 Jan 2018, 7:16:45 UTC

@Erich56

Your hosts:

ID: 10388905
Processor supports AVX but OS (=WinXP) doesn't. IIRC Win 7 SP1 was the first one to support AVX.

ID: 10450564
OS supports AVX but CPU doesn't.

ID: 10452404
Again, OS supports AVX but processor doesn't.

It was clear to me that the processors in hosts 10450564 and 10452404 do NOT support AVX.
I did NOT know that WinXP 64-bit does NOT support AVX. Now it's all clear, thanks for your help!

Edit: searching the web on this topic, I was surprised to find out that AVX (ans AVX2) can run on DOS - wow!
For further information see here: http://masm32.com/board/index.php?PHPSESSID=f22ebb0bb2819dc7b4cbee7b30e03598&topic=4134.msg43831#msg43831
ID: 33995 · Report as offensive     Reply Quote
Profile MAGIC Quantum Mechanic
Avatar

Send message
Joined: 24 Oct 04
Posts: 1010
Credit: 47,543,617
RAC: 4,965
Message 33998 - Posted: 21 Jan 2018, 9:09:35 UTC

https://lhcathome.cern.ch/lhcathome/results.php?hostid=10447575

I decided to take my old XP Pro X86 out of retirement for a few days here just to see what happens and as you have found they do not get the AVX tasks and at least in my case I mainly just have 54 waiting in Validation Pending and mainly just got those 10 second tasks......even the Valid ones.

So I finished what was left in the cache and put her back to sleep again.
Volunteer Mad Scientist For Life
ID: 33998 · Report as offensive     Reply Quote
Erich56

Send message
Joined: 18 Dec 15
Posts: 1516
Credit: 46,628,039
RAC: 60,329
Message 34000 - Posted: 21 Jan 2018, 9:23:42 UTC - in response to Message 33998.  

So I finished what was left in the cache and put her back to sleep again.
On the other hand, if you want to keep her awake, and if she is willing/able to accept VM tasks, you could - for example - have her send Theory tasks; they are the ones with the lowest RAM usage(< 1GB) and are normally running without any problems.
ID: 34000 · Report as offensive     Reply Quote
maeax

Send message
Joined: 2 May 07
Posts: 1590
Credit: 67,038,284
RAC: 240,735
Message 34248 - Posted: 3 Feb 2018, 10:31:20 UTC
Last modified: 3 Feb 2018, 10:43:38 UTC

AVX-Tasks for OpenSuse 42.2 (Leap) are now avalaible and successful completed.
Also for OpenSuse 13.2.
ID: 34248 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 728
Credit: 493,758,718
RAC: 305,157
Message 34294 - Posted: 5 Feb 2018, 21:34:35 UTC

HI, any benefit for AVX-512?
ID: 34294 · Report as offensive     Reply Quote
James Molson
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 25 Jan 17
Posts: 27
Credit: 3,258,853
RAC: 0
Message 34295 - Posted: 5 Feb 2018, 21:58:29 UTC - in response to Message 34294.  

HI, any benefit for AVX-512?


Of course, but currently I do not have a machine to test it with.

For the next release I want to provide an AVX-512 executable.
ID: 34295 · Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · Next

Message boards : Sixtrack Application : AVX Sixtrack version


©2022 CERN