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

    Pfsense 2.2.3 (NanoBSD) - Alix 6 - Compact Flash Slow Write Speed

    Scheduled Pinned Locked Moved Hardware
    5 Posts 3 Posters 2.2k 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.
    • M
      morphix
      last edited by

      Hi Guys,

      I've been using an Alix 6 board for a client, using a compact flash for storage.

      Up until recently, it was running a custom version of pfsense 2.1.x.

      There appeared to be some issues with some USB 3G/4G devices and so i wiped it and installed fresh vanilla nanobsd pfsense 2.2.3.

      Since this update, when saving anything in the web interface or enabling read/write mode in terminal causes a massive delay before it saves, presumably slow speeds of the compact flash card.

      I have tried a few different DMA modes and also tried changing the mounts to use async instead of sync, but that hasn't helped at all.

      Just wondering if anyone else is running an Alix 6 board on compact flash with 2.2.3 and having the same issue?

      I'm trying to source another compact flash card locally to test with, in case the card is the problem but it ran fine on the previous system without slowdowns.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        https://redmine.pfsense.org/issues/4814
        There are changes coming in 2.2.4 to turn off journaling (that was turned on in 2.2.3). Try 2.2.4-DEVELOPMENT snapshot which should be faster as safe (but not super fast) or use 2.2.2 for now.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • M
          morphix
          last edited by

          @phil.davis:

          https://redmine.pfsense.org/issues/4814
          There are changes coming in 2.2.4 to turn off journaling (that was turned on in 2.2.3). Try 2.2.4-DEVELOPMENT snapshot which should be faster as safe (but not super fast) or use 2.2.2 for now.

          That makes sense atleast why, i'll download and give 2.2.2 a try.

          1 Reply Last reply Reply Quote 0
          • R
            rolandk
            last edited by

            hi,

            i was also experiencing slownes and even freezes when saving config. i searched through all the forums and bugtickets, but there was no solution.

            i could at least resolve the freezing issue by changing "sync" into "async" within this files:

            [2.2.4-RELEASE][admin@pfSense.localdomain]/etc: cat /etc/inc/config.lib.inc | grep async
                    $status = mwexec("/sbin/mount -u -w -o async,noatime {$g['cf_path']}");
                            $status = mwexec("/sbin/mount -u -w -o async,noatime {$g['cf_path']}");
                    $status = mwexec("/sbin/mount -u -w -o async,noatime /");
                            $status = mwexec("/sbin/mount -u -w -o async,noatime /");
                    mwexec("/sbin/mount -u -r -f -o async,noatime {$g['cf_path']}");
                    mwexec("/sbin/mount -u -r -f -o async,noatime /");

            [2.2.4-RELEASE][admin@pfSense.localdomain]/etc: cat /etc/fstab |grep async
            /dev/ufs/pfsense0 / ufs ro,async,noatime 1 1
            /dev/ufs/cf /cf ufs ro,async,noatime 1 1

            i`m wondering whe we need sync at all here….

            1 Reply Last reply Reply Quote 0
            • R
              rolandk
              last edited by

              i came across this one https://forum.pfsense.org/index.php?topic=49173.0

              why is async so dangerous when async is only active during the short timeframe of switching from ro to rw and back to ro, as it is typically the case with nanobsd ?

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