Hi Manish,
On Sep 26, 2012, at 11:27 AM, khm wrote:
> I have a performance problem while reading the attributes from an hdf file..
> it seems it takes almost 1.5 minutes to read attributes(10 each) from about
> 18000 groups/datasets .. hoping somebody can tell me if this is a reasonable
> time indeed for such a structure...
> the hdf file has some 300 groups under root
> each of these 300 groups(T) have about 60 subgroups(V) and each of these 60
> subgroups have 1 or 2 datasets(D)
>
>
> Root
> ----- T1
> ----- V1
> ----- D
>
> ----- V60
> ---- D
>
> ....
> ....
> ....
> ----- T300
>
> at each level I am reading max 10 tiny attributes..
>
> does reading each group mean mostly a new disk seek? any suggestions for
> improving performance ?
Hmm, are you keeping the object open when reading all the attributes on
it?
Quincey
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org