← Back to team overview

graphite-dev team mailing list archive

Re: [Question #197816]: Mass ReSize of Metrics

 

Hey Bryant,
Not sure if attachments work via the mailing group but i've attached a
multithreaded version of whisper-resize that works with directories.

If not email me directly at my gmail account and I'll send it over to you.
Please do perform some testing just to be safe. this is not part of the
mainline whisper project at the moment.
I've used it on my end without issue, but just the normal warnings.




On Sat, May 19, 2012 at 4:11 PM, Nicholas Leskiw <
question197816@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Question #197816 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/197816
>
>     Status: Open => Answered
>
> Nicholas Leskiw proposed the following answer:
> Have you tried carcass with -n X --max-procs=Y where X is the number of
> processes to spawn and Y is the number of processors to utilize?
>
> bhardy <question197816@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Question #197816 on Graphite changed:
> >https://answers.launchpad.net/graphite/+question/197816
> >
> >    Status: Needs information => Open
> >
> >bhardy gave more information on the question:
> >My goal was to use a top-level tree under which resided all the metrics
> >I needed to change.  I hoped to issue one command to batch update files.
> >I have used subsets (lower directories) just to get timings.
> >
> >I have tried various invocations of parallel (below) including no "-j"
> >at all and none seem to have much benefit over old exec/find.  You can
> >ignore the "time" option passed on my command line as I was simply
> >testing to get timings and forgot to remove it when I posted this
> >question.
> >
> >-j500
> >-j1000
> >-j0
> >--max-procs=8
> >
> >--
> >You received this question notification because you are a member of
> >graphite-dev, which is an answer contact for Graphite.
> >
> >_______________________________________________
> >Mailing list: https://launchpad.net/~graphite-dev
> >Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> >Unsubscribe : https://launchpad.net/~graphite-dev
> >More help   : https://help.launchpad.net/ListHelp
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>



-- 


Chris Brinley
Cleartrial

e: cbrinley@xxxxxxxxxxxxxx
p: 312-460-3038
m: 219-789-2811

Attachment: whisper-resize.py
Description: Binary data


Follow ups

References