summaryrefslogtreecommitdiffstats
path: root/src/ceph/doc/dev/osd_internals/osd_throttles.txt
blob: 0332377efb60a6b054b4c85cae28b995e12db181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
                                                                                                   Messenger throttle (number and size)
         |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
                                                                     FileStore op_queue throttle (number and size, includes a soft throttle based on filestore_expected_throughput_(ops|bytes))
                                                                |--------------------------------------------------------|
                                                                                                                                                                   WBThrottle
                                                                                                                       |---------------------------------------------------------------------------------------------------------|
                                                                                                                                                                 Journal (size, includes a soft throttle based on filestore_expected_throughput_bytes)
                                                                 |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
                                                                                                                       |----------------------------------------------------------------------------------------------------> flushed ----------------> synced
                                                                                                                       |
Op: Read Header --DispatchQ--> OSD::_dispatch --OpWQ--> PG::do_request --journalq--> Journal --FileStore::OpWQ--> Apply Thread --Finisher--> op_applied ------------------------------------------------------------->  Complete
                                              |                                                                                                                                                                      |
SubOp:                                        --Messenger--> ReadHeader --DispatchQ--> OSD::_dispatch --OpWQ--> PG::do_request --journalq--> Journal --FileStore::OpWQ--> Apply Thread --Finisher--> sub_op_applied -
                                                                                                                                                                              |
                                                                                                                                                                              |-----------------------------> flushed ----------------> synced
                                                                                                                                                |------------------------------------------------------------------------------------------|
                                                                                                                                                                                        Journal (size)
                                                                                                                                                                              |---------------------------------|
                                                                                                                                                                                        WBThrottle
                                                                                                                         |-----------------------------------------------------|
                                                                                                                            FileStore op_queue throttle (number and size)