From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20570 invoked by alias); 12 Dec 2015 17:04:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21087 Received: (qmail 6796 invoked from network); 12 Dec 2015 17:04:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=CXDzaeZ5GMbZuASDIUYVQM0qMzrSwCU5bm7vBoKXgDI=; b=BhQm2idE1EhZujIRJGR0QJrO+jdKwiXM8gbB3aLnqDlkYz/Tfvou0Q617e5GzLel0G EN9E7Lys9CGYvWayKNPZXz6u8dyRztp2IzlNIoSIczwiAY11+qecbwevFHTQCN4cJDA0 dbyQOl3xbmNAV+EuK//PFeeHf2yRkEwqRHBJjoOyUrKzzv1my1PO8TWt8g+ibKmMcags 8tsAFx/VtZedkM7t9wsen66Clg5kW5E/M6vXZlQErXT6ILdQnzxGaLvX4IPwTi4Nd62P KnUUVh0fOPJAu00qHKDbBj1sPQV/381UZnt/T08hwEeB/Pycojj4V+cKQ7IyBIA3QMTd Jxbw== X-Received: by 10.112.150.135 with SMTP id ui7mr8722263lbb.53.1449939838195; Sat, 12 Dec 2015 09:03:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <566C4EA6.5050704@gmail.com> References: <566B1D81.2090106@gmail.com> <566C4623.1020205@gmail.com> <566C4EA6.5050704@gmail.com> From: Sebastian Gniazdowski Date: Sat, 12 Dec 2015 18:03:38 +0100 Message-ID: Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 On 12 December 2015 at 17:43, Piotr Karbowski wrote: > ... > Actually it does not seems that 5.1.1 is much slower than 5.2. My report was > wrong as the grep did not showed up for 20s as with first X files it wasn't > finding anyting, here I've tested with ls. > > But anyways, if I drop the VFS caches with `echo 3 > > /proc/sys/vm/drop_caches` before every test, the zsh 5.2 takes 5.546s and > bash 4.3.42 takes 3.295 thus we can presume that the VFS layer on ext4 > filesystem I run here takes about 3.0s, rest is within the userspace. I understand what you mean. With VSF optimizations Zsh was 5.546 - 3 = ~2.5, bash was 3.295 - 3 = 0.295. Could you provide such result for 5.1.1? With VFS warmed up and dropped, fresh? It's important for me as I worked on Zsh optimizations recently, with Bart who did all of the code. Best regards, Sebastian Gniazdowski