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

    Updated today to latest snap - very slow

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    108 Posts 27 Posters 37.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.
    • P
      phil.davis
      last edited by

      Thanks Jimp, it works nicely.
      My MO is to switch to RW before making a bunch of changes, then switch back to RO after the changes are done. Now this works from the GUI, no need to run the scripts from the command line.

      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
      • Raul RamosR
        Raul Ramos
        last edited by

        @phil.davis:

        Thanks Jimp, it works nicely.
        My MO is to switch to RW before making a bunch of changes, then switch back to RO after the changes are done. Now this works from the GUI, no need to run the scripts from the command line.

        pfSense:
        ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
        Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
        NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          works great, mine set to rw permanent, is there any issues setting it to rw permanent as i use only the cron package, the rest is all pfsense only?

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Hard to say for sure, for a while there was a bug that was leaving it rw completely and people barely noticed. But there is always the risk that something will try (and succeed) to write to the media then.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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

              bandwidthd is one offender that does not seem to have been modified to work correctly on nanobsd. If the filesystem is RO, it dies trying to write its output. If the filesystem is accidentally (or now purposely) RW, then it gleefully scribbles frequently to the CF card. I think I killed a CF card on a system that ran like this for a long time.
              There were some issues with other packages that had bugs that left things RW under various conditions - I fixed up ones that I knew about.
              The last issue I know about now is at bootup - with multiple OpenVPN servers and/or clients the bootup can run out of real memory on a 256MB nanoBSD system. In that case rc.bootup does not exit nicely and misses doing the mount RO. As long as you don't have wayward packages, it should not really matter.
              The good thing is that you can now see on the dashboard if your file system is RW, and easily put it back to RO.

              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
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Ah, does the widget read the filesystem or just the setting?

                Steve

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  @stephenw10:

                  Ah, does the widget read the filesystem or just the setting?

                  It reads the filesystem. The same logic as the test on Diag > NanoBSD that lists the current status of the fs

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Thanks Jim.

                    1 Reply Last reply Reply Quote 0
                    • S
                      szop
                      last edited by

                      This is more than sexy! Thanks a lot! (Very helpfull in my situation because of reconfiguring 17 different VLAN's including rules :D)

                      Cheers,
                      Szop

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

                        I wanted to try 2.1 (dec 07 snapshot) on my Alix box at home and unfortunately I have this issue when saving changes. I have a generic, no brand 4GB CF card.
                        I tried the workaround of switching to RW before making changes and it seems to work much better.

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          As another data point to eliminate… Tried two different thing:
                          1. Enabled write caching
                          2. Switched the underlying fs from UFS to UFS2

                          Neither made any improvements in speed.

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

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

                            Ermal committed this patch https://github.com/bsdperimeter/pfsense-tools/commit/008742971cb44d8c0f81929504ab7330442c4ba4 and I would really like to try it out. For some reason it is 16 hours now and no new snapshot has appeared. Is there a problem with the snapshot builder making this? Or will I find that a new snapshot appears 5 minutes after I post this?

                            I have a nanobsd Alix system that I am currently setting up that exhibits all the symptoms and it is easy for me to upgrade and test.
                            Edit: I see Jimp just bumped 2.1 to BETA1 - maybe that is a sign that this long-standing nanobsd issue is fixed.

                            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
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              working on getting the ports up to date on the snapshot builder. We've had a few fixes in pfPorts lately and freebsd bumped some versions in things like pcre, so I'm trying to get everything building happily yet.

                              His fix does work, I have a card here that was taking ~40s to switch back and now it's under 1s. It'll just be a few more hours until the snaps are going again.

                              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                @jimp:

                                His fix does work, I have a card here that was taking ~40s to switch back and now it's under 1s.

                                Well this is brilliant news.  :)
                                I eagerly await new snaphots for testing.

                                Steve

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

                                  @jimp:

                                  working on getting the ports up to date on the snapshot builder. We've had a few fixes in pfPorts lately and freebsd bumped some versions in things like pcre, so I'm trying to get everything building happily yet.

                                  His fix does work, I have a card here that was taking ~40s to switch back and now it's under 1s. It'll just be a few more hours until the snaps are going again.

                                  That's excellent! Great jobs guys.

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    New BETA1 snaps should be up and ready to go. Confirmed my alix works great still on what used to be a slow card.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

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

                                      Celebration time - it works! I have upgraded my test system, then a half-dozen other Alix nanobsd systems. They all respond to mount readonly in under a second now. Thanks Ermal, Jimp and all those who have spent time investigating this. Where do we send the chocolates and flowers?  :)

                                      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
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        http://www.pfsense.org/donate.html ;-)

                                        (Somewhere I had started a list of links to developer wish lists… not sure what I did with it.)

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          szop
                                          last edited by

                                          @jimp:

                                          http://www.pfsense.org/donate.html ;-)

                                          (Somewhere I had started a list of links to developer wish lists… not sure what I did with it.)

                                          Haha, done ;). Thanks a lot for this great update!

                                          Cheers,
                                          Szop

                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xbipin
                                            last edited by

                                            well, doesnt really take 1s but 2-3s for my card now but still a lot better than 30+secs, thanks guys

                                            donations sent

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