Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Baptiste Daroussin
On Fri, Nov 13, 2015 at 12:36:29PM +1100, Kubilay Kocak wrote: > On 13/11/2015 6:26 AM, Vladimir Bogrecov wrote: > > Hello, > > > > I'm developing a little project on Python 3.5. The server's operating > > system is FreeBSD 10.2. Today I decided to do a little test "just for fun" > > and the resul

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Mark Blackman
On 12 Nov 2015, at 19:35, Alfred Perlstein wrote: > > I'm adding Freebsd-virtualization to this thread as both problems point to > some possible issue with FreeBSD as a guest. (although a bare metal > comparison should likely be done as well). > > -Alfred > >> On 11/12/15 11:26 AM, Vladimir

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Konstantin Belousov
On Fri, Nov 13, 2015 at 09:01:57AM +0100, Baptiste Daroussin wrote: > On Fri, Nov 13, 2015 at 12:36:29PM +1100, Kubilay Kocak wrote: > > On 13/11/2015 6:26 AM, Vladimir Bogrecov wrote: > > > Hello, > > > > > > I'm developing a little project on Python 3.5. The server's operating > > > system is Fr

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Mark Blackman
> On 13 Nov 2015, at 08:08, Mark Blackman wrote: > >> On 12 Nov 2015, at 19:35, Alfred Perlstein wrote: >> >> I'm adding Freebsd-virtualization to this thread as both problems point to >> some possible issue with FreeBSD as a guest. (although a bare metal >> comparison should likely be don

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Bug ID: 204519 Summary: Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version Product: Ports & Packages Version: Latest Hardware: Any OS: Any

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Kubilay Kocak changed: What|Removed |Added Keywords||easy, needs-patch Assign

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 --- Comment #2 from Mathieu Arnold --- it should be given to portmgr for exp-run, why take it back ? -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-pytho

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Kubilay Kocak changed: What|Removed |Added Flags||exp-run? --- Comment #3 from Kubil

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 --- Comment #4 from Kubilay Kocak --- Also note, it's still within the Ports Framework component, and the change technically doesn't require portmgr approval. But certainly an exp-run is warranted for this kind of change -- You are receiv

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 --- Comment #5 from Mathieu Arnold --- (In reply to Kubilay Kocak from comment #3) > I can request an exp-run whilst being 'current responsible' (assignee) > > Having said that, if you want to create a patch and take it for an exp-run, > b

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Antoine Brodin changed: What|Removed |Added CC|freebsd-ports-bugs@FreeBSD. | |org

[Bug 204519] Mk/Uses/python.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Kubilay Kocak changed: What|Removed |Added Keywords||needs-qa --- Comment #6 from Kubil

[Bug 204519] Mk/bsd.default-versions.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Kubilay Kocak changed: What|Removed |Added Summary|Mk/Uses/python.mk: Set |Mk/bsd.default-versions.mk:

[Bug 204519] Mk/bsd.default-versions.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 Andrew Berg changed: What|Removed |Added CC||aberg...@my.hennepintech.ed

[Bug 204519] Mk/bsd.default-versions.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 --- Comment #8 from Kubilay Kocak --- @Andrew, is this a change (better/worse/same) in behaviour from 3.4 being the current 3.x default? -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug 204519] Mk/bsd.default-versions.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 --- Comment #9 from Andrew Berg --- (In reply to Kubilay Kocak from comment #8) It's the same. A port wants the py27-foo package because it needs 2.7, but the py34-foo package was built instead because 3.4 was the default and foo supports b

[Bug 204519] Mk/bsd.default-versions.mk: Set Python 3.5 as the default 3.x version

2015-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204519 --- Comment #10 from Kubilay Kocak --- So that would leave us in the net same position, except with 3.5 as the default version (which is the upstream recommendation: use the latest point release of a major version branch). Any poudriere/pk

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Alfred Perlstein
Vladimir , Please run truss(1) against the python code and paste a subset here. Maybe it is doing many semaphore ops. Sent from my iPhone > On Nov 13, 2015, at 12:49 AM, Mark Blackman wrote: > > Vladimir ___ freebsd-python@freebsd.org mailing list

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Alfred Perlstein
On 11/12/15 12:40 PM, Philip M. Gollucci wrote: Most likely its /dev/random or gettimeofday being slow which have nothing to do with Python. Urm... so like if FreeBSD's getpid was 100x slower than Linux's then what exactly would it be? If FreeBSD's implementation is needlessly precise (and

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread Alfred Perlstein
On 11/13/15 12:01 AM, Baptiste Daroussin wrote: I'm kind of surprised given the number of pythonic people we have that no one has had a look at how python perform on FreeBSD and how things are implemented in the python VM to help them. Bapt Did this recently in a few places however not in thi

Re: Python on FreeBSD is slower than on Linux

2015-11-13 Thread John-Mark Gurney
Alfred Perlstein wrote this message on Thu, Nov 12, 2015 at 11:35 -0800: > I'm adding Freebsd-virtualization to this thread as both problems point > to some possible issue with FreeBSD as a guest. (although a bare metal > comparison should likely be done as well). This could simply be a python