Re: HAMMER problems with ciss

看板DFBSD_kernel作者時間16年前 (2009/08/09 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/10 (看更多)
:Hm, Matt didn't you completely disable SYNCHRONIZE CACHE in 2.3? :I thought you did! May this results in performance degradation. : :Just my 5 cents :) : :Regards, : : Michael No, SYNCHRONIZE CACHE was only disabled for USB attachments in 2.3 (because most USB devices don't handle it). It is enabled in all other cases. I did find another problem which might be related. It turns out our bioqdisksort() was still starving requests. HAMMER is particularly vulnerable to this because it tends to lay out huge swaths of meta data before (or after) bulk data. UFS orders the two types of data too, but on a much smaller cluster-by-cluster basis. So with HAMMER large pipelined sequential writes can seriously starve other BIOs, sometimes for many seconds. In anycase, I just fixed it in head. It might or might not be related to that particular benchmark. I had already done a similar fix in the NATA driver but now with AHCI and SILI, which use CAM, I also had to fix the generic bioqdisksort() as well. Anything that fsync()'s is going to be nasty in HAMMER no matter what. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1AVVpdbe (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1AVVpdbe (DFBSD_kernel)