Increasing MAXPHYS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexander Motin
Date: Saturday, March 20, 2010 - 8:20 am

Hi.

With set of changes done to ATA, CAM and GEOM subsystems last time we
may now get use for increased MAXPHYS (maximum physical I/O size) kernel
constant from 128K to some bigger value. Increasing it allows to improve
performance and reduce processing overhead for large I/O operations.
Potential downside is a bit increased kernel memory usage, but as soon
as these values were not changing for more than 8 years, I don't think
it should be significant now.

Present state of things:
- ahci(4) and siis(4) support any I/O sizes up to MAXPHYS;
- ata(4) supports I/O sizes up to min(512K, MAXPHYS) for the most of
controllers, and works correctly for the rest;
- most of SCSI controller drivers still limited by DFLTPHYS, but parts
needed to work on them one by one later are already in place.
- ad(4), da(4), ada(4), cd(4), acd(4), afd(4), atapicam(4) drivers
support any I/O sizes, supported by underlying hardware and reported by
ata(4) and cam(4) subsystems;
- gmirror(4), gstripe(4), graid3(4), gconcat(4) were tested and fixed to
support any I/O sizes up to MAXPHYS;

All above I have successfully tested last months with MAXPHYS of 1MB on
i386 and amd64 platforms.

So my questions are:
- does somebody know any issues denying increasing MAXPHYS in HEAD?
- are there any specific opinions about value? 512K, 1MB, MD?

-- 
Alexander Motin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Increasing MAXPHYS, Alexander Motin, (Sat Mar 20, 8:20 am)
Re: Increasing MAXPHYS, Matthew Dillon, (Sat Mar 20, 10:53 am)
Re: Increasing MAXPHYS, C. P. Ghost, (Sat Mar 20, 11:13 am)
Re: Increasing MAXPHYS, Scott Long, (Sat Mar 20, 11:17 am)
Re: Increasing MAXPHYS, Matthew Dillon, (Sat Mar 20, 11:22 am)
Re: Increasing MAXPHYS, Alexander Motin, (Sat Mar 20, 12:26 pm)
Re: Increasing MAXPHYS, Alan Cox, (Sat Mar 20, 12:38 pm)
Re: Increasing MAXPHYS, Julian Elischer, (Sat Mar 20, 1:41 pm)
Re: Increasing MAXPHYS, Julian Elischer, (Sat Mar 20, 2:30 pm)
Re: Increasing MAXPHYS, Alexander Motin, (Sun Mar 21, 7:04 am)
Re: Increasing MAXPHYS, Julian Elischer, (Sun Mar 21, 8:46 am)
Re: Increasing MAXPHYS, Ulrich =?utf-8?B?U3D ..., (Sun Mar 21, 9:30 am)
Re: Increasing MAXPHYS, Scott Long, (Sun Mar 21, 9:32 am)
Re: Increasing MAXPHYS, Scott Long, (Sun Mar 21, 9:39 am)
Re: Increasing MAXPHYS, Ulrich =?utf-8?B?U3D ..., (Sun Mar 21, 9:53 am)
Re: Increasing MAXPHYS, Alexander Motin, (Sun Mar 21, 10:03 am)
Re: Increasing MAXPHYS, Scott Long, (Sun Mar 21, 10:10 am)
Re: Increasing MAXPHYS, jhell, (Sun Mar 21, 5:54 pm)
Re: Increasing MAXPHYS, jhell, (Sun Mar 21, 7:00 pm)
Re: Increasing MAXPHYS, Alexander Motin, (Sun Mar 21, 10:53 pm)
Re: Increasing MAXPHYS, Gary Jennejohn, (Mon Mar 22, 4:40 am)
Re: Increasing MAXPHYS, John Baldwin, (Mon Mar 22, 5:39 am)
Re: Increasing MAXPHYS, Alexander Leidinger, (Mon Mar 22, 5:49 am)
Re: Increasing MAXPHYS, jhell, (Mon Mar 22, 8:11 am)
Re: Increasing MAXPHYS, Alexander Sack, (Mon Mar 22, 8:52 am)
Re: Increasing MAXPHYS, Scott Long, (Mon Mar 22, 9:27 am)