Project

General

Profile

Bug #20832

ARC larger than RAM ??

Added by Roland Reitberger over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Expected
Assignee:
Alexander Motin
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Xeon E3-1225v2 / 32GB DDR3-1600 ECC / 2x LSI 9211-8i /
2x 32GB SSD for system / 2x 60GB SSD for L2ARC

ChangeLog Required:
No

Description

Hello,

I recently updated to 9.10.2-U1.

Now the ZFS tab under reporting shows an ARC size of 72G.
But I have only 32GB of RAM installed.

How is that the ARC size is more than double of RAM size?

Regards
Roland

Screenshot1.PNG (77.9 KB) Screenshot1.PNG Roland Reitberger, 02/03/2017 07:20 AM
Screenshot2.PNG (85.2 KB) Screenshot2.PNG Roland Reitberger, 02/03/2017 07:20 AM
Screenshot3.PNG (47.3 KB) Screenshot3.PNG Roland Reitberger, 02/03/2017 11:26 AM
8853
8854
8857

Associated revisions

Revision 63ddefc6 (diff)
Added by avg over 4 years ago

l2arc: try to fix write size calculation broken by Compressed ARC commit While there, make a change to not evict a first buffer outside the requested eviciton range. To do: - give more consistent names to the size variables - upstream to OpenZFS PR: 216178 Reported by: lev Tested by: lev MFC after: 2 weeks git-svn-id: svn+ssh://svn.freebsd.org/base/head@314274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Ticket: #20832

Revision 63ddefc6 (diff)
Added by avg over 4 years ago

l2arc: try to fix write size calculation broken by Compressed ARC commit While there, make a change to not evict a first buffer outside the requested eviciton range. To do: - give more consistent names to the size variables - upstream to OpenZFS PR: 216178 Reported by: lev Tested by: lev MFC after: 2 weeks git-svn-id: svn+ssh://svn.freebsd.org/base/head@314274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Ticket: #20832

Revision 820180a4 (diff)
Added by avg over 4 years ago

l2arc: try to fix write size calculation broken by Compressed ARC commit While there, make a change to not evict a first buffer outside the requested eviciton range. To do: - give more consistent names to the size variables - upstream to OpenZFS PR: 216178 Reported by: lev Tested by: lev MFC after: 2 weeks git-svn-id: svn+ssh://svn.freebsd.org/base/head@314274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Ticket: #20832 (cherry picked from commit 63ddefc69961d9b2f077356e8cbdeb798931515c)

Revision 820180a4 (diff)
Added by avg over 4 years ago

l2arc: try to fix write size calculation broken by Compressed ARC commit While there, make a change to not evict a first buffer outside the requested eviciton range. To do: - give more consistent names to the size variables - upstream to OpenZFS PR: 216178 Reported by: lev Tested by: lev MFC after: 2 weeks git-svn-id: svn+ssh://svn.freebsd.org/base/head@314274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Ticket: #20832 (cherry picked from commit 63ddefc69961d9b2f077356e8cbdeb798931515c)

History

#1 Updated by Bonnie Follweiler over 4 years ago

  • Assignee set to Kris Moore

#2 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

Pics or it didn't happen!

System -> Advanced -> Save Debug (Or a Screenshot would be handy)

#3 Updated by Roland Reitberger over 4 years ago

8853
8854

Here are two screenshots: memory report and ZFS report

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Assignee changed from Kris Moore to William Grzybowski
  • Priority changed from No priority to Nice to have
  • Target version set to 9.10.2-U2

Very weird! Thanks for the pics, over to William for diagnosis.

#5 Updated by Roland Reitberger over 4 years ago

8857

Added my hardware config.

And I executed arc_summary.py, same values here, see screenshot.

#6 Updated by Lutz Reinegger over 4 years ago

Same or at least similar issue over here: https://bugs.freenas.org/issues/20589, and here https://bugs.freenas.org/issues/19953 on bugs.freenas.org.

There also bug reports on bugs.freebsd.org: See here https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216178 and here https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216364.

#7 Updated by William Grzybowski over 4 years ago

  • Assignee changed from William Grzybowski to Marcelo Araujo

Marcelo will look at that, he has a similar ticket.

#8 Updated by Marcelo Araujo over 4 years ago

  • Status changed from Unscreened to Screened

#9 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Status changed from Screened to Closed: Third party to resolve

FreeBSD is incorrectly reporting some stats from compressed ARC. Will need to be fixed upstream

#10 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 9.10.2-U2 to N/A

#11 Updated by Dru Lavigne over 4 years ago

Notes that there was a recent commit for this in HEAD: https://svnweb.freebsd.org/base?view=revision&revision=314274.

#12 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Status changed from Closed: Third party to resolve to Needs Developer Review
  • Assignee changed from Marcelo Araujo to Alexander Motin
  • Priority changed from Nice to have to Expected
  • Target version changed from N/A to 9.10.3

Thanks Dru! Pulled in that commit to stable/11 for 9.10.3, mav would you care to do the honors of a review? (Not that I don't trust upstream, but just for completeness sake)

#14 Updated by Alexander Motin over 4 years ago

  • Status changed from Needs Developer Review to Fix In Progress

This patch looks reasonable, but I am not sure it is related to ARC. It is more about L2ARC.

But I see another patch affecting ARC size waiting for merge to stable/11 nearest days: https://svnweb.freebsd.org/base?view=revision&revision=314913

#15 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Status changed from Fix In Progress to Resolved

https://github.com/freebsd/freebsd/commit/4abf750946193d96bed1aaab29a125e85f0581ce

It went in upstream and I've pulled it into freenas/11-stable. If the problem reoccurs after 4/2 nightlies please reopen.

#16 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 9.10.3 to 11.0

#18 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

Also available in: Atom PDF