Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
- X-seq: zsh-users 21087
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zsh slow and hogs cpu when using */*/*.ext on large file tree
- Date: Sat, 12 Dec 2015 18:03:38 +0100
- 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==
- In-reply-to: <566C4EA6.5050704@gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <566B1D81.2090106@gmail.com> <CAKc7PVCWwtjgrT3UC1X7a7DkD7KXS02SdDwbA7Zu66fw_SDrKw@mail.gmail.com> <566C4623.1020205@gmail.com> <CAKc7PVDKGkNqt=Q=rpLUS76wE8vsZmAWCSyQtvXVnPuFtOe5DA@mail.gmail.com> <CAKc7PVBubv+hUDakCfJoypXDTx=WMA6Qm8qE-nFrSTQKhEzGzg@mail.gmail.com> <566C4EA6.5050704@gmail.com>
On 12 December 2015 at 17:43, Piotr Karbowski <jabberuser@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author