ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Valery Pipin <pip@iszf.irk.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] atlas is broken again?
Date: Tue, 05 Apr 2011 22:49:03 -0700
Message-ID: <4D9BFECF.1090108@iszf.irk.ru> (raw)
In-Reply-To: <4D9BF6D8.7080208@mmedia2.kemsu.ru>

05.04.2011 22:15, REAL пишет:
> 06.04.2011 12:04, Valery Pipin пишет:
>> >>> m=randn(2000,2000)
>
> Странно, сейчас на этой строке не падает. Понятия не имею, что у Вас 
> за ситуация, она какая-то размытая.
>
Она никогда здесь не падала. Могу хоть 10000x10000 задать
In [1]: from numpy.linalg import *

In [2]: from numpy.random import *

In [3]: from numpy import dot

In [4]: m1=randn(5000,5000)

In [5]: %time m2=randn(5000,5000)
CPU times: user 1.90 s, sys: 0.33 s, total: 2.23 s
Wall time: 6.11 s

In [7]: %time m3=dot(m1,m2)
CPU times: user 104.00 s, sys: 0.67 s, total: 104.67 s
Wall time: 114.83 s

а 10000x10000 долго ждать в сизифе ;-)

А вот как EPD справляется:
Python 2.7.1 |EPD 7.0-2 (64-bit)| (r271:86832, Nov 29 2010, 13:51:37)
Type "copyright", "credits" or "license" for more information.

IPython 0.10.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from numpy.linalg import *

In [2]: from numpy.random import *

In [3]: from numpy import dot

In [4]: m1=randn(5000,5000)

In [5]: %time m2=randn(5000,5000)
CPU times: user 1.86 s, sys: 0.07 s, total: 1.93 s
Wall time: 1.93 s

In [7]: %time m3=dot(m1,m2)
CPU times: user 27.88 s, sys: 0.08 s, total: 27.95 s
Wall time: 16.12 s

Как говорится почувствуйте разницу ;-).


  reply	other threads:[~2011-04-06  5:49 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05  3:44 Valery Pipin
2011-04-05  3:59 ` REAL
2011-04-05  4:20   ` Valery Pipin
2011-04-05  6:19   ` REAL
2011-04-05  6:41     ` Valery Pipin
2011-04-05  6:53   ` REAL
2011-04-05  7:02     ` Valery Pipin
2011-04-05  7:14       ` REAL
2011-04-05  7:34         ` Valery Pipin
2011-04-05  7:41           ` REAL
2011-04-05  8:02             ` Valery Pipin
2011-04-05  8:20               ` REAL
2011-04-05 17:51                 ` Valery Pipin
2011-04-06  3:22                   ` REAL
2011-04-06  4:54                     ` Valery Pipin
2011-04-06  5:02                       ` REAL
2011-04-06  5:04                         ` Valery Pipin
2011-04-06  5:15                           ` REAL
2011-04-06  5:49                             ` Valery Pipin [this message]
2011-04-06  6:05                               ` REAL
2011-04-06  7:28                           ` REAL
2011-04-06  8:36                             ` Valery Pipin
2011-04-06  8:47                               ` REAL
2011-04-06  8:53                               ` REAL
2011-04-06 15:47                                 ` Valery Pipin
2011-04-06 16:05                                   ` REAL
2011-04-08  1:52                                     ` Valery Pipin
2011-04-08  4:07                                       ` REAL
2011-04-08  4:17                                         ` Valery Pipin
2011-04-08  5:09                                           ` REAL
2011-04-08  5:31                                             ` Valery Pipin
2011-04-08  6:09                                               ` REAL
2011-04-08  6:44                                                 ` Valery Pipin
2011-04-08  7:08                                                   ` REAL
2011-04-08  8:25                                                   ` REAL
2011-04-09  1:09                                                     ` Valery Pipin
2011-04-09  1:19                                                       ` REAL
2011-04-09  1:52                                                         ` Valery Pipin
2011-04-09  2:08                                                           ` REAL
2011-04-09  9:32                                                             ` Michael Shigorin
2011-04-09 11:22                                                               ` REAL
2011-04-10  1:42                                                                 ` Valery Pipin
2011-04-08  5:11                                           ` REAL
2011-04-08  4:24                                       ` REAL
2011-04-08  5:43                                         ` Anton Farygin
2011-04-08  5:47                                           ` REAL
2011-04-08  6:11                                             ` Anton Farygin
2011-04-08  6:20                                               ` REAL
2011-04-08 10:01                                               ` REAL
2011-04-08 10:05                                                 ` REAL
2011-04-08 10:08                                                   ` Anton Farygin
2011-04-08 10:35                                                     ` REAL
2011-04-08 10:53                                                     ` REAL
2011-04-08 11:00                                                       ` REAL
2011-04-08 11:01                                                         ` Anton Farygin
2011-04-08 11:12                                                           ` REAL
2011-04-06  8:19                       ` REAL
2011-04-07  4:54                       ` REAL
2011-04-07  5:20                         ` Valery Pipin

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=4D9BFECF.1090108@iszf.irk.ru \
    --to=pip@iszf.irk.ru \
    --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