[JBoss JIRA] (ISPN-8422) Investigate removal of hashCode from memory block and rely solely on equals
by William Burns (JIRA)
William Burns created ISPN-8422:
-----------------------------------
Summary: Investigate removal of hashCode from memory block and rely solely on equals
Key: ISPN-8422
URL: https://issues.jboss.org/browse/ISPN-8422
Project: Infinispan
Issue Type: Sub-task
Reporter: William Burns
Assignee: William Burns
Fix For: 9.2.0.Alpha2
We could remove the hashCode 4 bytes taking up space in the allocated memory block. Currently this is only used for eviction, maybe instead we could write a VInt that says which offset of locks to use. In majority of cases <= 64 cores this will result in saving 3 bytes per entry.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (ISPN-8409) Change off heap eviction to store everything in same allocated memory block
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8409?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8409:
--------------------------------
Status: Open (was: New)
> Change off heap eviction to store everything in same allocated memory block
> ---------------------------------------------------------------------------
>
> Key: ISPN-8409
> URL: https://issues.jboss.org/browse/ISPN-8409
> Project: Infinispan
> Issue Type: Sub-task
> Components: Off Heap
> Affects Versions: 9.2.0.Alpha1
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.2.0.Alpha2
>
>
> When eviction is enabled with off heap, we currently allocate an additional 28 byte lru node for every entry. We can instead include the lru information in the entry allocation, by changing slightly when memory is freed. This will allow for more entries to be inserted when eviction is enabled, and possibly additional performance.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (ISPN-8409) Change off heap eviction to store everything in same allocated memory block
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8409?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8409:
--------------------------------
Parent: ISPN-8418
Issue Type: Sub-task (was: Enhancement)
> Change off heap eviction to store everything in same allocated memory block
> ---------------------------------------------------------------------------
>
> Key: ISPN-8409
> URL: https://issues.jboss.org/browse/ISPN-8409
> Project: Infinispan
> Issue Type: Sub-task
> Components: Off Heap
> Affects Versions: 9.2.0.Alpha1
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.2.0.Alpha2
>
>
> When eviction is enabled with off heap, we currently allocate an additional 28 byte lru node for every entry. We can instead include the lru information in the entry allocation, by changing slightly when memory is freed. This will allow for more entries to be inserted when eviction is enabled, and possibly additional performance.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (ISPN-8420) Reuse eviction sizing when memory based eviction is enabled.
by William Burns (JIRA)
William Burns created ISPN-8420:
-----------------------------------
Summary: Reuse eviction sizing when memory based eviction is enabled.
Key: ISPN-8420
URL: https://issues.jboss.org/browse/ISPN-8420
Project: Infinispan
Issue Type: Sub-task
Reporter: William Burns
Currently entryRemoved and entryReplaced calculate the size for the entry twice. This is not needed when memory based eviction is enabled as it is the same value. Having a way to pass that down would help reduce reads on a write operation.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months