It seems reasonable to also collect data on the compressed file size on disk, 
I'll add this stat.

        -- lg


> On Sep 6, 2016, at 9:43 AM, Larry Gritz <[email protected]> wrote:
> 
> The OIIO stats are the *uncompressed* equivalent -- i.e., the amount of 
> texture data, not the file size.
> 
> 
>> On Sep 6, 2016, at 5:12 AM, Søren Ragsdale <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I'm looking at the OIIO logs for an OSL render:
>> 
>> OSL ShadingSystem statistics (0x5ab6360) ver 1.7.3
>> [...]
>> OpenImageIO ImageCache statistics (shared) ver 1.7.3dev
>> [...]
>>   Images : 1909 unique
>>     ImageInputs : 17441 created, 100 current, 470 peak
>>     Total size of all images referenced : 161.7 GB
>> 
>> The problem is that I've isolated the images I'm accessing into a single 
>> directory, and I'm getting very different numbers:
>> 
>> > du -c -s -h TEXBL_character_arm*
>> 65M  TEXBL_character_arm-cable_01_texture_default_v002
>> 151M TEXBL_character_arm-cable_01_texture_default_v005
>> 1.2G TEXBL_character_arm-muscles_texture_default_v020
>> 46G  TEXBL_character_arm_texture_default_v111
>> 48G  total
>> 
>> OIIO seems to be overstating 48 GB of textures as 161 GB.
>> 
>> I've double checked that there aren't any textures being accessed outside 
>> this directory. If anything, some of the textures in that directory should 
>> never be accessed so the 'du' total should be even larger.
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> 
> --
> Larry Gritz
> [email protected] <mailto:[email protected]>
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to