Re: is there any way to increase disk performance ?

2009-02-08 Thread Kris Kennaway

Tim Judd wrote:

Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that 
disk usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any 
problem ?




So in one second, the disk hits 100% utilization, weather it's reading 
or writing data to disk.  You said above that I rarely see -- so even 
though, as a server, you're running slow spindles, you are doing pretty 
good.


I've no real experience with a site that's (for example) been 
slashdotted, to test what is tolerable, and what's not.  But as I 
currently guess, an OVERALL average between 25% to 33% is about as much 
as I would ever tax a server for CONSISTENT averages.


So if you're seeing it rarely, such as when somebody hits webmail and 
takes 1 second of constant disk read to serve the content, I'd be happy 
there...


I don't think you have a problem, when you put your concern into the 
broader scope of 1 minute, 1 hour, 1 day or 1 week.  It'll be very 
difficult to never see 100% in 1 second no matter how powerful the 
machine is.


Make sure you understand that gstat's %busy column does not tell you 
how close to capacity your disk is, it tells you what % of time it is 
handling I/O.  Since modern drives can have many commands queued at any 
given time, those are not the same thing.


To understand whether your disk is overloaded, look at the ms/r and ms/w 
times.


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-06 Thread Yavuz

I increased values of vfs.read_max and MAXPHYS.
I observe the disk's performance.  New these values help disk performance 
clearly.

Thanks.




Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem 
?



sysctl vfs.read_max=32 can help read performance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-05 Thread Yavuz

Ok. I increased vfs.read_max

while I was looking  into this case in google, I see a value of MAXPHYS
in my kernel, there is a value called MAXPHYS=(128*1024) as default.
What should I set this value ?




Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem 
?



sysctl vfs.read_max=32 can help read performance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-05 Thread Wojciech Puchar


while I was looking  into this case in google, I see a value of MAXPHYS
in my kernel, there is a value called MAXPHYS=(128*1024) as default.
What should I set this value ?


i use 1024*1024






Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem 
?



sysctl vfs.read_max=32 can help read performance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-05 Thread Ivan Voras
Yavuz wrote:
 Ok. I increased vfs.read_max
 
 while I was looking  into this case in google, I see a value of MAXPHYS
 in my kernel, there is a value called MAXPHYS=(128*1024) as default.
 What should I set this value ?

Neither vfs.read_max nor MAXPHYS will help a mail server (or any other
server dealing with small files).



signature.asc
Description: OpenPGP digital signature


is there any way to increase disk performance ?

2009-02-04 Thread Yavuz

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and webmail 
on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem ?






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-04 Thread Bill Moran
In response to Yavuz mas...@ihlas.net.tr:

 I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.
 
 it's running mail server which has services like pop3,imap,smtp and webmail 
 on this machine.
 
 When I type systat 1 -vmstat on command line, even I rarely see that disk 
 usage hits 100%.
 I have no problem as ram and cpu.  they is enough.
 
 is there any way to increase disk performance without causing any problem ?

7200 RPM is a slow disk.  You may be hardware bound.  Have a look at
gstat and see how long read and write requests are taking.  If you have
questions, post actual gstat output to the list, not your interpretation
of it.

Make sure your partitions are mounted noatime (see the man page for
mount_ffs) Also, make sure they are configured with softupdates turned
on (see the man page for tunefs)

If you're not using Maildir for your mail storage, then switch.  mboxes
get really slow when they get large.

Provide more details about your problem if you want more specific answers.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-04 Thread Adam Vande More

Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that 
disk usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any 
problem ?



sysctl vfs.read_max=32 can help read performance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-04 Thread Wojciech Puchar

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and webmail 
on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that disk 
usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem ?

i don't understand your problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there any way to increase disk performance ?

2009-02-04 Thread Tim Judd

Yavuz wrote:

I have freebsd7 (amd64 bit)  and sata2 disk 7200 rpm.

it's running mail server which has services like pop3,imap,smtp and 
webmail on this machine.


When I type systat 1 -vmstat on command line, even I rarely see that 
disk usage hits 100%.

I have no problem as ram and cpu.  they is enough.

is there any way to increase disk performance without causing any problem ?



So in one second, the disk hits 100% utilization, weather it's reading 
or writing data to disk.  You said above that I rarely see -- so even 
though, as a server, you're running slow spindles, you are doing pretty 
good.


I've no real experience with a site that's (for example) been 
slashdotted, to test what is tolerable, and what's not.  But as I 
currently guess, an OVERALL average between 25% to 33% is about as much 
as I would ever tax a server for CONSISTENT averages.


So if you're seeing it rarely, such as when somebody hits webmail and 
takes 1 second of constant disk read to serve the content, I'd be happy 
there...


I don't think you have a problem, when you put your concern into the 
broader scope of 1 minute, 1 hour, 1 day or 1 week.  It'll be very 
difficult to never see 100% in 1 second no matter how powerful the 
machine is.



HTH
--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org