From 2757cde29e2b49c988bcf1d5140bae22f8f0bab2 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 13 Jun 2005 15:29:53 +0000 Subject: Put Johns' changes back in again. (This used to be commit d5a730fc097311f498dd7c3fb2516a1fc0fa1fe7) --- docs/Samba3-ByExample/SBE-HighAvailability.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'docs/Samba3-ByExample/SBE-HighAvailability.xml') diff --git a/docs/Samba3-ByExample/SBE-HighAvailability.xml b/docs/Samba3-ByExample/SBE-HighAvailability.xml index a309f3aea8..db94af4d2f 100644 --- a/docs/Samba3-ByExample/SBE-HighAvailability.xml +++ b/docs/Samba3-ByExample/SBE-HighAvailability.xml @@ -253,10 +253,10 @@ DNSname lookup resolve A Samba server called FRED in a NetBIOS domain called COLLISION - in a network environment that is part of the fully qualified Internet domain namespace known - as parrots.com results in DNS name lookups for fred.parrots.com + in a network environment that is part of the fully-qualified Internet domain namespace known + as parrots.com, results in DNS name lookups for fred.parrots.com and collision.parrots.com. It is therefore a mistake to name the domain - (workgroup) collision.parrots.com, since this results in DNS lookup + (workgroup) collision.parrots.com, since this results in DNS lookup attempts to resolve fred.parrots.com.parrots.com, which most likely fails given that you probably do not have this in your DNS namespace. @@ -375,7 +375,7 @@ - As the size of the &smb.conf; file grows, the risk of introduction of parsing errors increases also. + As the size of the &smb.conf; file grows, the risk of introducing parsing errors also increases. It is recommended to keep a fully documented &smb.conf; file on hand, and then to operate Samba only with an optimized file. @@ -479,7 +479,7 @@ cannot be set in the smb.conf file. nmbd will abort with this setting. Domain Controller As a general guide, instead of adding domain member servers to a network, you would be better advised to add BDCs until there are fewer than 30 Windows clients per BDC. Beyond that ratio, you should add - domain member servers. This practice ensures that there is always sufficient domain controllers + domain member servers. This practice ensures that there are always sufficient domain controllers to handle logon requests and authentication traffic. @@ -617,33 +617,33 @@ cannot be set in the smb.conf file. nmbd will abort with this setting. There exist applications that create or manage directories containing many thousands of files. Such - applications typically generate many small files (less than 100 KB). At the best of times under UNIX - listing of the files in a directory that contains many files is slow. By default Windows NT, 200x, + applications typically generate many small files (less than 100 KB). At the best of times, under UNIX, + listing of the files in a directory that contains many files is slow. By default, Windows NT, 200x, and XP Pro cause network file system directory lookups on a Samba server to be performed for both the case preserving file name as well as for the mangled (8.3) file name. This incurs a huge overhead on the Samba server that may slow down the system dramatically. - In an extreme case the performance impact was dramatic. File transfer from the Samba server to a Windows + In an extreme case, the performance impact was dramatic. File transfer from the Samba server to a Windows XP Professional workstation over 1 Gigabit Ethernet for 250-500 KB files was measured at approximately - 30 MB/sec. But when tranfering a directory containng 120,000 files, all from 50KB to 60KB in size, the + 30 MB/sec. But when tranferring a directory containing 120,000 files, all from 50KB to 60KB in size, the transfer rate to the same workstation was measured at approximately 1.5 KB/sec. The net transfer was - of the order of a factor of 20-fold slower. + on the order of a factor of 20-fold slower. The symptoms that will be observed on the Samba server when a large directory is accessed will be that - aggregate I/O (typically blocks read) will be relatively low, yet the wait I/O times will be incredably + aggregate I/O (typically blocks read) will be relatively low, yet the wait I/O times will be incredibly long while at the same time the read queue is large. Close observation will show that the hard drive that the file system is on will be thrashing wildly. - Samba-3.0.12, and later, includes new code that radically improves Samba perfomance. The secret to this is + Samba-3.0.12 and later, includes new code that radically improves Samba perfomance. The secret to this is really in the True line. This tells smbd never to scan for case-insensitive versions of names. So if an application asks for a file called FOO, - and it can not be found by a simple stat call, then smbd will return file not found immediately without + and it can not be found by a simple stat call, then smbd will return "file not found" immediately without scanning the containing directory for a version of a different case. -- cgit