Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 63202 invoked from network); 11 Apr 2011 15:34:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 15:34:44 -0000 Received: (qmail 51198 invoked by uid 500); 11 Apr 2011 15:34:43 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 51177 invoked by uid 500); 11 Apr 2011 15:34:43 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 51169 invoked by uid 99); 11 Apr 2011 15:34:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 15:34:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 15:34:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E38D39C916 for ; Mon, 11 Apr 2011 15:34:05 +0000 (UTC) Date: Mon, 11 Apr 2011 15:34:05 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1744449658.49299.1302536045928.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <28423466.4291291666150056.JavaMail.jira@thor> Subject: [jira] [Resolved] (CASSANDRA-1825) Separation of Data (Cached/Non-Cached) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-1825. --------------------------------------- Resolution: Later Fix Version/s: (was: 0.8) > Separation of Data (Cached/Non-Cached) > -------------------------------------- > > Key: CASSANDRA-1825 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1825 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Chris Goffinet > > At the moment Cassandra goes through the ROW-READ stage to fetch data from the page cache, and if it's not in the page cache, it goes to disk. > Data that is currently hot (in page cache) will block if all I/O threads are busy reading from disk. We should seriously look at implementing a buffer pool similar to MySQL for storing data in-memory, and our I/O threads be dedicated to just going to disk. I suggest studying how InnoDB does scheduling as well, they have good lessons to learn from. > Scaling I/O by thread's isn't going to be a good solution here either. I would argue that going past 64 threads for I/O is just going to hurt overall performance based on context switching. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira