Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Grav CMS
  3. Grav 2.0 - copying a page is slow

Grav 2.0 - copying a page is slow

Scheduled Pinned Locked Moved Grav CMS
15 Posts 4 Posters 231 Views 4 Watching
  • 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.
  • S Offline
    S Offline
    superhua
    wrote last edited by
    #5

    hdparm -Tt /dev/vda4 yields:

    /dev/vda4:
     Timing cached reads:   9658 MB in  1.99 seconds = 4846.98 MB/sec
     Timing buffered disk reads: 896 MB in  3.00 seconds = 298.61 MB/sec
    

    Wait time (wa) using vmstat 1 is 0 or 1.

    These numbers look good.

    I'll continue to research and report back if I discover anything.

    Thanks again for your help!

    1 Reply Last reply
    1
    • S Offline
      S Offline
      superhua
      wrote last edited by
      #6

      Update: Installing Grav on the Cloudron LAMP App yields faster copy times (about twice as fast).

      Thus, perhaps it is something related to the Dockerization of it?

      1 Reply Last reply
      0
      • robiR Offline
        robiR Offline
        robi
        wrote last edited by
        #7

        Does grav on the demo server have the same pattern?

        Conscious tech

        1 Reply Last reply
        0
        • S Offline
          S Offline
          superhua
          wrote last edited by
          #8

          @robi – Good idea!
          Yes, after installing Grav and LAMP (and then Grav on top of that), LAMP/Grav is still faster on the demo server.

          robiR 1 Reply Last reply
          0
          • S superhua

            @robi – Good idea!
            Yes, after installing Grav and LAMP (and then Grav on top of that), LAMP/Grav is still faster on the demo server.

            robiR Offline
            robiR Offline
            robi
            wrote last edited by robi
            #9

            @superhua perfect for @james to take a peek.

            Drop the app subdomains of the demo server to help him out.

            Conscious tech

            1 Reply Last reply
            0
            • S Offline
              S Offline
              superhua
              wrote last edited by superhua
              #10

              @james Here are the two test sites:

              • Grav in Docker

              • Grav on LAMP

              (PM me for password.)

              1 Reply Last reply
              1
              • nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote last edited by
                #11

                If both those apps are installed and using the same disk, I can't quite see how filesystem operations would in any case impact how Grav is serving up files. On top of this, the Grav package is also using apache to serve up the files.

                S 1 Reply Last reply
                0
                • nebulonN nebulon

                  If both those apps are installed and using the same disk, I can't quite see how filesystem operations would in any case impact how Grav is serving up files. On top of this, the Grav package is also using apache to serve up the files.

                  S Offline
                  S Offline
                  superhua
                  wrote last edited by
                  #12

                  @nebulon Thanks for the reply.

                  Yes, both apps are installed and using the same disk.

                  Good to know the Grav package is also using Apache.

                  Quite a mystery why there is a difference in speed then! 🤷 🙂

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    superhua
                    wrote last edited by
                    #13

                    Would the following making any difference?

                    grav-system-info.yaml from the Dockerized install has opcache.revalidate_freq: "2s"

                    while

                    grav-system-info.yaml from LAMP install has opcache.revalidate_freq: "60s"

                    ?

                    robiR 1 Reply Last reply
                    1
                    • jamesJ Offline
                      jamesJ Offline
                      james
                      Staff
                      wrote last edited by
                      #14

                      Hello @superhua
                      The official docker image of grav is also settings this to 2s.
                      See: https://github.com/getgrav/docker-grav/blob/89920ea92715261adee817dc7d74f366621af5c9/config/php-grav.ini#L32

                      1 Reply Last reply
                      1
                      • S superhua

                        Would the following making any difference?

                        grav-system-info.yaml from the Dockerized install has opcache.revalidate_freq: "2s"

                        while

                        grav-system-info.yaml from LAMP install has opcache.revalidate_freq: "60s"

                        ?

                        robiR Offline
                        robiR Offline
                        robi
                        wrote last edited by robi
                        #15

                        @superhua change it and test?

                        How's the CPU usage for both during the op?

                        Conscious tech

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search