Date: Tue, 02 Jun 2009 19:12:26 -0400 From: Steve Bertrand <steve@ibctech.ca> To: Glen Barber <glen.j.barber@gmail.com> Cc: "freebsd-questions@freebsd.org Questions -" <freebsd-questions@freebsd.org> Subject: Re: Set task priority Message-ID: <4A25B1DA.10201@ibctech.ca> In-Reply-To: <4ad871310906021609y4b85025bwe16346b824df7bf3@mail.gmail.com> References: <4A25B029.1030608@ibctech.ca> <4ad871310906021609y4b85025bwe16346b824df7bf3@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Glen Barber wrote:
> Hi Steve
>
> On Tue, Jun 2, 2009 at 7:05 PM, Steve Bertrand <steve@ibctech.ca> wrote:
>> Hi everyone,
>>
>> I'm attempting to "mysqldump" a database on a box that is hovering near
>> max CPU and mem usage.
>>
>> When I run the command, other critical programs fail to respond causing
>> an 'outage-like' situation.
>>
>> Normally, this is a time-of-day task and will run happily later into the
>> night, but I want to run it now.
>>
>> What is the best way to set priority on my task in order to ensure it
>> completes as quickly as possible, but does not cause a situation where
>> other programs and their children can't respond?
>>
>
> You can use nice(1) or renice(1) to set priorities, but I/O and
> bandwidth will end up being your bottleneck.
Thanks Glen,
I'll have to play around a bit. Looking closer, it does appear to be a
disk I/O issue, but I figured that if I tried to prioritize the job, it
might ease-up on all system aspects.
Cheers,
Steve
[-- Attachment #2 --]
0 *H
010 + 0 *H
00CK9AbxIUw0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10 *H
steve@ibctech.ca0"0
*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|t ݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(G C^K6XV4j<t -0+0U0steve@ibctech.ca0U0 0
*H
æ|85aQz-*3HG .s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1 n00CK9AbxIUw0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090507231610Z
100507231610Z0B10UThawte Freemail Member10 *H
steve@ibctech.ca0"0
*H
0
DZ杙<2IⵀfrsE6q?0.>
S@Œ!V?A\Q
r-aZ
Ōf/0{OYQhɏߴ
F_\Q0BF=<_.a*3epeY|t ݼcvlҷ+@piQA{2E9WN4[Z`h6VM/zPbd(G C^K6XV4j<t -0+0U0steve@ibctech.ca0U0 0
*H
æ|85aQz-*3HG .s*Fw*`HvFw;9ytƘn0taC/:WC+LÙ{Oq 1 n0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0 + 0 *H
1 *H
0 *H
1
090602231226Z0# *H
1v>FUqFt0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +71x0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0*H
1xv0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAK9AbxIUw0
*H
Q(}:_6k%,^@8^7;]<V$E>\}u!ofQKmg{QO\upkr '/|Q>WV<ol'ZstXHl=TU.GA- C,ὌtąLYqk}5O?&8QY?`.ڔ,\]O 6BP7
r5n8ci89gooSQ/xa=F
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A25B1DA.10201>
