Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 13:02:40 +0100
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: zfs, mc, mcview and files opening
Message-ID:  <FD651EA8-D7BF-43F5-96B5-A7EC7C494F53@punkt.de>
In-Reply-To: <5641DB05.7050209@norma.perm.ru>
References:  <5641BFC8.9050207@norma.perm.ru> <alpine.BSF.2.20.1511101102340.22820@mail.fig.ol.no> <5641DB05.7050209@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_E42903BF-E25B-4398-BB1F-7A4EA8A77155
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi, all,


> Am 10.11.2015 um 12:54 schrieb Eugene M. Zheganin <emz@norma.perm.ru>:
>=20
> Hi,
>=20
> on 10.11.2015 15:05, Trond Endrest=F8l wrote:
>> I blame file(1), it's hopelessly slow. mcview uses file(1) to deduce
>> if it should just display the damn file or run the file through some
>> filter. Maybe an option in mc/mcview to disable the use of file(1) is
>> an acceptable compromise.
> Yeah, you seem to be right. /usr/bin/time -h file /var/log/maillog =
gives
> same time of 37-40 seconds to process the file.
> The main answer is now why file(1) is that slow ? I tested it on files
> of about same size and UFS - there's no lag at all.
>=20
> Is it worth to report this in bugzilla ?

Could it be this problem you are experiencing?

=
http://freebsd.1045724.n5.nabble.com/file-1-command-very-slow-td6037309.ht=
ml

Kind regards,
Patrick
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info@punkt.de       http://www.punkt.de
Gf: J=FCrgen Egeling      AG Mannheim 108285


--Apple-Mail=_E42903BF-E25B-4398-BB1F-7A4EA8A77155
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWQdzgAAoJEJBvLuLt2olcLicH/in0sV2m4lgdSUcNcVx8r7+Q
ldi30NptiUAamwWl57hBz0aNKUoP2ICfMJiHb3vENRnfmHnJ+0S5uxovkxJ5LLX4
UmhD/DEVlI0j2TnqF9HVhCeULb1O1ke+xNQnOCgzVkQz3HqZ5vAY9ZpHVHaCT9AL
2cLuMDf2z3RAGiaQSxUob2/T/dld5gE8+n1/QaR2rQMKLWOEpkhoWANNGDS1MXYb
KwdqhDh+Qn3kGJ4sqMlIfaF0luQEWFCsd9iXvFa8G2aCMURe8mOXvMqxi62Bziwl
C189YkxdDQKi8Z6/WYbkNfFzq0nbdFbp3SzAe6w/vh8EN+ivVhwmCGu8pHxVizI=
=uEhe
-----END PGP SIGNATURE-----

--Apple-Mail=_E42903BF-E25B-4398-BB1F-7A4EA8A77155--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD651EA8-D7BF-43F5-96B5-A7EC7C494F53>