Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEX-3514 Implement persistent L2ARC #3744

Closed
kernelOfTruth opened this issue Sep 6, 2015 · 35 comments · Fixed by #9582
Closed

NEX-3514 Implement persistent L2ARC #3744

kernelOfTruth opened this issue Sep 6, 2015 · 35 comments · Fixed by #9582
Labels
Type: Feature Feature request or new feature

Comments

@kernelOfTruth
Copy link
Contributor

Reminder for using the persistent l2arc implementation from Nexenta

(there doesn't seem to be any activity related to that on Illumos ?)

Nexenta/illumos-nexenta@f0a9ee9 NEX-3514 Implement persistent L2ARC

Nexenta/illumos-nexenta@8872632 NEX-3514 Implement persistent L2ARC - fix build breakage in libzpool.

Nexenta/illumos-nexenta@9498bb1 NEX-3514 Implement persistent L2ARC - fix build breakage in libzpool (v2).

https://github.com/Nexenta/illumos-nexenta/commits/master?page=4

@grahamperrin thanks for pointing that out

references:

#2672 3525 persistent l2arc

#925 allow for persistent l2arc

@kerberizer
Copy link

illumos 3525 is now in code review.

@error10
Copy link

error10 commented Jul 15, 2016

This feature would be extraordinarily helpful to have. Is there something us mere mortals can do to help move this forward?

@kerberizer
Copy link

Indeed, it's been already 6 months since the last activity on the illumos code review request. My guess is that @skiselkov has simply been too busy with other, more pressing matters, but I do hope he'll eventually catch up on this too. Obviously, once the patch reaches reasonable maturity on illumos, someone would have to also port it to Linux. With my pathetic programming skills, I'm afraid I can't personally offer much help in terms of development, but once we reach that stage, I'd eagerly participate in the testing.

@skiselkov
Copy link
Contributor

@kerberizer Sorry I couldn't get to it so far, but it's definitely not dropped. We've been running this in Nexenta for a few months now and it seems working well, so it's really just a matter of me working on the changes requested by Matt and getting it into open-zfs (from which ZoL should get it naturally as part of upstreaming merging).

@cwedgwood
Copy link
Contributor

@behlendorf this is a duplicate of #925 - might want to merge/close as you think fit.

@behlendorf behlendorf added the Type: Feature Feature request or new feature label Feb 15, 2017
@behlendorf
Copy link
Contributor

@cwedgwood thanks for pointing this out. I'm closing #925 as a duplicate.

Updated progress at https://reviews.csiden.org/r/267/

@skiselkov
Copy link
Contributor

@ptx0 The work is ongoing. I'm currently focusing on getting TRIM upstreamed, pL2ARC will be next after that. TRIM is nearing the end of its protracted upstreaming effort, so it'll go in hopefully "Very Soon(tm)".

@jaesharp
Copy link

@skiselkov This appears stuck upstream on https://reviews.csiden.org/r/267. Hate to bother you, but do you have any context for the current state?

@kernelOfTruth
Copy link
Contributor Author

CC: @skiselkov @ahrens @lundman

@clefru
Copy link
Contributor

clefru commented Aug 26, 2017

I am offering a symbolic bounty of 0.025 BTC (~100$ at current price) for the committer of this feature expiring 2017/11/01. To claim, please mail me a BTC address.

@jaesharp
Copy link

jaesharp commented Aug 27, 2017

Interestingly, it appears the TRIM change they've blocked on has no pending open review issues (at least at https://reviews.csiden.org/r/263/) but the last update was months ago. Additionally, the TLS cert has expired... so, is that review site even in use? @skiselkov

@sienar1
Copy link

sienar1 commented Sep 30, 2017

Any updates on this feature?

@wolfgangwuerfl
Copy link

wolfgangwuerfl commented Oct 9, 2017

Are there any news/updates on this important feature? The community would really appreciate any status updates. Great to see ZFS on linux and thanks for your work!

@clefru
Copy link
Contributor

clefru commented Nov 23, 2017

I am happy to post a new (still only symbolic) bounty for the committer of this feature of 0.05 BTC (~400$ at current price). Thanks to @Rudd-O for sponsoring half. Expiry: 2018/02/01.

@mailinglists35
Copy link

has anybody tried work by @yshui ?
https://github.com/yshui/zfs/commit/2a65c1e3e08b423af5885459d0cf119212a2f8a8
does it still apply to current master?

@wolfgangwuerfl
Copy link

I just did a cherry pick and got 2 minor merge errors, but in module/zfs/arc.c the merge errors are plenty. Maybe @behlendorf or @skiselkov can give an update about when we can expect this killer-feature in zfsonlinux in the future. Thx.

@gf-mse
Copy link

gf-mse commented Mar 30, 2018

+1 on the waiting list )

