[00:19:31] --- reuteras has become available [05:16:45] --- meffie has become available [06:47:55] --- deason has become available [06:59:45] --- meffie has left [06:59:51] --- meffie has become available [07:52:53] --- Simon Wilkinson has become available [08:08:22] --- ksumner has become available [08:14:31] --- Simon Wilkinson has left [10:03:07] --- jaltman has left: Disconnected [10:06:05] --- Simon Wilkinson has become available [10:18:14] --- rra has become available [10:34:03] --- ksumner has left [11:22:57] --- ksumner has become available [12:03:32] --- mfelliott16339 has left [12:05:57] --- mfelliott has become available [12:19:02] What's the status of in-memory cache for *nix clients, in particular Linux? [12:21:50] Mostly, I need to know if it's stable enough for use on my desktop and some non-critical servers. [12:29:28] It's stable. [12:29:39] Whether it's faster or not depends on your use case. [12:42:02] Thanks Simon. Is there a case where it's slower than disk cache? [12:42:18] ... assuming cache size is the same, of course. [12:44:22] Well, that's the crunch. Unless you have a ridiculous amount of memory, memcache won't be the same as disk cache. [12:44:55] There's also the consideration that that chunksize is typically smaller with memcache than with disk cache, so you've got more RPC overhead in your fileserver fetches. [12:45:55] On modern operating systems, disk cache really is a memory cache - just one with a big fat backing store behind it. [12:47:09] I see. [13:09:06] If I were deploying general-purpose systems, I would tend to use disk cache. [13:09:44] For applications where the data tends to only be read once, memcache is still a win. I'm working to try and get disk cache as close to memcache in terms of performance for those use cases, too. [13:11:34] --- meffie has left [13:14:45] Would a memcache (or portions of it) potentially be swapped out? [13:54:49] --- jaltman has become available [13:56:06] --- ksumner has left [14:04:42] Well, that depends on your kernel's memory allocator, and how we interact with it. On Linux, the memory cache is held in kernel memory, which won't get paged to disk. So, every byte you allocate to memory cache is a byte less of real memory available to your machine. [14:07:02] I believe memcache is effectively pinned on all UNIXen. Generally, if possible, I recommend running disk cache in a ramdisk over memcache; you get much better use of the same amount of memory that way. [14:29:13] --- ksumner has become available [14:39:03] ksumner: Did you see the previous two messages? [14:43:24] --- deason has left [14:43:24] --- deason has become available [14:44:33] --- deason has left [15:12:44] --- geekosaur has left [15:16:06] --- geekosaur has become available [15:54:28] --- jaltman has left: Disconnected [17:39:47] --- rra has left: Disconnected [18:02:13] --- Russ has become available [18:19:19] --- jaltman has become available [21:42:01] --- Russ has left: Disconnected [22:28:54] --- kula has left [22:54:04] --- jakllsch has left