00:35
jcea has joined #pypy
00:43
CrazyPython has joined #pypy
00:59
jvesely has quit [Quit: jvesely]
01:04
lritter has quit [Ping timeout: 265 seconds]
01:05
lritter has joined #pypy
01:16
jcea has quit [Remote host closed the connection]
01:53
jvesely has joined #pypy
02:08
CrazyPython has quit [Remote host closed the connection]
02:22
kingsley has joined #pypy
02:33
<
kingsley >
May I please have your informed and wise advice on why the short multiprocessing script at
02:34
<
kingsley >
works fine with version 7.1.1+dfsg-1 of pypy3 on an i386 computer, but crashes with the stack trace at
02:35
<
kingsley >
with version 7.3.0+dfsg-3+b1 of pypy3 on a cool new POWER9 ppc64el computer?
02:36
<
kingsley >
Version 7.0.0+dfsg-3 also crashed on the POWER9 ppc64el computer.
02:38
<
kingsley >
Similar errors reported on various web pages suggest the "ulimit" command.
02:39
<
kingsley >
It reported "unlimited" when run as root on the POWER9 computer.
02:45
<
kingsley >
/etc/security/limits.conf is unused on both computers.
02:52
lritter has quit [Ping timeout: 260 seconds]
02:56
<
kingsley >
I get similar crashes when simultaneously running 2 instances of pypy3 and the script. Both crash at "5 processes used".
03:46
<
kingsley >
I'm happy to report I seem to have solved my own problem with pypy3!
03:46
<
kingsley >
Although the "ulimit" command reported "unlimited", "ulimit -n" reported "1024"! So I opened it up with "ulimit -n 100000" and now pypy3 works and I'm back in the land of 1000 happy dances.
04:11
speeder39_ has joined #pypy
04:28
<
mattip >
kingsley: :)
05:30
<
mattip >
given the cmd
05:30
<
mattip >
/usr/bin/python2 /home/matti/pypy_stuff/pypy/pypy/tool/watchdog.py 1324.0 /home/matti/pypy_stuff/pypy/pypy/goal/pypy-c /home/matti/pypy_stuff/pypy/pypy/tool/pytest/run-script/regrverbose.py test_curses
05:31
<
mattip >
running it directly gives the proper output (segfault in test_colors_funcs)
05:33
<
mattip >
running it like (cmd 1>/tmp/stdout 2>/tmp/stderr) prints "skipped 'sys.__stdout__ is not a tty", and runs some other tests
05:35
<
mattip >
ok, now things make more sense. The failing/segfaulting tests are simply skipped becuase of our funky test runner
05:35
<
mattip >
... and the test runner seems to be useless anyway since it is trying to run untranslated tests on lib-python
06:37
dddddd has quit [Remote host closed the connection]
06:40
speeder39_ has quit [Quit: Connection closed for inactivity]
06:56
_whitelogger has joined #pypy
07:31
jacob22 has quit [Read error: Connection reset by peer]
07:34
jacob22 has joined #pypy
07:44
jvesely has quit [Quit: jvesely]
07:59
_whitelogger has joined #pypy
09:26
<
kenaan >
mattip default cad029326210 /: fix curses tests and make sure ffi.string returns str for python3
09:26
<
kenaan >
mattip py3.6 aefd6cf46eed /lib_pypy/_curses.py: merge default into branch
09:26
<
kenaan >
mattip py3.6 9265d2b9cef6 /: fix _curses for py3.6
10:13
<
kenaan >
mattip py3.6 39898aeb2799 /lib-python/3/venv/__init__.py: issue 3159: venv should copy directories, not just files
11:01
xcm has quit [Remote host closed the connection]
11:02
xcm has joined #pypy
11:24
Ai9zO5AP has quit [Ping timeout: 240 seconds]
11:28
Ai9zO5AP has joined #pypy
12:14
pepesza has quit [Ping timeout: 265 seconds]
12:18
Ai9zO5AP has quit [Quit: WeeChat 2.5]
12:24
dddddd has joined #pypy
12:34
speeder39_ has joined #pypy
12:35
dddddd_ has joined #pypy
12:37
dddddd has quit [Ping timeout: 265 seconds]
12:37
dddddd_ is now known as dddddd
13:08
pepesza has joined #pypy
13:29
rindolf has joined #pypy
13:42
<
mattip >
what is primesieve?
13:47
jacob22 has quit [Read error: Connection reset by peer]
13:50
jacob22 has joined #pypy
13:54
<
simpson >
This gives me ~10s with CPython and ~9s with PyPy.
14:15
<
rindolf >
mattip: yes, it is on pypi
14:15
<
rindolf >
simpson: thanks, let me see
14:18
<
mattip >
primesieve is a cython wrapper around c++ code. The calls will be slow through pypy
14:18
<
rindolf >
mattip: ah
14:20
<
simpson >
I didn't time how much time is spent in C++. It seems like a lot of work is done in Python.
14:22
<
mattip >
what does primesieve.primes(sqmax) return? If it is a numpy array the whole thing is using numpy calls
14:26
<
rindolf >
mattip: it returns a list
14:34
<
rindolf >
mattip: no, it returns an array.array
14:53
<
rindolf >
simpson: i timed your version and it was slower than my original one
14:54
<
simpson >
rindolf: Oh well. Happy to be wrong. I wonder whether a better data structure for the work queue would yield better results.
14:55
<
rindolf >
simpson: ah
14:55
<
rindolf >
simpson: well, pypy was faster there but still slower than cpython3 in my original code
15:03
lritter has joined #pypy
15:33
jvesely has joined #pypy
15:41
jvesely has quit [Ping timeout: 265 seconds]
16:03
speeder39_ has quit [Quit: Connection closed for inactivity]
16:11
epony has quit [Remote host closed the connection]
17:58
jacob22 has quit [Read error: Connection reset by peer]
18:02
jacob22 has joined #pypy
18:07
xcm has quit [Read error: Connection reset by peer]
18:08
xcm has joined #pypy
18:19
jcea has joined #pypy
19:17
jvesely has joined #pypy
20:13
xcm has quit [Killed (orwell.freenode.net (Nickname regained by services))]
20:14
xcm has joined #pypy
20:47
mwhudson has joined #pypy
20:47
mwhudson has quit [Changing host]
20:47
mwhudson has joined #pypy
20:52
xcm has quit [Remote host closed the connection]
21:00
xcm has joined #pypy
21:50
dansan has quit [Excess Flood]
21:50
dansan has joined #pypy
22:08
jcea has quit [Remote host closed the connection]
22:08
jcea has joined #pypy
22:09
jacob22 has quit [Read error: Connection reset by peer]
22:13
jacob22 has joined #pypy