anonymous@RULINUX.NET~# Last login: 2024-11-22 00:23:10
Регистрация Вход Новости | Разметка | Пользователи | Галерея | Форум | Статьи | Неподтвержденное | Трекер | Правила форума | F.A.Q. | Ссылки | Поиск
[#] [Добавить метку] [Редактировать]
Скрыть

Нужна помощь тестеров.

У кого процессоры Intel (любые, лишь бы sse3 поддерживали), можете помочь, запустив пару бенчмарков из моей библиотеки воксельной графики?

Зависимости там SDL1.2 и iniparser (во фряхе есть для последнего порт). Делать нужно так:

text

git clone git://github.com/shamazmazum/voxvision.git
cd voxvision
mkdir build
mkdir build-sse

cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
make
make run-benchmarks-voxrnd

cd ../build-sse
cmake -DCMAKE_BUILD_TYPE=RELEASE -DSSE_INTRIN=ON ..
make
make run-benchmarks-voxrnd
 


Нужно предоставить вывод make run-benchmarks-voxrnd из двух конфигураций. Там ещё можно поиграться с рендерером, но если у вас не фряха с GCD, то будет адово тормозить.

Vasily(*) (2016-03-19 07:42:24)

Mozilla/5.0 (X11; FreeBSD amd64; rv:40.0) Gecko/20100101 Firefox/40.0

[Ответить на это сообщение]
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24
avatar
Скрыть

Re:Нужна помощь тестеров.

А как узнать поддерживается ли оно у меня? Согласно ВиКи, АМД Феном-2 и Штеуд Атом его должны поддерживать, но я хоть убей не вижу SSE3 в /proc/cpuinfo - есть всё что хошь: sse2, ssse3, sse4a но только не sse3.

anonymous(*)(2016-03-19 13:15:26)

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24Фильтры
avatar
  • торсионщина
  • порно
Скрыть

Re:Нужна помощь тестеров.

>Нужно предоставить вывод make run-benchmarks-voxrnd из двух конфигураций

model name : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz

text

make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target set-rotation-angles
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[ 86%] Linking C executable set-rotation-angles
[ 86%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.777640 seconds (10000000 iterations)
[ 86%] Built target run-set-rotation-angles
Scanning dependencies of target screen2world-translations
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[100%] Linking C executable screen2world-translations
[100%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 1.840645 seconds (250 iterations)
[100%] Built target run-screen2world-translations
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd
 


text

make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target set-rotation-angles
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[ 86%] Linking C executable set-rotation-angles
[ 86%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.661299 seconds (10000000 iterations)
[ 86%] Built target run-set-rotation-angles
Scanning dependencies of target screen2world-translations
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[100%] Linking C executable screen2world-translations
[100%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 2.577762 seconds (250 iterations)
[100%] Built target run-screen2world-translations
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd
 


p.s. Если что, запускал в окружении nspawn по заветам SystemV

Dr.uid(*)(2016-03-19 13:34:54)
Отредактировано Dr.uid по причине "не указана"
Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24
avatar
Скрыть

Re:Нужна помощь тестеров.

Интел:

text

model name      : Intel(R) Core(TM) i3-2348M CPU @ 2.30GHz

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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid xsaveopt

[root@cont build]#  make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target set-rotation-angles
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[ 86%] Linking C executable set-rotation-angles
[ 86%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.916324 seconds (10000000 iterations)
[ 86%] Built target run-set-rotation-angles
Scanning dependencies of target screen2world-translations
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[100%] Linking C executable screen2world-translations
[100%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 2.503953 seconds (250 iterations)
[100%] Built target run-screen2world-translations
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd

[root@cont build-sse]#  make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target set-rotation-angles
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[ 86%] Linking C executable set-rotation-angles
[ 86%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.861335 seconds (10000000 iterations)
[ 86%] Built target run-set-rotation-angles
Scanning dependencies of target screen2world-translations
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[100%] Linking C executable screen2world-translations
[100%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 3.091730 seconds (250 iterations)
[100%] Built target run-screen2world-translations
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd
 


Не совсем интел:

text

model name      : AMD FX(tm)-6300 Six-Core Processor

flags           : 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 extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold vmmcall bmi1

[root@cont build]# make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target set-rotation-angles
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[ 86%] Linking C executable set-rotation-angles
[ 86%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.732157 seconds (10000000 iterations)
[ 86%] Built target run-set-rotation-angles
Scanning dependencies of target screen2world-translations
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[100%] Linking C executable screen2world-translations
[100%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 2.008085 seconds (250 iterations)
[100%] Built target run-screen2world-translations
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd

[root@cont build-sse]# make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target set-rotation-angles
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[ 86%] Linking C executable set-rotation-angles
[ 86%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.637266 seconds (10000000 iterations)
[ 86%] Built target run-set-rotation-angles
Scanning dependencies of target screen2world-translations
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[100%] Linking C executable screen2world-translations
[100%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 2.601166 seconds (250 iterations)
[100%] Built target run-screen2world-translations
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd
 

SystemV(*)(2016-03-19 13:38:57)

Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24
avatar
Скрыть

Re:Нужна помощь тестеров.

text

[root@localhost build]# make run-benchmarks-voxrnd
[ 13%] Built target gettime
Scanning dependencies of target voxrnd
[ 20%] Building C object src/voxrnd/CMakeFiles/voxrnd.dir/camera.c.o
[ 26%] Building C object src/voxrnd/CMakeFiles/voxrnd.dir/renderer.c.o
[ 33%] Building C object src/voxrnd/CMakeFiles/voxrnd.dir/vect-ops.c.o
[ 40%] Linking C shared library libvoxrnd.so
[ 40%] Built target voxrnd
Scanning dependencies of target voxtrees
[ 46%] Building C object src/voxtrees/CMakeFiles/voxtrees.dir/geom.c.o
[ 53%] Building C object src/voxtrees/CMakeFiles/voxtrees.dir/search.c.o
[ 60%] Building C object src/voxtrees/CMakeFiles/voxtrees.dir/tree.c.o
[ 66%] Building C object src/voxtrees/CMakeFiles/voxtrees.dir/statistics.c.o
[ 73%] Linking C shared library libvoxtrees.so
[ 73%] Built target voxtrees
Scanning dependencies of target screen2world-translations
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[ 86%] Linking C executable screen2world-translations
[ 86%] Built target screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 2.000793 seconds (250 iterations)
[ 86%] Built target run-screen2world-translations
Scanning dependencies of target set-rotation-angles
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[100%] Linking C executable set-rotation-angles
[100%] Built target set-rotation-angles
Setting rotation angles took 0.774560 seconds (10000000 iterations)
[100%] Built target run-set-rotation-angles
[100%] Built target run-benchmarks-voxrnd
[root@localhost build]#

 


text

[root@localhost build-sse]# make run-benchmarks-voxrnd
Scanning dependencies of target gettime
[  6%] Building C object benchmarks/CMakeFiles/gettime.dir/gettime.c.o
[ 13%] Linking C static library libgettime.a
[ 13%] Built target gettime
[ 46%] Built target voxtrees
[ 73%] Built target voxrnd
Scanning dependencies of target screen2world-translations
[ 80%] Building C object benchmarks/voxrnd/CMakeFiles/screen2world-translations.dir/screen2world-translations.c.o
[ 86%] Linking C executable screen2world-translations
[ 86%] Built target screen2world-translations
Scanning dependencies of target run-screen2world-translations
<0.997500 1.000000 0.996667>
Screen->world coordinate translations took 2.604823 seconds (250 iterations)
[ 86%] Built target run-screen2world-translations
Scanning dependencies of target set-rotation-angles
[ 93%] Building C object benchmarks/voxrnd/CMakeFiles/set-rotation-angles.dir/set-rotation-angles.c.o
[100%] Linking C executable set-rotation-angles
[100%] Built target set-rotation-angles
Scanning dependencies of target run-set-rotation-angles
Setting rotation angles took 0.694268 seconds (10000000 iterations)
[100%] Built target run-set-rotation-angles
Scanning dependencies of target run-benchmarks-voxrnd
[100%] Built target run-benchmarks-voxrnd
[root@localhost build-sse]# cd ../build

 


text

model name      : Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt

 


vilfred(*)(2016-03-19 14:46:54)

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24
avatar
Скрыть

Re:Нужна помощь тестеров.

Таки попробовал на нетпуке скомпилировать, говорит такое:


$ make
[ 10%] Building C object src/voxtrees/CMakeFiles/voxtrees.dir/geom.c.o
In file included from /home/vvputin/tmp/voxvision/voxvision/src/voxtrees/params.h:9:0,
                 from /home/vvputin/tmp/voxvision/voxvision/src/voxtrees/geom.h:9,
                 from /home/vvputin/tmp/voxvision/voxvision/src/voxtrees/geom.c:2:
/home/vvputin/tmp/voxvision/voxvision/src/voxtrees/geom.c: В функции «hit_box»:
/home/vvputin/tmp/voxvision/voxvision/src/voxtrees/../voxvision.h:26:30: предупреждение: результат - вектор SSE без включения SSE изменяет ABI [-Wpsabi]
 #define vox_dot_copy(d1, d2) _mm_store_ps (d1, _mm_load_ps (d2))
 

anonymous(*)(2016-03-19 15:38:50)

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24
avatar
Скрыть

Re:Нужна помощь тестеров.

Понятно. Короче я наделал функций с simd-инструкциями для вращения векторов, а вышло, что они работают медленнее, чем куча не-simd инструкций. При том, что на слабых телефоне и нетбуке ситуация с точностью наоборот. Подумал, может интеловские атомы, которые там стоят такие крутые, но я смотрю, у вас всё то же самое. Значит, я криворукий

Vasily(*)(2016-03-19 16:07:01)

Mozilla/5.0 (X11; FreeBSD amd64; rv:40.0) Gecko/20100101 Firefox/40.0
[#] [Добавить метку] [Редактировать] Ответ на: Нужна помощь тестеров. от Vasily 2016-03-19 07:42:24
avatar
Скрыть

Re:Нужна помощь тестеров.

Что-то любителей от рута работать много, как я посмотрю, лол

Vasily(*)(2016-03-19 16:12:11)

Mozilla/5.0 (X11; FreeBSD amd64; rv:40.0) Gecko/20100101 Firefox/40.0
[#] [Добавить метку] [Редактировать] Ответ на: Re:Нужна помощь тестеров. от Vasily 2016-03-19 16:12:11
avatar
Скрыть

Re:Нужна помощь тестеров.

>Что-то любителей от рута работать много, как я посмотрю, лол
У меня там контейнер был.

SystemV(*)(2016-03-19 17:05:21)

Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
[#] [Добавить метку] [Редактировать] Ответ на: Re:Нужна помощь тестеров. от Vasily 2016-03-19 16:12:11
avatar
Скрыть

Re:Нужна помощь тестеров.

мы все умрем!

vilfred(*)(2016-03-19 17:06:38)

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
[#] [Добавить метку] [Редактировать] Ответ на: Re:Нужна помощь тестеров. от vilfred 2016-03-19 17:06:38
avatar
Скрыть

Re:Нужна помощь тестеров.

И этот человек, после всего вышеозначенного, опасается летать на Boeing 737...

Dr.uid(*)(2016-03-19 17:50:46)

Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Firefox/38.0
[#] [Добавить метку] [Редактировать] Ответ на: Re:Нужна помощь тестеров. от Dr.uid 2016-03-19 17:50:46
avatar
Скрыть

Re:Нужна помощь тестеров.

Всё-таки, почему в cpuinfo нету SSE3?

anonymous(*)(2016-03-20 12:41:17)

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
[#] [Добавить метку] [Редактировать] Ответ на: Re:Нужна помощь тестеров. от anonymous 2016-03-20 12:41:17
avatar
Скрыть

Re:Нужна помощь тестеров.

Потому что sse3 называется pni - Prescott New Instructions.

SystemV(*)(2016-03-20 13:38:59)

Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
[#] [Добавить метку] [Редактировать] Ответ на: Re:Нужна помощь тестеров. от SystemV 2016-03-20 13:38:59
avatar
Скрыть

Re:Нужна помощь тестеров.

Блин, надо же было такую путаницу устроить..

anonymous(*)(2016-03-20 13:43:04)

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Этот тред читают 1 пользователь:
Анонимных: 1
Зарегистрированных: 0




(c) 2010-2020 LOR-NG Developers Group
Powered by TimeMachine

Valid HTML 4.01 Transitional Правильный CSS!