Re: [Samba] Dropped frames streaming video to samba

2006-04-20 Thread Matt London
Hi,

No problem - they're just in there from the SLES defaults anyway - the machine 
doesn't have to serve out any printers.

I'll give it a go and see if we get anywhere.



--Matt London
Alliance Technologies
Tel: (416) 385 3255 x232
Fax: (416) 385 1774

>>> On Wed, Apr 19, 2006 at  9:17 pm, in message
<[EMAIL PROTECTED]>, Jeremy Allison <[EMAIL PROTECTED]> wrote: 
> On Wed, Apr 19, 2006 at 06:26:23PM - 0400, Matt London wrote:
>> Hi,
>> 
>> Oops, I meant to include that info, obviously I forgot :&)
>> 
>> SLES9's samba- 3.0.20b- 3.4
>> 
>> smb.conf as follows:
>> 
>> [global]
>>workgroup = ENCODING
>>printing = cups
>>printcap name = cups
>>printcap cache time = 750
>>cups options = raw
>>map to guest = Bad User
>>include = /etc/samba/dhcp.conf
>>logon path = \\%L\profiles\.msprofile
>>logon home = \\%L\%U\.9xprofile
>>logon drive = P:
>>security = user
>>encrypt passwords = yes
>>ldap suffix = dc=example,dc=com
>>domain logons = no
>>ldap idmap suffix = ou=Idmap
>>ldap machine suffix = ou=Computers
>>local master = yes
>>passdb backend = smbpasswd
>>wins support = yes
>>netbios name = ENCODING
>>add machine script =
>>preferred master = auto
>>load printers = no
>> [data]
>>browsable = yes
>>comment = Data Share
>>guest ok = yes
>>path = /data
>>writeable = yes
>>browseable = yes
>>printable = no
> 
> I have my suspicions about contacting the cups daemon
> periodically. Can you try disabling the Samba to cups
> parameters this server whilst streaming a video just
> to remove my paranoia ? :- ).
> 
> Thanks,
> 
>   Jeremy.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Dropped frames streaming video to samba

2006-04-20 Thread Volker Lendecke
On Wed, Apr 19, 2006 at 05:31:50PM -0400, Matt London wrote:
 
> The problem comes when trying to capture video using Adobe
> Premiere 6.5 and write straight to the share - we get a
> *lot* of dropped frames (somewhere in the region of 25%+).
> Yet the same job to an Adaptec Snap server (which is samba
> on adaptec's guardianOS) works fine, even through it can
> only sustain 10MB/s.

There are a lot of variables here that need quite thorough
testing. Does Adobe Premiere write a single big file? If it
does, what is the write performance that you get with for
example xcopy or a copy by explorer. This gives you some
indication, but it is by no means the full story. Next step
in analyzing this is watching the *exact* pattern of write
calls that Adobe Premiere uses and look for latencies there.
Even the network card drivers can have a big influence on a
workload like that, also fibre channel is not always the
silver bullet that people believe it is. FC drivers can also
introduce stalls that influence streaming performance.

Lots of diagnosis work for you I'm afraid.

Volker


pgp3jBvLDPdan.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Dropped frames streaming video to samba

2006-04-19 Thread Jeremy Allison
On Wed, Apr 19, 2006 at 06:26:23PM -0400, Matt London wrote:
> Hi,
> 
> Oops, I meant to include that info, obviously I forgot :&)
> 
> SLES9's samba-3.0.20b-3.4
> 
> smb.conf as follows:
> 
> [global]
>workgroup = ENCODING
>printing = cups
>printcap name = cups
>printcap cache time = 750
>cups options = raw
>map to guest = Bad User
>include = /etc/samba/dhcp.conf
>logon path = \\%L\profiles\.msprofile
>logon home = \\%L\%U\.9xprofile
>logon drive = P:
>security = user
>encrypt passwords = yes
>ldap suffix = dc=example,dc=com
>domain logons = no
>ldap idmap suffix = ou=Idmap
>ldap machine suffix = ou=Computers
>local master = yes
>passdb backend = smbpasswd
>wins support = yes
>netbios name = ENCODING
>add machine script =
>preferred master = auto
>load printers = no
> [data]
>browsable = yes
>comment = Data Share
>guest ok = yes
>path = /data
>writeable = yes
>browseable = yes
>printable = no

I have my suspicions about contacting the cups daemon
periodically. Can you try disabling the Samba to cups
parameters this server whilst streaming a video just
to remove my paranoia ? :-).

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Dropped frames streaming video to samba

