Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Don't use pinned memory for gossip and repair responses #17832

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

sakridge
Copy link
Contributor

@sakridge sakridge commented Jun 8, 2021

Problem

Reports of excessive GPU memory usage and errors from cudaHostRegister

Summary of Changes

Don't use pinned memory when unnecessary.

Fixes #17775 #17304

@sakridge sakridge changed the title Don't use pinned memory for gossip responses Don't use pinned memory for gossip and repair responses Jun 8, 2021
@sakridge sakridge force-pushed the gossip-no-pinned branch 2 times, most recently from 87b91f0 to 8fea66e Compare June 8, 2021 15:47
@sakridge sakridge requested review from behzadnouri and carllin June 8, 2021 17:46
@mvines mvines added the v1.7 label Jun 8, 2021
@mvines
Copy link
Contributor

mvines commented Jun 8, 2021

(nice, definitely want a 1.7 backport. Maybe we don't want 1.6 just yet...)

Reports of excessive GPU memory usage and errors
from cudaHostRegister. There are some cases where pinning is
not required.
@sakridge sakridge force-pushed the gossip-no-pinned branch from 8fea66e to c2df65c Compare June 9, 2021 21:36
@codecov
Copy link

codecov bot commented Jun 10, 2021

Codecov Report

Merging #17832 (c2df65c) into master (60024d1) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #17832   +/-   ##
=======================================
  Coverage    82.7%    82.7%           
=======================================
  Files         433      433           
  Lines      120681   120700   +19     
=======================================
+ Hits        99901    99928   +27     
+ Misses      20780    20772    -8     

@sakridge sakridge merged commit eeee75c into solana-labs:master Jun 14, 2021
@sakridge sakridge deleted the gossip-no-pinned branch June 14, 2021 14:10
mergify bot pushed a commit that referenced this pull request Jun 14, 2021
Reports of excessive GPU memory usage and errors
from cudaHostRegister. There are some cases where pinning is
not required.

(cherry picked from commit eeee75c)
mergify bot added a commit that referenced this pull request Jun 14, 2021
Reports of excessive GPU memory usage and errors
from cudaHostRegister. There are some cases where pinning is
not required.

(cherry picked from commit eeee75c)

Co-authored-by: sakridge <sakridge@gmail.com>
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
sakridge added a commit to sakridge/solana that referenced this pull request Sep 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

when use cuda , validator node error
3 participants