Displaying 20 results from an estimated 30000 matches similar to: "Improving Samba write performance on Linux"
2017 Oct 31
2
lld: sigbus error handling
Does FreeBSD have fallocate(2) or equivalent?
On Mon, Oct 30, 2017 at 4:32 PM, Ed Maste <emaste at freebsd.org> wrote:
> On 23 October 2017 at 18:49, Rui Ueyama via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> >>
> >> BTW, posix_fallocate() might provide better portability and decrease the
> >> likelihood of falling back on ftruncate().
> >
2018 Mar 29
1
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
On Thu, Mar 29, 2018 at 1:59 PM Richard W.M. Jones <rjones@redhat.com>
wrote:
> I found another problem which is sort of related to this thread. I
> hit a time-out waiting for the disk to be unlocked after creation:
>
>
> https://github.com/libguestfs/libguestfs/commit/8081f54105bd990233f166170890192c1fd7d1f3#diff-5ca47c29ae13efa3959b8b28cf4dbd31R112
> line 112
>
>
2007 Nov 05
13
preallocate CPU usage - pre4
When I use the preallocate patch and create a 77GB file using the function I
get a CPU spike on the server-side. The spike lasts about 20 minutes and
uses about 20%-25% of the cpu associated with the rsync instance creating
the file. The spike is directly linked to the time it takes to create the
file.
I compiled rsync using cygwin CVS. I initially suspected the implementation
of
2010 Feb 12
1
[RFC] add support for fallocate()
fallocate() is linux specific and will preallocate the space on disk for
the entire file. FALLOC_FL_KEEP_SIZE does not change the filesize as
reported by stat(). An aborted transfer will have preallocated disk space
which is not "visible" via stat(). This shouldn't matter unless the user
does complet his transfer.
An alternative would be to use ftruncate() and shorten the file to the
2017 Oct 23
2
lld: sigbus error handling
On Mon, Oct 23, 2017 at 3:40 PM, Brian Cain <brian.cain at gmail.com> wrote:
>
>
> On Mon, Oct 23, 2017 at 5:21 PM, Rui Ueyama via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> If your system does not support fallocate(2), we use ftruncate(2) to
>> create an output file. fallocate(2) succeeds even if your disk have less
>> space than the
2007 Aug 30
0
[ufs-discuss] statvfs change
Frank,
Please find comments in-line below...
All,
Note that I''ll be off-line for some doctor''s appointments part
of the day Friday and will be out of the country for a week starting
Saturday. So, I may be very slow responding to issues raised here for
a while.
Cheers,
Don
>Date: Wed, 29 Aug 2007 19:41:53 +0100 (BST)
>From: Frank Hofmann <Frank.Hofmann at
2023 Aug 18
1
Increase data length for SMB2 write and read requests for Windows 10 clients
On Fri, Aug 18, 2023 at 04:25:28PM +0000, Jones Syue ??? wrote:
>Hello Ivan,
>
>'FastCopy' has an option to revise max I/O size and works for SMB :)
>it is a tool for file transferring and could be installed to win10,
>download here: https://fastcopy.jp/
>
>This is an example for writing, a job would write a file named '1GB.img'
>from a local disk
2015 Jun 02
2
preallocation=full Vs preallocation=metadata
Hi All
I was reading through this:
http://kashyapc.com/2011/12/02/little-more-disk-io-perf-improvement-with-fallocateing-a-qcow2-disk/
I was basically searching for pointers on improving disk I/O.
I wanted to know the purpose of preallocation=full &
preallocation=metadata , What is the difference between them ? and which
one would yield a better disk I/O speed ?
Appreciate your
2018 Aug 13
1
Re: [PATCH v2 2/4] file: Support zero without ZERO_RANGE
On 08/03/2018 02:28 PM, Nir Soffer wrote:
> File systems not supporting FALLOC_FL_ZERO_RANGE yet fall back to manual
> zeroing.
>
> We can avoid this by combining two fallocate calls:
>
> fallocate(FALLOC_FL_PUNCH_HOLE)
> fallocate(0)
>
> Based on my tests this is much more efficient compared to manual
> zeroing. The idea came from this qemu patch:
>
2015 Jun 03
0
Re: preallocation=full Vs preallocation=metadata
On Tue, Jun 02, 2015 at 09:14:03AM +0530, Jatin Davey wrote:
> Hi All
>
> I was reading through this:
>
> http://kashyapc.com/2011/12/02/little-more-disk-io-perf-improvement-with-fallocateing-a-qcow2-disk/
In my testing, the above method gives near-raw performance as it
preallocated all the space ahead of time.
The above test can now be done in a single command -- see option (3)
2010 Oct 22
2
fallocate and glibc 2.10
In glibc 2.10 (32 bit) fallocate() exists but fallocate64() doesn't.
When _FILE_OFFSET_BITS==64, fallocate() is a redirect to fallocate64()
and the program can't be linked (fails to find symbol fallocate64).
See http://bugzilla.redhat.com/500487
Attached patch detects fallocate() more robustly to guard against this
problem.
Cheers, Paul.
-------------- next part --------------
A non-text
2018 Jul 30
0
Re: [PATCH v2] file: Add missing include for FALLOC_FL_*
On 07/30/2018 01:04 PM, Nir Soffer wrote:
> On RHEL 7.5 we need to include <linux/falloc.h> for FALLOC_FL_* macros.
Rather, on any Linux system that pre-dates glibc 2.18, where the flags
were finally supported directly in <fcntl.h>
> Without the macros, fallocate is never used and we fall back to manual
> zeroing.
>
> +++ b/plugins/file/file.c
> @@ -42,6 +42,10
2003 Dec 01
0
No subject
(each a few hundred Mb) onto different Samba shares. From a W2000
workstation, started another copy of similar directory onto another Samba
share. Everything runs fine for 5-10 minutes, then one of the NT4 copies
hangs with "Unable to copy file ... Session cancelled" or "Unexpected
network error occurred". Typically one or other of the other NT4 copies also
then fails. The
2018 Jul 30
3
[PATCH v2] file: Add missing include for FALLOC_FL_*
On RHEL 7.5 we need to include <linux/falloc.h> for FALLOC_FL_* macros.
Without the macros, fallocate is never used and we fall back to manual
zeroing.
Here are examples runs with this change with a local file on ext4:
$ export SOCK=/tmp/nbd.sock
$ export FILE=/var/tmp/nbd.img
$ export BLOCK=/dev/loop2
$ src/nbdkit -f plugins/file/.libs/nbdkit-file-plugin.so file=$FILE -U $SOCK
$ time
2018 Jul 29
3
[PATCH 1/2] file: Add missing include for FALLOC_FL_*
On RHEL 7.5 we need to include <linux/falloc.h> for FALLOC_FL_* macros.
Without the macros, fallocate is never used and we fall back to manual
zeroing.
Here are examples runs with this change with a local file on ext4:
$ export SOCK=/tmp/nbd.sock
$ export FILE=/var/tmp/nbd.img
$ export BLOCK=/dev/loop2
$ src/nbdkit -f plugins/file/.libs/nbdkit-file-plugin.so file=$FILE -U $SOCK
$ time
2018 Jul 30
0
Re: [PATCH] file: Zero support for block devices and NFS 4.2
On 07/29/2018 07:04 AM, Nir Soffer wrote:
> If we may not trim, we tried ZERO_RANGE, but this is not well supported
> yet, for example it is not available on NFS 4.2. ZERO_RANGE and
> PUNCH_HOLE are supported now on block devices, but not on RHRL 7, so we
> fallback to slow manual zeroing there.
>
> Change the logic to support block devices on RHEL 7, and file systems
> that
2009 Jul 22
0
grub-0.97/btrfs: [PATCH] against fedora 10
Hello everyone.
This is the support for default single-device configuration.
Subvolumes are _allowed_. Transparent compression is not
allowed. Leafsize != 4K is not allowed. Nodesize != 4K is
not allowed. Grub-0.97+btrfs doesn''t understand exotic things
like preallocated extents (e.g. files composed by fallocate(2),
posix_fallocate(3)). Also grub-0.97 doesn''t check btrfs
2019 Jan 04
0
[PATCH nbdkit v5 3/3] cache: Implement cache-max-size and cache space reclaim.
The original plan was to have a background thread doing the reclaim.
However that cannot work given the design of filters, because a
background thread cannot access the next_ops struct which is only
available during requests.
Therefore we spread the work over the request threads. Each blk_*
function checks whether there is work to do, and if there is will
reclaim up to two blocks from the cache
2023 Aug 18
1
Increase data length for SMB2 write and read requests for Windows 10 clients
Hello Ivan,
'FastCopy' has an option to revise max I/O size and works for SMB :)
it is a tool for file transferring and could be installed to win10,
download here: https://fastcopy.jp/
This is an example for writing, a job would write a file named '1GB.img'
from a local disk 'H:' to a remote SMB mounted net disk 'Z:',
open 'FastCopy' tool and specify
2009 Dec 15
2
[Announce] Samba 3.5.0pre2 Available for Download
Release Announcements
=====================
This is the second preview release of Samba 3.5. This is *not*
intended for production environments and is designed for testing
purposes only. Please report any defects via the Samba bug reporting
system at https://bugzilla.samba.org/.
Major enhancements in Samba 3.5.0 include:
General changes:
o Add support for full Windows timestamp resolution