save -v7 problem

David Bateman dbateman at dbateman.org
Sun May 10 16:42:52 CDT 2009


Gunnar Rätsch wrote:
> Dear Octave-developers,
>
> I'm using octave 3.0.4 and have a problem when saving a structure  
> using save -v7:
>
> octave:4> load ~/tmp/save_problem.mat
> octave:5> tic; save('~/tmp/xxx3.mat', 'blocks') ; toc;
> Elapsed time is 0.502056 seconds.
> octave:6> tic; save('~/tmp/xxx3.mat', 'blocks', '-v7') ; toc;
> ... does not finish in reasonable time ...
>
> The file ~/tmp/save_problem.mat is 46M big and it shouldn't take an  
> hour or so to save the file.
> The file can be downloaded here: http://galaxy.fml.tuebingen.mpg.de/static/save_problem.mat.bz2
>
> This is a rare case, but for this file it always happens and may  
> create big performance bottlenecks.
>
> Cheers, Gunnar
>
>
>   

What is your default save format? Basically I wonder of the problem is 
the matlab file format in this case or the fact that the file is 
compressed with the -v7 option. Have you tried the -v6 option and see if 
the same issue occurs.. That will at least isolate the issue to the 
matlab file handling or the compression... I don't know when I'll have 
time to look at this issue further, but will if I get the time

D.



-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Bug-octave mailing list