• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

ZRAM and Swap?

Scheduled Pinned Locked Moved Porting
11 Posts 4 Posters 923 Views 2 Watching
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.
    • K Offline
      Keneda
      last edited by Keneda 29 Aug 2020, 13:01

      What is surnia?!?

      EDIT : ok i found, it's Moto E 2015 4G

      https://forums.ubports.com/topic/186/problem-porting-to-moto-e-2015-4g-surnia/1?_=1598520000760

      2015-2023 : Meizu MX4 ☠️⚰️✝️
      2023-2024 : Nexus 5 ☠️⚰️✝️
      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
      🇲🇫🇬🇧

      1 Reply Last reply Reply Quote 0
      • I Offline
        impreza233
        last edited by 29 Aug 2020, 13:03

        Motorola Moto E 2015 4G/LTE, aka that phone:
        alt text

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi
          last edited by 29 Aug 2020, 14:22

          Zram is being used in bq E5 which also have 1 GB of RAM. It does make the phone faster and smoother.

          I 1 Reply Last reply 29 Aug 2020, 14:23 Reply Quote 0
          • I Offline
            impreza233 @kugiigi
            last edited by 29 Aug 2020, 14:23

            @kugiigi and how it could be implemented on surnia?

            D 1 Reply Last reply 30 Aug 2020, 05:01 Reply Quote 0
            • D Offline
              doniks @impreza233
              last edited by 30 Aug 2020, 05:01

              @impreza233 probably first kernel config https://github.com/ubports/kernel_vegetahd/blob/master/mediatek/config/krillin/autoconfig/kconfig/project#L1947 then check kernel log to see whether ut picks this up right away

              I 1 Reply Last reply 30 Aug 2020, 09:01 Reply Quote 1
              • I Offline
                impreza233 @doniks
                last edited by 30 Aug 2020, 09:01

                @doniks thanks 🙂 I will take this on account.

                D 1 Reply Last reply 30 Aug 2020, 11:24 Reply Quote 0
                • D Offline
                  doniks @impreza233
                  last edited by 30 Aug 2020, 11:24

                  @impreza233 Looking forward to hear how this goes!

                  I 1 Reply Last reply 30 Aug 2020, 11:47 Reply Quote 0
                  • I Offline
                    impreza233 @doniks
                    last edited by 30 Aug 2020, 11:47

                    @doniks myself and a fellow (@bartbart2003 ) have tested that on config, but it seems not working at this moment

                    D 1 Reply Last reply 30 Aug 2020, 14:10 Reply Quote 0
                    • D Offline
                      doniks @impreza233
                      last edited by 30 Aug 2020, 14:10

                      @impreza233 said in ZRAM and Swap?:

                      @doniks myself and a fellow (@bartbart2003 ) have tested that on config, but it seems not working at this moment

                      mhm. so you did enable in the kernel config and it has rebuilt and booted successfully? Anything visible in kernel log?

                      I have never used zram before, but from quick research it looks as if it is all about creating a swap space (in compressed ram). Do you have a swap device now? Is it used (swapon -s)?

                      I 1 Reply Last reply 30 Aug 2020, 14:17 Reply Quote 1
                      • I Offline
                        impreza233 @doniks
                        last edited by 30 Aug 2020, 14:17

                        @doniks it has booted successfully, but we have not seem any indication on kernel log. We will test that command.

                        1 Reply Last reply Reply Quote 0
                        11 out of 11
                        • First post
                          11/11
                          Last post