Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 078D872D1 for ; Tue, 23 Aug 2011 19:02:52 +0000 (UTC) Received: (qmail 61994 invoked by uid 500); 23 Aug 2011 19:02:51 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 61927 invoked by uid 500); 23 Aug 2011 19:02:51 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 61912 invoked by uid 99); 23 Aug 2011 19:02:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 19:02:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Tue, 23 Aug 2011 19:02:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2DF87CC413 for ; Tue, 23 Aug 2011 19:02:29 +0000 (UTC) Date: Tue, 23 Aug 2011 19:02:29 +0000 (UTC) From: "Eric Caspole (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <221351013.6191.1314126149184.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1746887340.25025.1313005107547.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2243) DataXceiver per accept seems to be a bottleneck in HBase/YCSB test 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/HDFS-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089665#comment-13089665 ] Eric Caspole commented on HDFS-2243: ------------------------------------ OK, I will try that and re-profile it. > DataXceiver per accept seems to be a bottleneck in HBase/YCSB test > ------------------------------------------------------------------ > > Key: HDFS-2243 > URL: https://issues.apache.org/jira/browse/HDFS-2243 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 0.23.0 > Environment: Using Fedora 14 on a quad core phenom system > Reporter: Eric Caspole > Priority: Minor > Attachments: HDFS-2234-branch-0.20-append.patch, datanode-perf-110808.gif > > > I am running the YCSB benchmark against HBase, sometimes against a single node, sometimes against a cluster of 6 systems. As the load increases into thousands of TPS, especially on the single node, I can see that the datanode runs very high system time and seems to be bottlenecked by how fast it can create the threads to handle the new connections in DataXceiverServer.run. By "perf top" I can see the process spends about 12% of all its time in pthread_create, and in hprof profiles I can see there are tens of thousands of threads created in just a few minutes of test execution. > Does anyone else observe this bottleneck? Is there a major challenge to using a thread pool of DataXceivers in this situation? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira