Performance Issues on 6.3

2008-02-26 Thread Natham
Hi i have a server with four disk atached, 2 raid 0 and 2 raid 1. Im
getting a low performance on file trasfers  over network to windows
clients  i get only about 30MB/s. Looking at gstat i got both disk are
trasfering 15000kBps each over a gigabit connection(client and
server). How can improve performance for my data server?

uname -a:

FreeBSD mlds.morpholab.loc 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0:
Sat Feb 23 22:12:17 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MLDS  amd64

mount:

/dev/mirror/gm0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/mirror/gm0s1e on /tmp (ufs, local, soft-updates)
/dev/mirror/gm0s1f on /usr (ufs, local, soft-updates)
/dev/mirror/gm0s1d on /var (ufs, local, soft-updates)
/dev/mirror/gm0s1g on /raid1 (ufs, local, soft-updates, acls)
/dev/stripe/st0a on /raid0 (ufs, local, soft-updates, acls)
devfs on /var/named/dev (devfs, local)

dmesg:


smb.conf(global only no shares)

[global]
workgroup = MLN
server string = Data Server
syslog = 0
max log size = 50
printcap name = cups
os level = 100
preferred master = Yes
domain master = Yes
wins support = Yes
#hosts allow = 172.16.1., 10.8.0.
#interfaces = lo0 nfe0 re0
printing = cups
cups options = "raw"
print command =
lpq command = %p
lprm command =
nt acl support = yes
socket options = TCP_NODELAY
debug level = 4
#   security = server

ifconfig:

xl0: flags=8843 mtu 1500
options=9
inet # netmask 0xff00 broadcast #
ether 00:04:76:31:e8:94
media: Ethernet autoselect (100baseTX )
status: active

 nfe0: flags=8843 mtu 1500
options=1b
inet 172.16.1.1 netmask 0xff00 broadcast 172.16.1.255
ether 00:19:db:66:63:72
media: Ethernet autoselect (1000baseTX )
status: active


Both RAID got low performance, where can i check to fis that problem?





-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-02-26 Thread Kris Kennaway

Natham wrote:


Both RAID got low performance, where can i check to fis that problem?


How did you determine that it is your RAID that is performing poorly, 
and not your network card or your samba or something on the other system?


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-02-26 Thread Natham
On Tue, Feb 26, 2008 at 2:23 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> Natham wrote:
>
>  > Both RAID got low performance, where can i check to fis that problem?
>
>  How did you determine that it is your RAID that is performing poorly,
>  and not your network card or your samba or something on the other system?
>
>  Kris
>
I dont. i check the performance for network trasfer only thats what i
mean (trought samba). When im rebuilding the RAID 1 i got about 40mb/s
from each disk.
I think its a network issue or samba, but i dont know where to look at.

Thanks.

Diego Arias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Performance Issues on 6.3

2008-02-26 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Natham
> Sent: Tuesday, February 26, 2008 1:32 PM
> To: Kris Kennaway; freebsd-questions@freebsd.org;
> [EMAIL PROTECTED]
> Subject: Re: Performance Issues on 6.3
> 
> 
> On Tue, Feb 26, 2008 at 2:23 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > Natham wrote:
> >
> >  > Both RAID got low performance, where can i check to fis that problem?
> >
> >  How did you determine that it is your RAID that is performing poorly,
> >  and not your network card or your samba or something on the 
> other system?
> >
> >  Kris
> >
> I dont. i check the performance for network trasfer only thats what i
> mean (trought samba). When im rebuilding the RAID 1 i got about 40mb/s
> from each disk.
> I think its a network issue or samba, but i dont know where to look at.
> 

Looking at the RAID array if you think it's Samba or the network
is probably not a good idea.

You can eliminate the network pretty quick, open a command window
on your Windows boxes then FTP into the server (turn on FTP on the
server of course) and transfer some files back and forth.

Have you perhaps considered subscribing to the samba mailing list
and asking them?  Or looking through the samba mailing list archives?

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-02-26 Thread Bogdan Ćulibrk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Natham wrote:
| I dont. i check the performance for network trasfer only thats what i
| mean (trought samba). When im rebuilding the RAID 1 i got about 40mb/s
| from each disk.
| I think its a network issue or samba, but i dont know where to look at.
|

Try with other services. Can you test network performance with some
httpd or ftpd?


- --
Best regards,
Bogdan Culibrk
[EMAIL PROTECTED] http://default.co.yu/~bc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfFCVUACgkQo6C4vAhYtCAqDgCgocwHOTTIZn/YlJ1sGdwfz6c0
UWcAnRMnkYhHbCWzgWN+y//2ERZzqma6
=LIR4
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-02-27 Thread Lyle Miller

Natham wrote:

Hi i have a server with four disk atached, 2 raid 0 and 2 raid 1. Im
getting a low performance on file trasfers  over network to windows
clients  i get only about 30MB/s. Looking at gstat i got both disk are
trasfering 15000kBps each over a gigabit connection(client and
server). How can improve performance for my data server?

  

i dont know if this will eventually help in your case .

... but 

i noticed a link on www.freebsd.org under 'in the media'

look for 'squeeze your gigabit nic for top performance' dated 2007-10.

gl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-02-27 Thread Natham
On Wed, Feb 27, 2008 at 12:26 PM, Lyle Miller <[EMAIL PROTECTED]> wrote:
> Natham wrote:
>  > Hi i have a server with four disk atached, 2 raid 0 and 2 raid 1. Im
>  > getting a low performance on file trasfers  over network to windows
>  > clients  i get only about 30MB/s. Looking at gstat i got both disk are
>  > trasfering 15000kBps each over a gigabit connection(client and
>  > server). How can improve performance for my data server?
>  >
>  >
>  i dont know if this will eventually help in your case .
>
>  ... but 
>
>  i noticed a link on www.freebsd.org under 'in the media'
>
>  look for 'squeeze your gigabit nic for top performance' dated 2007-10.
>
>  gl
>