@jumbi77
Copy link
Contributor

jumbi77 commented Apr 6, 2018

I am waiting too. @skiselkov I would like to ask you if you can give any updates about the progress? Above you said pers. l2arc is the next thing after TRIM, so do you have any timeline? Many thanks, we really appreciate your work!

@djkazic
Copy link

djkazic commented Jun 19, 2018

👍 this is a huge frustration for my usecase -- takes hours to warm the pool cache and persistent l2arc would be amazing.

@msLinuxNinja
Copy link

Bump for awareness, having persistent L2ARC will help considerably with use cases like homelab servers and office storage servers that get rebooted often. 😄

@drescherjm
Copy link

drescherjm commented Jun 27, 2018

I don't recall seeing any activity from @kernelOfTruth in some time. At least on github.

@yshui
Copy link
Contributor

yshui commented Jun 27, 2018

I think the current consensus is that we are waiting for illumos #3525 to be merged? @behlendorf

@gf-mse
Copy link

gf-mse commented Jun 28, 2018

By the looks of it, @ahrens did a code review "2 years, 7 months ago", then Saso ( @skiselkov ) resolved those issues, and then Matthew did a review again, "2 years 5 months ago", at which point the ball seems to be on Saso's side.

Probably it would help to port 3525 here under GitHub, although I'm not sure how essential that is.

PS. At that time @ahrens was of course the main reviewer, but not the only one -- see e.g. https://reviews.csiden.org/r/267/#comment690 and other comments by Sean Doran under r/267

@ahrens
Copy link
Member

ahrens commented Jun 28, 2018

@gf-mse That's my understanding as well.

@wolfgangwuerfl
Copy link

From what i have seen, @skiselkov isnt still any longer active in the openzfs (on linux) project.
For me it would be interesting when we can expect the feature in (hopefully near) future.

@skiselkov
Copy link
Contributor

@wolfgangwuerfl I'm around and I read all these messages. But I'm swamped with work on internal stuff that I don't have time to get this push finalized :( I want to make time some time soon, but I can't make promises. If there are any volunteers that would be willing to take the push over, I'd be happy to provide any info necessary.

@wolfgangwuerfl
Copy link

Thanks for the info and your amazing work, guess, i as i PHP Developer would be not much of a help ;-)

@gf-mse
Copy link

gf-mse commented Aug 15, 2018

@skiselkov I suppose passing over all the necessary information would cost more trouble than just doing it oneself. But if I can be of any help -- please let me know ( an experienced C programmer but zero acquaintance with ZFS code ); I suppose it is possible to delegate simple related tasks, if there are any.

@yshui
Copy link
Contributor

yshui commented Aug 15, 2018

@skiselkov I have previously made attempts on porting 3525 to ZoL (#2672, #1823). If there is anything I could do, just let me know.

@CySlider

This comment has been minimized.

@gf-mse

This comment has been minimized.

@gf-mse

This comment has been minimized.

@gf-mse

This comment has been minimized.

@gamanakis gamanakis mentioned this issue Nov 13, 2019
12 tasks
behlendorf pushed a commit that referenced this issue Apr 10, 2020
This commit makes the L2ARC persistent across reboots. We implement
a light-weight persistent L2ARC metadata structure that allows L2ARC
contents to be recovered after a reboot. This significantly eases the
impact a reboot has on read performance on systems with large caches.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Wilson <gwilson@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Saso Kiselkov <skiselkov@gmail.com>
Co-authored-by: Jorgen Lundman <lundman@lundman.net>
Co-authored-by: George Amanakis <gamanakis@gmail.com>
Ported-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #925 
Closes #1823 
Closes #2672 
Closes #3744 
Closes #9582
jsai20 pushed a commit to jsai20/zfs that referenced this issue Mar 30, 2021
This commit makes the L2ARC persistent across reboots. We implement
a light-weight persistent L2ARC metadata structure that allows L2ARC
contents to be recovered after a reboot. This significantly eases the
impact a reboot has on read performance on systems with large caches.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Wilson <gwilson@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Saso Kiselkov <skiselkov@gmail.com>
Co-authored-by: Jorgen Lundman <lundman@lundman.net>
Co-authored-by: George Amanakis <gamanakis@gmail.com>
Ported-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes openzfs#925 
Closes openzfs#1823 
Closes openzfs#2672 
Closes openzfs#3744 
Closes openzfs#9582
@icedream
Copy link

icedream commented May 1, 2022

@jittygitty This issue is already implemented and long closed, not sure why you are mentioning it here?

@jittygitty
Copy link

@icedream Apologies to anyone upset, was hoping it wouldn't be a nuisance. I had posted in a few tickets where "Bounty" had been discussed in a positive light, thinking there would be interest in participating in the crowd funding issue I linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Feature request or new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.