From owner-soc-status@FreeBSD.ORG Thu Jul 14 15:02:25 2011 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A15106566C for ; Thu, 14 Jul 2011 15:02:25 +0000 (UTC) (envelope-from gockzy@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7E12F8FC14 for ; Thu, 14 Jul 2011 15:02:25 +0000 (UTC) Received: by ewy1 with SMTP id 1so273431ewy.13 for ; Thu, 14 Jul 2011 08:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=/QnT1pmQqfETZwr1iqWvJYwCumq/z22CNzMcrS9xETM=; b=ULtIX69LwrG/wpTQB4uYFjecYQn2OtPWzr0GQSu23gQ5wLtFbLvPsArr4hsdQ4P/uQ 8ngrnTtQN1zFjIQMul7Eb9qJa97eNXlvNWBCE4e5bWRprrD5cMvEBQVaDpjIn0zO3JqL vKQYurMGNmM6NOKKyyV5WGyLBRGLvOB5vIavQ= Received: by 10.213.27.198 with SMTP id j6mr851743ebc.88.1310655744294; Thu, 14 Jul 2011 08:02:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.8.66 with HTTP; Thu, 14 Jul 2011 08:02:04 -0700 (PDT) From: Kazuya Goda Date: Fri, 15 Jul 2011 00:02:04 +0900 Message-ID: To: soc-status@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [status report] RPS/RFS #week7 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2011 15:02:26 -0000 Hi, The project goal is to implement RPS/RFS on FreeBSD. RPS solves the problem of mono-queue NIC which can't distribute packets across multiple processors. RFS is the extension of RPS, which deliver packets to the CPU where application running. This week status: *Name change RFS emulate RSS so I changed name to Soft RSS. *Default parameters Soft RSS require net.isr.bindthread=1 and net.isr.numthreads=mp_ncpu. I insert code If enable Soft RSS, that parameters are set in netisr_init(). It work but I know that this is not good. *add net.inet.softrss.maxflows Soft RSS has two tables. This table size is set by "#define" so it's not change. I add sysctl parameter "net.inet.softrss.maxflows" that it's possible to change the size. Next week: * Possible to change net.isr.numthreads --Kazuya Goda