permanently load enable HTTP Accept Filter FreeBSD kernel module (accf_http)

While reading articles about optimization, I read about the accf_http module.

The man page of the module is here, where you can read:

The utility of accf_http is such that a server will not have to context switch several times before performing the initial parsing of the request.

To load this module, use the following command:

# kldload accf_http

To load it at boot time, add the following line in /boot/loader.conf:

accf_http_load="YES"

To check if the module is loaded, use the command kldstat:

# kldstat
Id Refs Address    Size     Name
 1    4 0xc0400000 906518   kernel
 2    1 0xc0d07000 6a32c    acpi.ko
 3    1 0xc5e65000 2000     accf_http.ko

This entry was written by CharlyBr, posted on March 12, 2009 at 6:04 am, filed under Optimization and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post.

Timeline

1 Comment

Have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

:

: