similar to: SMB2 leases slowing down shared access to files

Displaying 20 results from an estimated 10000 matches similar to: "SMB2 leases slowing down shared access to files"

2023 Jan 24
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
On Tue, Jan 24, 2023 at 08:29:17PM +0300, Michael Tokarev via samba wrote: >24.01.2023 20:22, Ralph Boehme via samba wrote: >>What Samba version is this? This: >> >>>LEASE() >> >>... looks broken: the handle oplock/lease state claims to be a >>lease, which means the client didn't request an oplock but a lease >>which should not have happened in
2017 Aug 18
4
Friendly Reminder: Would you please comment on my findings?
Ah, ok, "directory handle leases"... Ouch, I see... :-( In this case, I will first repeat my test scenario with a Windows SMB2 server and report back here. Based on the results of this exercise, you can then advise whether you still want to move this to smb-technical and raise this with Microsoft folks (who still might have a simple workaround "fix" to improve their SMB2
2017 Oct 09
2
Linux vs. Windows SMB buffering
> The Linux client is asking for SMB1 and using 1MB write sizes. > > The Windows client is using SMB2 and *NOT ASKING FOR LEASES*. > > This is why the performance is terrible. Because the file > as no lease, the Windows redirector must pass every single > WriteFile() system call onto the wire, no matter how small > the size. > > If you can get the Windows SMB2 client
2017 Aug 18
2
Friendly Reminder: Would you please comment on my findings?
Am 18.08.2017 um 23:17 schrieb Jeremy Allison via samba: > This might be hidden against Windows due to directory handle leases, > which we don't yet support. Are you saying that when I replace the Samba server by a Windows SMB2 share server, I should see better performance? I can perfectly test that out and record a Wireshark trace for this if you like... Layperson question: Would
2013 Oct 10
3
Detect dhclient leases file in centos
Hello, I''m using shorewall-4.5.16 with centos5. The dhclient stores the lease information on the /var/lib/dhclient/dhclient-<DEVICE>.leases file. The /var/lib/shorewall/firewall script has the function detect_dynamic_gateway that detects the gateway based on the leases file. The code in the function is: detect_dynamic_gateway() { # $1 = interface local interface
2010 Apr 08
3
Question about dhcpd.leases
Hi, I'm running a DHCP server on my local network. I've noticed something that puzzles me. Leases are written to /var/lib/dhcpd/dhcpd.leases, but only - so it seems to me - if the address is not fixed in any way in dhcpd.conf. Here's a few stanzas of my dhcpd.conf : host babasse { hardware ethernet 00:0d:61:ae:6b:8f; fixed-address 192.168.1.1; option
2017 Oct 06
2
Linux vs. Windows SMB buffering
> > > Does the wireshark trace show the Windows client asking for and > getting a RWH lease under SMB2 ? If so, then there's no reason > it can't be caching the entire file locally. Seems strange > behaviour from the Windows redirector here. > I have uploaded the Linux packet capture here (14MB): https://drive.google.com/open?id=0B6UHr3GQEkQwWXJ1NjVwMkJXOEU Also,
2017 Aug 24
0
Windows SMB2 client doing excessive, inefficient SMB2 Find (and other) requests
Hello Jeremy, Andrew, All, I can now indeed confirm that my test scenario runs MUCH faster when executed against a Windows 10 SMB2 server than against Samba (test scenario takes ~ 18 seconds using a Windows SMB2 server as opposed to ~ 300 seconds when the server is Samba 4.6.5). But, most interestingly, the reason for these performance gains is NOT - as assumed by Jeremy - that the number of
2023 Jan 20
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
Hi! I'm trying to understand how various ways to grant a file lease to (windows) clients works. Especially in context when files are being modified locally on the linux filesystem. For example, there's this wording in man smb.conf: kernel share modes ... Kernel share modes provide a minimal level of interoperability with local UNIX processes and NFS operations by
2023 Mar 21
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
hi, On Tue, Mar 21, 2023 at 3:40?PM Michal Pr?vozn?k <mprivozn at redhat.com> wrote: > On 3/19/23 20:21, Natxo Asenjo wrote: > > hi, > > > > I have configured a routed network on my laptop with a ipv6 subnet and > > dnsmasq is handing out ipv6 addresses to my vms and it works really wel, > > but finding out which ips have been used is not as easy as with
2016 Aug 19
2
Samba4 Centos 7 - CPU 100%
Follow: * Which process consumes the 100% of your CPU? samba, smbd, winbind...? A: samba * Does the CPU load goes up directly after you start up Samba? When does this happen? A: load goes up 1 minute after start samba. * What version are you currently running? Your "server string" says 4.3.1. Is this correct? What happens if you update to 4.4.5? A lot of things have been fixed in the
2016 Aug 31
2
status of Continuous availability in SMB3
On Wed, Aug 31, 2016 at 10:29:51AM +0200, Michael Adam via samba wrote: > On 2016-08-31 at 08:13 +0000, zhengbin.08747 at h3c.com wrote: > > When carring out the test, I have a wireshark process run. It is confirmed that protocol smb3 is used. In the tree connection phase, server's response to client claims that it does not support DFS/Continuous Availability. > > I'm
2008 May 19
0
Problem in DHCP Server with XEN no free leases Error
Hi I have installed Xen 3.0.4 in Scientific linux Os.. Now I want to configure dhcp server. I have configured my dhcp server in my host (g40.grid ) . Here''s my dhcpd.conf file [root@g40 ~]# cat /etc/dhcpd.conf ddns-update-style ad-hoc; default-lease-time 600; max-lease-time 7200; lease-file-name "/var/lib/dhcp/dhcpd.leases"; authoritative; log-facility local7; # Configuration
2017 May 04
2
Slow file transfer on ADDC mode
Hi, I have an issue on a Samba 4.5 running as AD DC compiled from source installed on a CentOS 7.3 server upgraded from 4.3 which had the same problem ,file transfers of a single file between Samba and windows machines don't go over 13 MB/s while a transfer over ssh( scp or sftp) and rsync goes over 80 and 100 MB/s respectively, network hardware switches and machines ethernet cards are all
2023 Mar 21
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
On 3/21/23 16:50, Natxo Asenjo wrote: > hi, > > On Tue, Mar 21, 2023 at 3:40?PM Michal Pr?vozn?k <mprivozn at redhat.com > <mailto:mprivozn at redhat.com>> wrote: > > On 3/19/23 20:21, Natxo Asenjo wrote: > > hi, > > > > I have configured a routed network on my laptop with a ipv6 subnet and > > dnsmasq is handing out ipv6
2016 Jul 21
2
aio settings for samba 4.3
Am 21.07.2016 um 20:56 schrieb Russell R Poyner: > Jeremy, > > I think this is exactly a complex interaction between FreeBSD and > Samba. Best guess would be some system call that is fast in linux but > slow in FreeBSD holding things back. > > Russ > > On 07/21/2016 01:00 PM, Jeremy Allison wrote: >> On Thu, Jul 21, 2016 at 12:23:01PM -0500, Russell R Poyner
2023 Mar 21
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
On 3/19/23 20:21, Natxo Asenjo wrote: > hi, > > I have configured a routed network on my laptop with a ipv6 subnet and > dnsmasq is handing out ipv6 addresses to my vms and it works really wel, > but finding out which ips have been used is not as easy as with ipv4. > > [root at lenovo ~]# virsh domifaddr --domain wec --source lease > ?Name ? ? ? MAC address ? ? ? ?
2016 Aug 22
4
Samba4 Centos 7 - CPU 100%
Hi, i changed the options but the problem it's the same. I removed the dns forward, schema and smb2 leases = yes, but after 5 minutes the process smbd groes up for 100%. Follow the error (log leve = 3). http://pasted.co/6f36cf12 2016-08-21 5:54 GMT-03:00 Marc Muehlfeld <mmuehlfeld at samba.org>: > Hi Maiquel, > > Am 20.08.2016 um 21:03 schrieb Maiquel Consalter via samba: >
2018 Mar 29
3
dhcp lease time hardware in script at dhcpd/Bind/Samba wiki page
There seems to be a slight issue with the instructions at the following wiki page: https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 The /usr/local/bin/dhcp-dyndns.sh script seems to use a hardwired value for the lease expiry time of 3600 - independent of whatever is configured in dhcpd.conf. With the examples provided, it should work, as the example dhcpd.conf
2023 Jan 24
1
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
On Wed, Jan 25, 2023 at 12:33:57AM +0300, Michael Tokarev wrote: >>@Michael: move the kernel oplocks setting to the global section, then things may start to work as expected. > >With kernel oplocks = yes in [global] but without mentioning >smb2 leases, this thing behaves in a way similar to when setting >smb2 leases to no (also globally, as it is a global parameter), -- >I see