[ 
https://issues.apache.org/jira/browse/GIRAPH-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105004#comment-13105004
 ] 

Jake Mannix commented on GIRAPH-28:
-----------------------------------

Ok another patch coming soon for this, but good news:  this is the output of 
the object size calculator now:
(key: Primitive is what Dmitriy put in that test code, LDFD is a trivial class 
which extends the new LongDoubleFloatDoubleVertex class, and shows exactly the 
same memory as this)

Tiny:           0       840
Object:         0       872
Primitive:      0       4536
LDFD:           0       4536
Tiny:           1       840
Object:         1       976
Primitive:      1       4536
LDFD:           1       4536
Tiny:           10      840
Object:         10      1912
Primitive:      10      4536
LDFD:           10      4536
Tiny:           100     2640
Object:         100     11272
Primitive:      100     4536
LDFD:           100     4536
Tiny:           1000    16080
Object:         1000    104872
Primitive:      1000    46784
LDFD:           1000    46784
Tiny:           10000   123600
Object:         10000   1040872
Primitive:      10000   302000
LDFD:           10000   302000

> Introduce new primitive-specific MutableVertex subclasses
> ---------------------------------------------------------
>
>                 Key: GIRAPH-28
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-28
>             Project: Giraph
>          Issue Type: New Feature
>          Components: graph
>    Affects Versions: 0.70.0
>            Reporter: Jake Mannix
>            Assignee: Jake Mannix
>         Attachments: GIRAPH-28.diff, GIRAPH-28.diff
>
>
> As discussed on the list, 
> MutableVertex<LongWritable,DoubleWritable,FloatWritable,DoubleWritable> (for 
> example) could be highly optimized in its memory footprint if the vertex and 
> edge data were held in a form which minimized Java object usage.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to