[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie needs some help with setup
From: |
Ole Tange |
Subject: |
Re: newbie needs some help with setup |
Date: |
Sat, 7 Mar 2015 18:46:08 +0100 |
On Wed, Mar 4, 2015 at 11:51 AM, Chris <chris@juststicky.com> wrote:
> - GOAL: launch the php scripts in parallel on a single core, and remain
> below 10% CPU (AWS Free Tier) and below 1GB RAM utilization.
>
> My question is, what are the appropriate options to suit that goal? Based
> on the docs, this is what I'm guessing. Please give your opinion!:
>
> # parallel \
> --max-procs N \
> --semaphore \
No: --semaphore is used for 'sem'.
> --load 0.1 \ # not sure if this is for CPU or RAM, assume
> CPU. Need to "wait until CPU <= 9%" before launching next process
Yep.
> --memfree size \ # useful?
--memfree 100M
> --noswap \ # we do have a swap file, but performance is
> very slow
By using --memfree then --noswap should never have anyy effect.
> -a file_list.sh
/Ole