Announcement

Collapse
No announcement yet.

Speeding Up The Linux Kernel With Transparent Hugepage Support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Thanks !

    Originally posted by Obscene_CNN View Post
    toplinuxsir,

    Try the #32 patch found here

    http://www.kernel.org/pub/linux/kern...ugepage-32.bz2
    Great ! Thanks , it works !

    Comment


    • #32
      How to confirm that transparetn hugepages is enabled ?

      Originally posted by Obscene_CNN View Post
      toplinuxsir,

      Try the #32 patch found here

      http://www.kernel.org/pub/linux/kern...ugepage-32.bz2
      I download the #32patch and the problems is resolved , Thanks a lot !
      and complied the new kernel with #32 patch successfully .
      But how to confirm that transparent hugepages is enabled ?

      Thanks !

      Comment


      • #33
        try doing a cat /proc/meminfo

        Comment


        • #34
          Does this patch works with 2.6.36? First time I tried it (when it was released), it didn't apply to my 2.6.36.2 kernel...
          I'd like to try it with my "customized patchset" kernel... (PF + BFS testing features not present in CK).

          Cheers

          Comment


          • #35
            Is the transparent hugepages enabled ?

            Originally posted by Obscene_CNN View Post
            try doing a cat /proc/meminfo
            $ cat /proc/meminfo
            MemTotal: 1984200 kB
            MemFree: 1637484 kB
            Buffers: 24416 kB
            Cached: 153768 kB
            SwapCached: 0 kB
            Active: 128940 kB
            Inactive: 154336 kB
            Active(anon): 105440 kB
            Inactive(anon): 2856 kB
            Active(file): 23500 kB
            Inactive(file): 151480 kB
            Unevictable: 0 kB
            Mlocked: 0 kB
            SwapTotal: 2096124 kB
            SwapFree: 2096124 kB
            Dirty: 480 kB
            Writeback: 0 kB
            AnonPages: 105236 kB
            Mapped: 51972 kB
            Shmem: 3156 kB
            Slab: 23200 kB
            SReclaimable: 10980 kB
            SUnreclaim: 12220 kB
            KernelStack: 1584 kB
            PageTables: 9728 kB
            NFS_Unstable: 0 kB
            Bounce: 0 kB
            WritebackTmp: 0 kB
            CommitLimit: 3088224 kB
            Committed_AS: 328232 kB
            VmallocTotal: 34359738367 kB
            VmallocUsed: 308324 kB
            VmallocChunk: 34359410684 kB
            HardwareCorrupted: 0 kB
            HugePages_Total: 0
            HugePages_Free: 0
            HugePages_Rsvd: 0
            HugePages_Surp: 0
            Hugepagesize: 2048 kB
            DirectMap4k: 28672 kB
            DirectMap2M: 1994752 kB

            Is it Enabled ?

            Comment


            • #36
              Originally posted by toplinuxsir View Post
              $ cat /proc/meminfo


              DirectMap2M: 1994752 kB

              Is it Enabled ?
              looks that way

              I don't know why I didn't think of it before but this is a better way to see if it is enabled.

              cat /sys/kernel/mm/transparent_hugepage/enabled

              Comment


              • #37
                Originally posted by evolution View Post
                Does this patch works with 2.6.36? First time I tried it (when it was released), it didn't apply to my 2.6.36.2 kernel...
                I'd like to try it with my "customized patchset" kernel... (PF + BFS testing features not present in CK).

                Cheers
                you could try an older patch like #31

                Comment


                • #38
                  Transparent Hugepage Support patch #33 is out!

                  It applies to kernel 2.6.37-rc5. I think its a little faster but it may just be due to video driver updates from previous kernel release candidates

                  Comment


                  • #39
                    In my os there is no /sys/kernel/mm/transparent_hugepage

                    Originally posted by Obscene_CNN View Post
                    looks that way

                    I don't know why I didn't think of it before but this is a better way to see if it is enabled.

                    cat /sys/kernel/mm/transparent_hugepage/enabled
                    I compiled kernel 2.6.37.rc4 with patch transparent_huge_page.32
                    But In my system there is no directory /sys/kernel/mm/transparent_hugepage

                    how to enable transparent_hugepages ?

                    Comment


                    • #40
                      Originally posted by toplinuxsir View Post
                      I compiled kernel 2.6.37.rc4 with patch transparent_huge_page.32
                      But In my system there is no directory /sys/kernel/mm/transparent_hugepage

                      how to enable transparent_hugepages ?
                      toplinuxsir,

                      Did you enable the support in your config before you compiled it?

                      Comment

                      Working...
                      X