Yes, i did everything it recomends. Tahnk you

-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-02-27 Thread Mel
On Wednesday 27 February 2008 18:56:15 Natham wrote:
> On Wed, Feb 27, 2008 at 12:26 PM, Lyle Miller <[EMAIL PROTECTED]> wrote:
> > Natham wrote:
> >  > Hi i have a server with four disk atached, 2 raid 0 and 2 raid 1. Im
> >  > getting a low performance on file trasfers  over network to windows
> >  > clients  i get only about 30MB/s. Looking at gstat i got both disk are
> >  > trasfering 15000kBps each over a gigabit connection(client and
> >  > server). How can improve performance for my data server?
> >
> >  i dont know if this will eventually help in your case .
> >
> >  ... but 
> >
> >  i noticed a link on www.freebsd.org under 'in the media'
> >
> >  look for 'squeeze your gigabit nic for top performance' dated 2007-10.
> >
> >  gl
>
> Yes, i did everything it recomends. Tahnk you

How to rule out the raid:
1) create a memory disk, in your case I'd go with 256MB if you can spare the 
memory.
2) Put a file on it, size ~210MB (7 * 30MB/s, should give ample time to let 
the transferrate go up)
3) share it via samba
4) Download it through one of the clients

If the transfer rate is still low, it's not the raid. Install a bandwidth 
monitor then (net/bmon for example) and see if the traffic is actually higher 
then the 30MB/s, eating the rest of your bandwidth, investigate samba issues, 
switches, clients (are they really configured Gbit?).

If the transfer rate is much higher, you're pretty safe to assume it's a disk 
issue.

Manpage to read:
mdconfig(8) - choose swap backed btw.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Performance Issues on 6.3

2008-03-01 Thread Natham
On Wed, Feb 27, 2008 at 1:16 PM, Mel
<[EMAIL PROTECTED]> wrote:
>
> On Wednesday 27 February 2008 18:56:15 Natham wrote:
>  > On Wed, Feb 27, 2008 at 12:26 PM, Lyle Miller <[EMAIL PROTECTED]> wrote:
>  > > Natham wrote:
>  > >  > Hi i have a server with four disk atached, 2 raid 0 and 2 raid 1. Im
>  > >  > getting a low performance on file trasfers  over network to windows
>  > >  > clients  i get only about 30MB/s. Looking at gstat i got both disk are
>  > >  > trasfering 15000kBps each over a gigabit connection(client and
>  > >  > server). How can improve performance for my data server?
>  > >
>  > >  i dont know if this will eventually help in your case .
>  > >
>  > >  ... but 
>  > >
>  > >  i noticed a link on www.freebsd.org under 'in the media'
>  > >
>  > >  look for 'squeeze your gigabit nic for top performance' dated 2007-10.
>  > >
>  > >  gl
>  >
>  > Yes, i did everything it recomends. Tahnk you
>
>  How to rule out the raid:
>  1) create a memory disk, in your case I'd go with 256MB if you can spare the
>  memory.
>  2) Put a file on it, size ~210MB (7 * 30MB/s, should give ample time to let
>  the transferrate go up)
>  3) share it via samba
>  4) Download it through one of the clients
>
>  If the transfer rate is still low, it's not the raid. Install a bandwidth
>  monitor then (net/bmon for example) and see if the traffic is actually higher
>  then the 30MB/s, eating the rest of your bandwidth, investigate samba issues,
>  switches, clients (are they really configured Gbit?).
>
>  If the transfer rate is much higher, you're pretty safe to assume it's a disk
>  issue.
>
>  Manpage to read:
>  mdconfig(8) - choose swap backed btw.
>  --
>  Mel
>
>  Problem with today's modular software: they start with the modules
> and never get to the software part.
>

Hi:

I made the test today and i got awesome results. One of my harddrives
(RAID 1 ) goes offline. I made the test with only 1 disk trasfering a
1.7GB file trought FTP and samba. Samba got about 24mb/s and ftp got
about 45mb/s from the single disk both. Samba takes the twice the time
than ftp, it is my bottleneck anyone has any patch/suggestion to improve
the samba performance on freebsd?

Thanks :)

-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Performance Issues on 6.3

2008-03-03 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Natham
> Sent: Saturday, March 01, 2008 10:04 AM
> To: Mel
> Cc: Lyle Miller; freebsd-questions@freebsd.org
> Subject: Re: Performance Issues on 6.3

> 
> I made the test today and i got awesome results. One of my harddrives
> (RAID 1 ) goes offline. I made the test with only 1 disk trasfering a
> 1.7GB file trought FTP and samba. Samba got about 24mb/s and ftp got
> about 45mb/s from the single disk both. Samba takes the twice the time
> than ftp, it is my bottleneck anyone has any patch/suggestion to improve
> the samba performance on freebsd?
> 

Are you happy with your 45mb/s?  Wern't you claiming gigabit here?
Seems if it was gigabit then 45mb/s is a problem, eh?

One more test for you.

Map a drive on your 'doze system

Drop to command line  (start->run->cmd)

xcopy a sample file from c: to the mapped drive

xcopy a sample file from mapped drive back to c:

Time it

Compare the times, what are the results?  What are
the results in comparison with the other tests?

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"