Sat 23 Jan 2016 04:54:09 PM UTC, comment #2:
Dear Rik,
real 0m6.053s
user 0m5.617s
sys 0m0.116s
real 0m0.090s
user 0m0.072s
sys 0m0.016s
Thanks for the hint using "-f".
I found ppa:octave/stable leading to v. 4.0.0.
Indeed, there the error is gone, now I get 0.22s real time,
that's perfect. Strace now gives a pretty short output,
the futexes seem to be replaced by rt_sigaction.
In summary, the problem is solved in 4.0.0.
Thanks for your help and I apologize for any inconvenience,
Peter
|
Sat 23 Jan 2016 03:58:35 PM UTC, comment #1:
First, version 3.8.1 is ancient and no longer supported. Unless you can replicate this on the current stable version (4.0.0) there's not much to be done.
Second, try a simpler test case. Create a file called "stop.m" with the single command
and then run
For reference, this took 0.6 seconds of wall time on my computer.
Also, try bypassing any initialization files you may have by running with the '-'f switch.
This saved about 25% in my case.
|
Sat 23 Jan 2016 11:26:31 AM UTC, original submission:
Dear All,
I suffering a long initialization time of octave,
it's only about 5s to 6s but it's annoying if you use
octave in batch scripts calling it hundreds of times.
It tried to investigate this using strace and realized, that
octave is looking at lots of java related files:
However, the real delay is seems to come from time outs of futex requests:
typically looking like
I didn't attached the complete strace output, as it's 2.4 MB long.
I'm runnin kubuntu:
lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Any help would be highly appreciated,
best regards,
Peter
|