Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261442AbVDEDwP (ORCPT ); Mon, 4 Apr 2005 23:52:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261441AbVDEDwP (ORCPT ); Mon, 4 Apr 2005 23:52:15 -0400 Received: from mustang.oldcity.dca.net ([216.158.38.3]:34730 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S261477AbVDEDvi (ORCPT ); Mon, 4 Apr 2005 23:51:38 -0400 Subject: ext3 allocate-with-reservation latencies From: Lee Revell To: Ingo Molnar Cc: linux-kernel , Andrew Morton Content-Type: multipart/mixed; boundary="=-ZiIQxsOKAYDCL0VA/hWH" Date: Mon, 04 Apr 2005 23:51:34 -0400 Message-Id: <1112673094.14322.10.camel@mindpipe> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5468 Lines: 93 --=-ZiIQxsOKAYDCL0VA/hWH Content-Type: text/plain Content-Transfer-Encoding: 7bit I can trigger latencies up to ~1.1 ms with a CVS checkout. It looks like inside ext3_try_to_allocate_with_rsv, we spend a long time in this loop: ext3_test_allocatable (bitmap_search_next_usable_block) find_next_zero_bit (bitmap_search_next_usable_block) find_next_zero_bit (bitmap_search_next_usable_block) ext3_test_allocatable (bitmap_search_next_usable_block) find_next_zero_bit (bitmap_search_next_usable_block) find_next_zero_bit (bitmap_search_next_usable_block) etc. Lee --=-ZiIQxsOKAYDCL0VA/hWH Content-Disposition: attachment; filename=ext3_reservation.bz2 Content-Type: application/x-bzip; name=ext3_reservation.bz2 Content-Transfer-Encoding: base64 QlpoOTFBWSZTWQhDe3QAtQb/gHT+EABob//3SEpfBL9v//RgFN6+3xVSAAAAJu1vnxcWMzEgqRVF UKFAoPd4AAUFwAAABuElJp6m00k9TUT0RtJ6gYgAAaBppoADUqnv020UqUKAAAAAAAAAAGVJvNGV RUGgNAaAAAAAwmmh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Re3mxjGMSEmDNpIK5dsRQxnm2xYdoCtcuVQrPFAQjs4a1s1RVDp6qWiutBACEbn7ElxdG+ie 5Hkx3zLz45dk1dOugky5eRaclkbAKw75nZ678ltdO6KSeckk+Hws0Emu3CiSdma4z3aerRBWR32D nAV+3awQr1dsCtWbGlkgocYFab3VhsaGUCtc2mWhtejcgk1N9vykpGyxvGHGhTxOTn+HL7Jd8+I3 ybx0nSk3+c61nWtK1edQtkszMyZTLcty5kyzLmXLJbMpluWlsyhbJZmV22WTKZaWyWZldtyhbMoW zKFsyhbMploSTAJZlMty3LS2ZTLS2ZQtmUy3LS2ZQtmULZlC2ZQtmXMuSS2SyZQtzLlttzK7blC2 ZQtmUCSYGS5aWzKBJMAlksksmULZlMtLZlMtLZLJLJlC2SySyZTLS2ZQJJgEsymWlvQ7jdLMplpb JZMo9+00bYto2ttbW2trbWFW0AdpILaAOuyCr1bteuEjKC11tba2q62q6a6WBRgWC2g1tra21tba 2tu0Ktowq2gFW0Gq62ttGtu0KtowdpILaDW3aDtIC2gDtJBbQB2kgtoNbawq2g1trB12QW0YO0kF tYFW0YVbQ1u0FtGDtJGUkY7ILaMHaSC2g1tra27Qq2jCqtru10q2g1trCraDW2sHXZBbRhVtBrbW 1V2t7XaCrHrpYLaAVbQB2kgtoNV166WC2hrpQW0GttYVbQa21hVtAHaSC2sCraMKqw10sY7JJVGD W10KqjW6ttAddkkq2AFVYNbaBVWGugmuxt12kjKSC2gFW0Aq2g1trCraAVbQCraAO0kZSQW0GttY VbWBVtGDrsgtowdpILaDVdFW6FW0GttbW2sKtoBVtBrbWDpi+aLVO5Ln4n0uJJcXF+KvmPBd/xdC ST13ebbYNjDOISeGtwtAABdYZnnwccGJJxk/4u5IpwoSAQhvboA= --=-ZiIQxsOKAYDCL0VA/hWH-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/