strange performance issue on cups with Samba

Kingz kingzyycn at yahoo.com.cn
Mon Jun 13 10:20:29 PDT 2011


Hi everybody,

I am using cups with Samba on CentOS 5.5:
1, set up one network printer in cups, it is created as a raw printer;
2, share this printer by Samba, using the below configuration in smb.conf
[global]
load printers = yes
printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
use client driver = Yes

Samba users could print by this share printer.

But one strange performance issue happened:
The share directories in this Samba server are NFS share exported by one NAS(created by Openfiler).
With this share printer,Samba users downloaded files from the share in this samba server very slowly, while uploading speed is normal;
If I disabled this share printer(just comment the printer section in smb.conf), the download speed became normal.

Any help, comment will be highly appreciated!

Thanks in advance!

Jian





More information about the cups-devel mailing list