[FieldTrip] ft_statistics_montecarlo runs slow under ubuntu 13.10

berry van den berg berryv.dberg at gmail.com
Mon Jan 20 17:45:30 CET 2014

Ok, I dove a bit deeper into the problem, using the matlab profiler I was
able to pinpoint the problem to ft_hastoolbox.m called by findcluster.m,
and specifically the functions fileparts and exist.... Copy pasting those
two functions to ft_statistics_montecarlo solves the issue for me for now.

The problem seems to be that matlab accessing my filesystem runs slow under
linux compared to windows.. I have no idea why and how to solve it but it
is not related to fieldtrip. If anyone has suggestions what this might be I
would be glad to hear them!


On 16 January 2014 17:11, berry van den berg <berryv.dberg at gmail.com> wrote:

> Dear Fieldtrip experts,
> This might be an odd question, but maybe someone has an idea where to
> start.
> I just got a fancy new laptop (gigabyte p34g) and dual boot with ubuntu
> and windows. I usually work in Ubuntu for analysis, so I ran a time freq
> statistics analysis and noticed that ft_statistics_montecarlo runs
> extremely slow under Ubuntu.... In windows it runs at normal speed. The
> difference is huge, 97 seconds vs, 2 seconds for 100 iterations, 24
> subjects.
> Speed also doesnt seem influenced by averaging over freq or/and time, it
> is just slow.
> It is not the cpu clock speed (ubuntu nicely utilizes turbo mode, running
> max 3ghz), the cpu is not fully utilized though (only 30 percent or so)...
> I run matlab 2013b, fieldtrip 20140115
> Specs are
> 8gb ram; only 4gb utilized.
> 4700HQ cpu
> Any ideas, because I am clueless
> Cheers,
> --
> Berry van den Berg
> berryv.dberg at gmail.com

Berry van den Berg
berryv.dberg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140120/a43f5c86/attachment-0002.html>

More information about the fieldtrip mailing list