You are not logged in.

#1 2008-07-17 21:56:15

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

An Unusual Samba Problem

i m currently using archlinux 2007.08 which is completely upgraded.

i m using arch inside vmware workstation 6.0.4.

i m using arch as a server, i have no X server installed, and i have installed mysql/samba/ftp servers in it.
i have also used the vmware shared folders and shared folders from my host drive and then pointed ftp and samba server to them

ftp works perfectly fine, upload and download.

the problem is samba, the connectivity is fine, and i can copy files from the samba share, i have copied various movies in the vmware shared folder, which is then shared using samba.

but when i watch movies directly from the share (without copying), the movies work fine for a limited time (around 10 mins ), but then start stuttering, i dont know if its a arch problem or a samba problem, i have iptables working, but its on default (all chains as ACCEPT).

also, the processor or ram is no problem, as i have disabled almost everything unneeded, and the system was at 30% used at host, and 60% idle, so, its not a processor/ram issue.

any help will be appreciated.

Offline

#2 2008-08-13 19:09:18

cactus.ed
Member
From: The lonesome crowded west
Registered: 2007-08-11
Posts: 32

Re: An Unusual Samba Problem

Same issue here, seems to be related to gamin/fam...

Offline

#3 2008-08-13 19:44:19

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: An Unusual Samba Problem

Haven't a clue. What's your host OS?

Offline

#4 2008-08-15 12:53:01

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: An Unusual Samba Problem

i m using athlon64 2.4 ghz, its a little slow, but i am careful that my system remains at least 50% idle, and thats enough for uninterrupted samba sharing.

Offline

#5 2008-08-16 00:07:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: An Unusual Samba Problem

Sin.citadel wrote:

also, the processor or ram is no problem, as i have disabled almost everything unneeded, and the system was at 30% used at host, and 60% idle, so, its not a processor/ram issue.

What's the Load Average on the host machine and virtual machine when the problems occur?

Offline

#6 2008-08-16 01:51:45

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: An Unusual Samba Problem

Host uses 30% at average, while arch VM uses 1-2% at idle or 10% when in load, and another VM (XP with many bloat removed) which uses 15-20% at idle, i have set both arch and XP to be bridged so they both have there own ip addresses, the weird thing is that from the XP VM if i play the files on arch samba share, there is no lagging/stuttering at all (only stutters if the CPU is at 90-100% but that's expected), but from another network machines, i still experience the lags.

Offline

#7 2008-08-16 03:15:18

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: An Unusual Samba Problem

Load Average - not the CPU usage smile

The uptime command will give you the load averages in the last 3 columns:

fukawi2 ~  $ uptime
 13:16:10 up 4 days, 19:21,  1 user,  load average: 0.28, 0.12, 0.08

Offline

#8 2008-08-17 03:51:20

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: An Unusual Samba Problem

0.00,0.00,0.00, thats under idle conditions

0.26,0.06,0.02 at load

Offline

#9 2008-08-17 04:02:50

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: An Unusual Samba Problem

Hmmm, that's nothing exciting...

Try this under load:

vmstat 1 10

Offline

#10 2008-08-17 15:04:33

SiB
Member
Registered: 2008-07-03
Posts: 38

Re: An Unusual Samba Problem

I noticed similar behavior on my two Arch servers. When I play a tv show it stutters a little bit, if the show is in HD it is barely watcheable. I noticed if I play the movie on a more powerful box the stutters are less frequent.

Last edited by SiB (2008-08-17 15:04:56)

Offline

#11 2008-08-18 01:47:13

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: An Unusual Samba Problem

i tried vmstat 1 10, the results are below,

procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----

r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa

0  0      0   3284  20076 121612    0    0     2     2   18   27  0  0 100  0
 
0  0      0   3296  20076 121620    0    0     0     0    6   21  0  0 100  0
 
0  0      0   3296  20076 121620    0    0     0     0    6   19  0  0 100  0
 
0  0      0   3296  20076 121620    0    0     0    12   10   25  0  0 100  0
 
0  0      0   3236  20080 121620    0    0     0    12   10   29  0  0 100  0
 
0  0      0   3236  20080 121620    0    0     0     0    3   21  0  0 100  0
 
0  0      0   3236  20088 121620    0    0     0    52   11   27  0  0 100  0
 
0  0      0   3236  20088 121620    0    0     0     0    4   19  0  0 100  0
 
0  0      0   3236  20088 121620    0    0     0     0    8   23  0  0 100  0
 
0  0      0   3236  20088 121620    0    0     0     0    3   23  0  0 100  0



----------------------------------- at load -----------------------------------



procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 
2  0      0   3680  20388 120148    0    0     2     2   18   28  0  0 100  0
 
0  0      0   3704  20388 120140    0    0     0     0   94   80  0  0 100  0
 
0  0      0   3584  20388 120380    0    0     0     0  127  227  0  2 98  0
 
0  0      0   3584  20388 120396    0    0     0     0   85   72  0  1 99  0
 
0  0      0   3464  20392 120508    0    0     0    12  100  155  0  1 99  0
 
0  0      0   3344  20392 120636    0    0     0     0   99  150  0  1 99  0
 
0  0      0   3164  20400 120764    0    0     0    28  116  158  0  1 99  0
 
0  0      0   3020  20400 120908    0    0     0     0   94  150  0  1 99  0
 
0  0      0   3020  20400 120908    0    0     0    88   78   65  0  0 100  0
 
0  0      0   3720  20396 120008    0    0     0     0   65  134  0  1 99  0

Offline

#12 2008-08-18 10:56:48

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: An Unusual Samba Problem

There's nothing there that would indicate problems... Try running the same (load average & lmstate) on the client too, maybe it's the client having trouble, not the server?

Last edited by fukawi2 (2008-08-18 10:57:08)

Offline

Board footer

Powered by FluxBB