summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-10-22 14:30:58 +0100
committerMike Snitzer <snitzer@redhat.com>2014-11-10 15:25:29 -0500
commitb155aa0e5a81ea1f05ff7aced0ec8e34c980c19e (patch)
tree56f73848b2e70f8a9eb4d97d51b742fc93c3ad0f /tools/perf/scripts/python
parent41abc4e1af369bb5438eaee398e3beee690cc8ca (diff)
downloadkernel-b155aa0e5a81ea1f05ff7aced0ec8e34c980c19e.tar.gz
dm cache policy mq: tweak algorithm that decides when to promote a block
Rather than maintaining a separate promote_threshold variable that we periodically update we now use the hit count of the oldest clean block. Also add a fudge factor to discourage demoting dirty blocks. With some tests this has a sizeable difference, because the old code was too eager to demote blocks. For example, device-mapper-test-suite's git_extract_cache_quick test goes from taking 190 seconds, to 142 (linear on spindle takes 250). Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
tr> 2008-04-17libata: kill ata_chk_status()Tejun Heo 2008-04-17libata: make reset related methods proper port operationsTejun Heo 2008-04-17libata: implement and use ops inheritanceTejun Heo 2008-04-17libata: implement and use SHT initializersTejun Heo 2008-04-17libata: implement and use ata_noop_irq_clear()Tejun Heo 2008-02-05iommu sg merging: sata_inic162x: use pci_set_dma_max_seg_sizeFUJITA Tomonori 2008-01-23libata: rename ATA_PROT_ATAPI_* to ATAPI_PROT_*Tejun Heo 2007-10-29[libata] Address some checkpatch-spotted issuesJeff Garzik 2007-10-29libata: implement ata_wait_after_reset()Tejun Heo 2007-10-12libata: implement and use ata_port_desc() to report port configurationTejun Heo 2007-10-12[libata] Remove ->port_disable() hookJeff Garzik 2007-10-12[libata] Remove ->irq_ack() hook, and ata_dummy_irq_on()Jeff Garzik 2007-10-12libata-link: linkify resetTejun Heo 2007-10-12libata-link: linkify PHY-related functionsTejun Heo 2007-10-12libata-link: introduce ata_linkTejun Heo 2007-08-31[libata] Bump driver versionsJeff Garzik 2007-07-20libata: make ->scr_read/write callbacks return error codeTejun Heo 2007-07-09[libata] Use ATA_UDMAx standard masks when filling driver's udma_mask infoJeff Garzik 2007-07-09[libata] drivers: remove 'void __iomem *' casts from pre-iomap daysJeff Garzik 2007-07-02sata_inic162x: disable LBA48 devicesTejun Heo