Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2005 09:42:28 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   smbfs small read tuning?
Message-ID:  <200511070942.41964.kirk@strauser.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I have an application that makes hundreds of thousands of small read()s (a 
few hundred bytes each time).  If I run it directly on files on an smbfs 
mount, the runtime is on the order of an hour.  If I copy the files to my 
local hard drive first and then run it, the total copy + run time is on the 
order of four minutes.

The mount_smbfs(8) man page doesn't mention anything about tuning and I'm 
not sure where else to look.  Is there a way to enable some kind of 
read-ahead cache or otherwise trade some memory or CPU for a speed boost?
-- 
Kirk Strauser

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iD8DBQBDb3Xx5sRg+Y0CpvERAq/+AJ9S9YK4WT0NzOxPnRMhYjgo0kg62QCgjJu+
C4jXBebtlOoSBcvvdsXpBgU=
=64RY
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511070942.41964.kirk>