ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] война с оптеронами
Date: Fri, 8 Apr 2011 23:27:13 +0300
Message-ID: <20110408202713.GW18724@osdn.org.ua> (raw)
In-Reply-To: <4D9F60DA.8050303@mmedia2.kemsu.ru>

[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]

On Sat, Apr 09, 2011 at 02:24:10AM +0700, REAL wrote:
> минимум для этого пакета - оптерон, ниже - уже плохо. но вот
> если бы его можно было собрать для P6, оно будет работать
> быстрее и на более современных камнях. в любом случае,
> собранный даже под мой камень (он совсем старый, P4), он
> работает быстрее ATLAS.

Не спеши (особенно всё вверх по стеку на него перетаскивать).

У нас пару лет назад делали сравнения, atlas на x86_64 отставал
от goto примерно на 10%, MKL его немного опережал (порядка
процента).  P4 -- настолько специфический (и тупиковый) случай,
что по нему бенчмаркать точно не стоит.

Извини, что с разбегу обрадовался насчёт goto и не потрудился
посмотреть внимательней, а что дали-то.  Оно хоть и заточено
вплоть до Nehalem, но дальше точиться, насколько пока видно,
не будет -- все уже пилят atlas, в т.ч. и ассемблерными
оптимизациями.

Есть ещё одна крупная неприятность с generic x86 в goto: оно там
сломано.  Ближе к совсем.  Для того, чтоб хотя бы не выпадало с
error, нужен приложенный патч.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: gotoblas2-1.13-tmc1.patch --]
[-- Type: text/plain, Size: 581 bytes --]

diff -urN GotoBLAS2/driver/others/dynamic.c GotoBLAS2.tmc/driver/others/dynamic.c
--- GotoBLAS2/driver/others/dynamic.c	2010-01-20 18:28:45.000000000 +0200
+++ GotoBLAS2.tmc/driver/others/dynamic.c	2010-09-07 20:26:24.000000000 +0300
@@ -181,9 +181,9 @@
   gotoblas = get_coretype();
   
 #ifdef ARCH_X86
-  if (gotoblas == NULL) gotoblas = gotoblas_KATMAI;
+  if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI;
 #else
-  if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT;
+  if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT;
 #endif
   
   if (gotoblas && gotoblas -> init) {

  reply	other threads:[~2011-04-08 20:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-08 17:41 REAL
2011-04-08 18:57 ` Dmitry V. Levin
2011-04-08 19:24   ` REAL
2011-04-08 20:27     ` Michael Shigorin [this message]
2011-04-09  1:12       ` REAL
2011-04-09  2:33         ` REAL
2011-04-09  3:34           ` Valery Pipin
2011-04-09  4:20             ` REAL
2011-04-09  4:29               ` Valery Pipin
2011-04-09  5:47                 ` REAL
2011-04-09  6:26                   ` Valery Pipin
2011-04-09  8:10                     ` REAL
2011-04-09  9:30         ` Michael Shigorin
2011-04-09 10:03           ` REAL
2011-04-09 12:43             ` Michael Shigorin
2011-04-09 12:50               ` Aleksey Novodvorsky
2011-04-09 12:58                 ` Michael Shigorin
2011-04-09 12:52               ` REAL
2011-04-09 13:00                 ` Michael Shigorin
2011-04-09 13:15                   ` REAL
2011-04-09 14:11                     ` Michael Shigorin
2011-04-09 14:22                       ` REAL
2011-04-08 19:48   ` REAL
2011-04-08 19:45     ` Aleksey Novodvorsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110408202713.GW18724@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git