Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41666 - [julia] startup time is very slow

Attached to Project: Community Packages
Opened by Wilfred Hughes (Wilfred) - Saturday, 23 August 2014, 15:13 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 24 August 2014, 21:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The Julia binary provided in the Julia package is very slow to start up. This isn't true when compiling from source, so I think there's something wrong with how we're packaging it.

Additional info:
* Julia package version 2:0.3.0-1

Steps to reproduce:

Using the Arch Linux package:
$ time julia -e 'println("Hello")'
Hello
julia -e 'println("Hello")' 3.42s user 0.07s system 75% cpu 4.623 total

Built from source:
$ time usr/bin/julia -e 'println("Hello")'
Hello
usr/bin/julia -e 'println("Hello")' 0.34s user 0.26s system 161% cpu 0.372 total

I'm on x86_64.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Sunday, 24 August 2014, 21:03 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Saturday, 23 August 2014, 15:18 GMT
The package is built from source: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/julia

Does it still take a long time when you build with the specified options?
Comment by Wilfred Hughes (Wilfred) - Sunday, 24 August 2014, 09:35 GMT
 FS#39721  mentions sysimg.so and sys.so being present can affect performance. Looking at strace, my compiled version is finding a sys.so file, whereas the package looks for sys.so but cannot find it.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 24 August 2014, 10:44 GMT
The problem is that Julia can't be compiled in a way that works for everyone while keeping the good performance. See  FS#39721  and  FS#40736 .
Comment by Alexander F. Rødseth (xyproto) - Sunday, 24 August 2014, 13:23 GMT
The sys.so file is removed for package installations where julia does not start when sys.so is present.
Please report any problems with sys.so or performance upstream to the julia developers.
See https://projects.archlinux.org/svntogit/community.git/tree/trunk/sysfix.install?h=packages/julia for how the current package deals with julia not working when sys.so is present.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 24 August 2014, 21:03 GMT
Closing as "upstream", since I don't consider this to be a packaging problem. Feel free to re-open this bug if there is anything that can be done on the packaging side.

Loading...