Announcement

Collapse
No announcement yet.

FlashCache Kernel Support

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

  • FlashCache Kernel Support

    It would be nice to see FlashCache integrated into the cloudlinux kernel... Facebook released FlashCache to the general population and while it was designed to be for database servers, many benchmarks prove that it increases overall system performance of general web hosting servers.

    What it does is allow you to install a SSD into your system and the most frequently accessed data gets cached and pulled from the SSD... with this method you can have several large HDD drives or even a raid of HDD and enjoy the performance benefits of SSD.

    Melde dich bei Facebook an, um dich mit deinen Freunden, deiner Familie und Personen, die du kennst, zu verbinden und Inhalte zu teilen.



  • #2
    It is a module, you can compile/install it today. Just follow theirs instructions

    "yum install dkms gcc make yum-utils kernel-devel
    - CentOS kernel-headers/devel packages don include internal headers, weve got to configure the full source:
    yumdownloader --source kernel-`uname -r`
    sudo rpm -ivh kernel-`uname -r`.src.rpm
    "

    If we will have lots of people using it with success, we will include it in our kernel.

    Comment


    • #3
      # yumdownloader --source kernel-`uname -r`
      Loaded plugins: fastestmirror, rhnplugin
      Loading mirror speeds from cached hostfile
      * cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
      No source RPM found for kernel-2.6.32-320.4.1.lve1.1.4.el6.x86_64
      Nothing to download

      # uname -a
      Linux xxxxxxxxxxx.xxxxxxx.xxx 2.6.32-320.4.1.lve1.1.4.el6.x86_64 #1 SMP Wed Mar 7 06:32:27 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

      Comment


      • #4
        Hi,

        Im trying to compile flashcache, but Im getting an error, which I cannot resolve:

        root@battlestar [/usr/src/flashcache]# make -f Makefile.dkms KERNEL_TREE=/usr/src/kernels/2.6.32-379.11.1.lve1.1.9.8.2.el6.x86_64
        install -o root -g root -m 0755 -d /var/lib/dkms/flashcache/1.0-176-g8b1e2cb2eb65/source
        rsync -r src/ /var/lib/dkms/flashcache/1.0-176-g8b1e2cb2eb65/source/
        sed "s/PACKAGE_VERSION=/PACKAGE_VERSION=1.0-176-g8b1e2cb2eb65/" src/dkms.conf > "/var/lib/dkms/flashcache/1.0-176-g8b1e2cb2eb65/source/dkms.conf"
        dkms build -m flashcache -v 1.0-176-g8b1e2cb2eb65 -k 2.6.32-379.5.1.lve1.1.9.6.1.el6.x86_64 --kernelsourcedir=/usr/src/kernels/2.6.32-379.11.1.lve1.1.9.8.2.el6.x86_64
        Error! echo
        Your kernel headers for kernel 2.6.32-379.5.1.lve1.1.9.6.1.el6.x86_64 cannot be found at
        /lib/modules/2.6.32-379.5.1.lve1.1.9.6.1.el6.x86_64/build or /lib/modules/2.6.32-379.5.1.lve1.1.9.6.1.el6.x86_64/source.
        make: *** [build] Error 1
        root@battlestar [/usr/src/flashcache]#

        However the kernel source is there:

        root@battlestar [/usr/src/flashcache]# ls -la /usr/src/kernels/2.6.32-379.11.1.lve1.1.9.8.2.el6.x86_64/
        total 3348
        drwxr-xr-x 22 root root 4096 Nov 27 09:45 ./
        drwxr-xr-x. 3 root root 4096 Dec 1 13:24 . ./
        drwxr-xr-x 25 root root 4096 Nov 27 09:44 arch/
        drwxr-xr-x 2 root root 4096 Nov 27 09:44 block/
        -rw-r--r-- 1 root root 102487 Nov 27 09:45 .config
        -rw-r--r-- 1 root root 102487 Nov 19 15:42 .config.old
        drwxr-xr-x 5 root root 4096 Nov 27 09:44 crypto/
        drwxr-xr-x 89 root root 4096 Nov 27 09:44 drivers/
        drwxr-xr-x 2 root root 4096 Nov 27 09:44 firmware/
        drwxr-xr-x 71 root root 4096 Nov 27 09:44 fs/
        drwxr-xr-x 23 root root 4096 Nov 27 09:44 include/
        drwxr-xr-x 2 root root 4096 Nov 27 09:44 init/
        drwxr-xr-x 2 root root 4096 Nov 27 09:44 ipc/
        drwxr-xr-x 11 root root 4096 Nov 27 09:44 kernel/
        drwxr-xr-x 7 root root 4096 Nov 27 09:44 lib/
        -rw-r--r-- 1 root root 57043 Nov 19 15:42 Makefile
        -rw-r--r-- 1 root root 1087 Nov 19 15:42 Makefile.common
        drwxr-xr-x 2 root root 4096 Nov 27 09:44 mm/
        -rw-r--r-- 1 root root 673542 Nov 19 15:42 Module.symvers
        drwxr-xr-x 49 root root 4096 Nov 27 09:44 net/
        drwxr-xr-x 6 root root 4096 Nov 27 09:44 samples/
        drwxr-xr-x 12 root root 4096 Nov 27 09:44 scripts/
        drwxr-xr-x 7 root root 4096 Nov 27 09:44 security/
        drwxr-xr-x 21 root root 4096 Nov 27 09:44 sound/
        -rw-r--r-- 1 root root 2386302 Nov 19 15:42 System.map
        drwxr-xr-x 4 root root 4096 Nov 27 09:44 tools/
        drwxr-xr-x 2 root root 4096 Nov 27 09:44 usr/
        drwxr-xr-x 3 root root 4096 Nov 27 09:44 virt/
        root@battlestar [/usr/src/flashcache]#

        Any suggestions?

        Comment

        Working...
        X