From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 15 20:10:46 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 64EC0E81 for ; Tue, 15 Jan 2013 20:10:46 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by mx1.freebsd.org (Postfix) with ESMTP id EB5F632C for ; Tue, 15 Jan 2013 20:10:45 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id ep20so600381lab.32 for ; Tue, 15 Jan 2013 12:10:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ETpROWYcajYmA57wgCaeouZmN/iykDZ6jZ+geBaozLo=; b=uF848fTmAYwtMFzW7hAug2P1IWViIXPtVStFJxpPMcRIUDCUr3od5FA1MQw5eoto6X pP81kx+JwrQOchcmBKPKFBrbCKFxlt85yNYWP8hfDTEq7R+U41VuuKamH1893p3FtVDN MzdkKIJHFhj+/FhZP1AQCtALVzFmjURgKcKBI8A7/INKZ45EXI5X5yVM0dnqjrM2ZeRn sf5GdEojfDt5A798KDqCmDwon0DUDLsQf1V7rxOJLncMDVSQJvWZsfErhJkJ0+6bISQl CUKY43431ySnuHIgzWERQ9R0tDDcAYII3u5Vy71oobxHm2iZ3WdXRBqJA5kqbSmk6mSO U+9w== MIME-Version: 1.0 Received: by 10.152.125.237 with SMTP id mt13mr87348565lab.45.1358280639287; Tue, 15 Jan 2013 12:10:39 -0800 (PST) Received: by 10.114.81.40 with HTTP; Tue, 15 Jan 2013 12:10:39 -0800 (PST) In-Reply-To: <50F5B781.4070501@rawbw.com> References: <50F5B781.4070501@rawbw.com> Date: Tue, 15 Jan 2013 12:10:39 -0800 Message-ID: Subject: Re: Is there a way to prioritize disk operations ? From: Freddie Cash To: Yuri Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 20:10:46 -0000 man gsched On Tue, Jan 15, 2013 at 12:09 PM, Yuri wrote: > Currently one can set nice value to the process. But it only affects the > CPU scheduling, so if this process is CPU bound it would yield to others. > What if the process is disk-bound, like some backup operations? The backup > copying large disk seriously affects performance of all other apps > accessing the same disk. > > Is there a way to set the priority value on the process for the disk > operations, so that all disk operations originating from the process will > be scheduled in similar way how CPU is scheduled based on the nice value of > the process? The disk-intense backup process with low disk priority won't > affect the other processes at all. > > Yuri > ______________________________**_________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@** > freebsd.org " > -- Freddie Cash fjwcash@gmail.com