Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tcache: common flash cache, like flashcache #1258

Open
caijieming-ng opened this issue May 12, 2017 · 1 comment
Open

Tcache: common flash cache, like flashcache #1258

caijieming-ng opened this issue May 12, 2017 · 1 comment

Comments

@caijieming-ng
Copy link
Collaborator

No description provided.

@caijieming-ng
Copy link
Collaborator Author

背景:
目前tera的ssd cache粒度是整个文件进行全量加载;当cache miss时,需要全量加载时,往往需要秒级的充cache速度,对cache不命中时的随机读延迟非常大。缺乏数据替换算法,当用户的数据量接近ssd总量时,存在ssd打满问题,降低系统稳定性;当用户数据大于ssd总体容量时(如存储全互联网网页数据),系统的ssd将难以作为此类应用的cache,导致此类应用的读性能严重下降(所有读都走dfs,性能非常糟糕)。
另一方面,参考facebook的flashcache的经验,利用ssd作为磁盘的cache,能在非常大的程度上解决磁盘随机读性能差的问题。因此,我们需要在tera层面,实现一个用户态的类似flashcache的缓存技术,解决当前tera的cache miss读延迟高,缺乏有效数据替换策略的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant