Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    What the optimum value of vfs.read_max and kern.ipc.nmbclusters for my hardware

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 3.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      abdurrahman
      last edited by

      I have been using pfSense 2.0.3-RELEASE (amd64) on sunfire x4150 machine.
      my hardware specifications are listed below
      2 x Intel Core Quad CPU
      16 GB RAM
      5x146 GB 7200 RPM disk (RAID5)

      I'm not using squid in pfSense. firewall property of pfSense is enoguh for my network…

      1. In system Tunables, vfs.read_max = 32... According to my hardware, what is the optimum value for vfs.read_max?
      2. In /boot/loader.conf, if I change kern.ipc.nmbclusters value from 0 to 32767 , will it increase performance...note that I'm not using squid
        only firewall of pfsense...
      3. In addition to these, what do you advise to me to increase the performance of pfSense?

      Thanks in Advance

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        Unless there is something you haven't told us, it is unlikely you can do anything to the system to observably increase performance.

        Is there some particular reason you are asking about increasing performance?

        1 Reply Last reply Reply Quote 0
        • A
          abdurrahman
          last edited by

          i have 1000-1550 clients on LAN interface…because of the fact that the machine on which pfSense installed is very powerful,
          ı want to take benefit ot he power of the machine...for that reason i want to increase performance....
          for example what is the optimum value of vfs.read_max for my hardware? i wonder it

          1 Reply Last reply Reply Quote 0
          • D
            dhatz
            last edited by

            Your best bet to increase overall performance would be to switch to pfsense 2.1-BETA (based on FreeBSD 8.3, with new drivers for most hardware). As long as you won't be doing any disk-intensive tasks (e.g. squid) the most important factor affecting performance would be your NIC(s) e.g. Intel or Broadcom etc.

            Since you have plenty of RAM, you could try
            kern.ipc.nmbclusters=262144

            1 Reply Last reply Reply Quote 0
            • A
              abdurrahman
              last edited by

              thanks for your reply..
              @dhatz:

              Your best bet to increase overall performance would be to switch to pfsense 2.1-BETA (based on FreeBSD 8.3, with new drivers for most hardware). As long as you won't be doing any disk-intensive tasks (e.g. squid) the most important factor affecting performance would be your NIC(s) e.g. Intel or Broadcom etc.

              Since you have plenty of RAM, you could try
              kern.ipc.nmbclusters=262144

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.