

dm crypt: offload writes to thread · torvalds/linux@dc26762 · GitHub
source link: https://github.com/torvalds/linux/commit/dc2676210c425ee8e5cb1bec5bc84d004ddf4179
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

offload writes to thread · torvalds/linux@dc26762 · GitHubPermalink
dm crypt: offload writes to thread
Submitting write bios directly in the encryption thread caused serious performance degradation. On a multiprocessor machine, encryption requests finish in a different order than they were submitted. Consequently, write requests would be submitted in a different order and it could cause severe performance degradation. Move the submission of write requests to a separate thread so that the requests can be sorted before submitting. But this commit improves dm-crypt performance even without having dm-crypt perform request sorting (in particular it enables IO schedulers like CFQ to sort more effectively). Note: it is required that a previous commit ("dm crypt: don't allocate pages for a partial request") be applied before applying this patch. Otherwise, this commit could introduce a crash. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Recommend
-
94
-
32
我们已经对eBPF将网络转发offload到XDP(eXpress Data Path)耳熟能详,作为Linux内核的一把 “瑞士军刀” ,eBPF能做的事情可不止一件,它是一个多面手。 继 ...
-
48
README.org
-
18
add post processing queue · torvalds/linux@cabf08e · GitHubPermalink
-
20
use io thread for reads only if mempool exhausted · torvalds/linux@20c8253 · GitHubPermalink
-
18
sort writes · torvalds/linux@b3c5fd3 · GitHubPermalink
-
11
Attention: gro会合并多个gso_size不同的包, 会将gso_size设置成第一个包的gso_size. http://www.pagefault.info/?p=159 GRO(Generic receive offload)在内核2.6.29之后合并进去的,作...
-
5
Dogecoin frenzy forces UK fund manager to offload $1.1-billion Bitcoin stash – HodlalertDogecoin frenzy forces UK fund manager to offload $1.1-billion Bitcoin stash...
-
12
Project Monterey and the need for Network Cycles Offload for ML Workloads.October 6, 2021...
-
3
Zillow buys too many houses, now looking to offload 7,000 homes in bulk Zillow buys too many houses, now looking to offload 7,000 homes in bulk A poorly timed buying frenzy By...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK