Hi, nice does only have an influence if there are 2 or more processes waiting for CPU-time. If the other processes are not using the cpu i would guess that they are waiting for I/O, or are ideling.
See http://en.wikipedia.org/wiki/Nice_%28Unix%29 for more details. Most Cyrus Processes are I/O bound and not CPU bound Regards Michael Menge Quoting "Fabio S. Schmidt" <fa...@improve.inf.br>:
Hi Jose ! Thanks for answering ! Your explanations are very appropriate and I couldn't agree more ! In fact, I'm just concerned if squatter causing a high load on a core even when running with nice 19 is the normal behavior, but I realize that it is more a question about Linux than Cyrus. -- My best regards, Fabio Soares Schmidt On 15 July 2014 16:19, Jose Luis Rodriguez Garcia <joseyl...@gmail.com> wrote:I am not a cyrux expert, but why are you worried that a core is loaded? It means that the core is working on the task. Does the performance of the server suffer because of this (response time to users, etc)? I think that monitor for detect a high load in a core isn't appropriate measure of performance. It can be useful for detected a hanged process that takes all your cpu, or historical usages of the cores, but not for other purposes. I think that it is more appropriate measure the total usage of cpu of the server. On Tue, Jul 15, 2014 at 6:58 PM, Fabio S. Schmidt <fa...@improve.inf.br> wrote:Thank you Bron ! Once I unfortunately do not have the knowledgement necessary to create this patch, I will adjust my configurations to run squatter at specific times and disable the CPU consumption trigger on my monitoring solution. Even if when running with nice 19 my squatter process causes a high load on the core which it's running, it this behavior normal? Thanks everyone for answering this thread, I know that my english is not so good but I'm trying to improve it ! -- My best regards, Fabio Soares Schmidt On 15 July 2014 03:03, Bron Gondwana <br...@fastmail.fm> wrote:Yes, all Cyrus processes are single threaded except mupdate. I don't think that running squatter on multiple cores would necessarily be an improvement - and regardless, it's not a priority for me to implement. We'd accept a patch if someone did it and it integrated with the other stuff that's floating around on the fastmail branch. Bron. On Tue, Jul 15, 2014, at 04:13 AM, Fabio S. Schmidt wrote: Hi ! I'm running Cyrus 2.4.14 on Debian 6 64 Bits and I've noticed that when squatter is running it only uses a single core. Has this behavior been improved on newer versions? Here is my entry: squatter_1 cmd="/usr/bin/nice +n 19 /usr/lib/cyrus/bin/squatter -s -i -r user" period=180 I do run it with "nice +19" but It causes a high load on the core it's running and triggers an alert on my monitoring solution. I know that this alert could be deactivated, but maybe I'm doing something wrong with squatter. -- My best regards, Fabio Soares Schmidt Linux Professional Institute - LPIC-3 Microsoft Certified Technology Specialist: Active Directory ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus -- Bron Gondwana br...@fastmail.fm ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
-------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de
Wächterstraße 76 72074 Tübingen
smime.p7s
Description: S/MIME Signatur
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus