FlashCache Kernel Support
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Stephen Major
  2. Tuesday, 13 March 2012
  3.  Subscribe via email
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.

http://www.facebook.com/note.php?note_id=388112370932

https://github.com/facebook/flashcache
Rate this post:
  1. 14.03.2012 11:03:53
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1195
Joined: 09.02.2010
0
Votes
Undo
It is a module, you can compile/install it today. Just follow their\'s instructions


\"yum install dkms gcc make yum-utils kernel-devel
- CentOS kernel-headers/devel packages don\'t include internal headers, we\'ve 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.
  1. 01.06.2012 18:06:57
  2. # 2
Jose Bravo Accepted Answer
Posts: 1
Joined: 01.06.2012
0
Votes
Undo
# 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
  1. 01.12.2012 07:12:59
  2. # 3
Tamas DAJKA Accepted Answer
Posts: 6
Joined: 01.12.2012
0
Votes
Undo
Hi,

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


[email protected] [/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
[email protected] [/usr/src/flashcache]#


However the kernel source is there:


[email protected] [/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/
[email protected] [/usr/src/flashcache]#


Any suggestions?
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.