2006-04-19 Thread Matt London
Hi,

Oops, I meant to include that info, obviously I forgot :&)

SLES9's samba-3.0.20b-3.4

smb.conf as follows:

[global]
   workgroup = ENCODING
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   map to guest = Bad User
   include = /etc/samba/dhcp.conf
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
   security = user
   encrypt passwords = yes
   ldap suffix = dc=example,dc=com
   domain logons = no
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   local master = yes
   passdb backend = smbpasswd
   wins support = yes
   netbios name = ENCODING
   add machine script =
   preferred master = auto
   load printers = no
[data]
   browsable = yes
   comment = Data Share
   guest ok = yes
   path = /data
   writeable = yes
   browseable = yes
   printable = no



--Matt London
Alliance Technologies
Tel: (416) 385 3255 x232
Fax: (416) 385 1774

>>> On Wed, Apr 19, 2006 at  5:45 pm, in message
<[EMAIL PROTECTED]>, Jeremy Allison <[EMAIL PROTECTED]> wrote: 
> On Wed, Apr 19, 2006 at 05:31:50PM - 0400, Matt London wrote:
>> Hi,
>> 
>> We've got a setup here with a samba server in front of a fibrechannel array. 
> It's a pretty vanilla samba setup exporting an xfs filesystem.
>> 
>> The box is an opteron 265 with 4G RAM and a QLogic QLA2312 HBA running 
> SLES9.
>> 
>> We can dd an 8G file to a share from a windows workstation in just over 2 
> minutes (about 65MB/s) and dd back in about 4 minutes.
>> 
>> Local disk performance in the machine gives about 195MB/s to disk and 
> 120MB/s from disk.
>> 
>> The problem comes when trying to capture video using Adobe Premiere 6.5 and 
> write straight to the share -  we get a *lot* of dropped frames (somewhere in 
> the region of 25%+). Yet the same job to an Adaptec Snap server (which is 
> samba on adaptec's guardianOS) works fine, even through it can only sustain 
> 10MB/s.
>> 
> 
> Well it's the same codebase so it should be just as fast :- ).
> Firstly, what version of Samba are you running ? Secondly,
> what do you have in your smb.conf ?
> 
> Jeremy.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Dropped frames streaming video to samba

2006-04-19 Thread Jeremy Allison
On Wed, Apr 19, 2006 at 05:31:50PM -0400, Matt London wrote:
> Hi,
> 
> We've got a setup here with a samba server in front of a fibrechannel array. 
> It's a pretty vanilla samba setup exporting an xfs filesystem.
> 
> The box is an opteron 265 with 4G RAM and a QLogic QLA2312 HBA running SLES9.
> 
> We can dd an 8G file to a share from a windows workstation in just over 2 
> minutes (about 65MB/s) and dd back in about 4 minutes.
> 
> Local disk performance in the machine gives about 195MB/s to disk and 120MB/s 
> from disk.
> 
> The problem comes when trying to capture video using Adobe Premiere 6.5 and 
> write straight to the share - we get a *lot* of dropped frames (somewhere in 
> the region of 25%+). Yet the same job to an Adaptec Snap server (which is 
> samba on adaptec's guardianOS) works fine, even through it can only sustain 
> 10MB/s.
> 

Well it's the same codebase so it should be just as fast :-).
Firstly, what version of Samba are you running ? Secondly,
what do you have in your smb.conf ?

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Dropped frames streaming video to samba

2006-04-19 Thread Matt London
Hi,

We've got a setup here with a samba server in front of a fibrechannel array. 
It's a pretty vanilla samba setup exporting an xfs filesystem.

The box is an opteron 265 with 4G RAM and a QLogic QLA2312 HBA running SLES9.

We can dd an 8G file to a share from a windows workstation in just over 2 
minutes (about 65MB/s) and dd back in about 4 minutes.

Local disk performance in the machine gives about 195MB/s to disk and 120MB/s 
from disk.

The problem comes when trying to capture video using Adobe Premiere 6.5 and 
write straight to the share - we get a *lot* of dropped frames (somewhere in 
the region of 25%+). Yet the same job to an Adaptec Snap server (which is samba 
on adaptec's guardianOS) works fine, even through it can only sustain 10MB/s.

Any ideas would be much appreciated.

Best regards,


--Matt London
Alliance Technologies
Tel: (416) 385 3255 x232
Fax: (416) 385 1774

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba