From owner-freebsd-questions@freebsd.org Fri Mar 3 01:22:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 422D1CF6574 for ; Fri, 3 Mar 2017 01:22:23 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [88.198.212.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A5EB1A10 for ; Fri, 3 Mar 2017 01:22:22 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (unknown [IPv6:2601:18a:c301:8eee:d1b5:69a:4c70:aaec]) by hz.citrin.ru (Postfix) with ESMTPSA id 105E829A345 for ; Fri, 3 Mar 2017 01:22:20 +0000 (UTC) Subject: Re: speeding up pxe netboot To: freebsd-questions@freebsd.org References: From: Anton Yuzhaninov Message-ID: Date: Thu, 2 Mar 2017 20:22:16 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1488504141; bh=JcVr6zNONSnpRQjq2u+2xlMo0EN/TYBIreYoqNlnkzU=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kbryCwf9/MBhNNm82JX1COkZcv2asOUPe/Yuzc+T6rDNPGKDWB1SbRIpi/AODvfR1Ymmt4yi7iqxzWBbydHSm810XJ3EPzVfq7mbmfbnbglZB+7nDKMouNg5VgsV2l1wd0G/u4k5SRJi31ubQ37fJl3f9i9uUk1/3XptGr0fyP4= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 01:22:23 -0000 On 03/02/17 15:13, Mike Tancsa wrote: > The slow part seems to be on the boot up from > /boot/kernel/kernel text=0x1532060 \ .... > Nothing in the tcpdumpd jumps out > > 12:08:23.719761 IP 10.0.0.42.987 > 10.0.0.1.2049: NFS request xid 738 > 104 lookup fh > Unknown/888D10CADE13D1BC0A0018680400000059813E000000000000000000 > "kernel" > 12:08:23.719924 IP 10.0.0.1.2049 > 10.0.0.42.987: NFS reply xid 738 > reply ok 236 lookup fh > Unknown/888D10CADE13D1BC0A00018004000000568B3E000000000000000000 1. May be there a big delay after tftp request for pxeboot and starting NFS transfer? Try to check tcpdump starting from dhcp/pxe requests. 2. Try to increase nfs.read_size, see pxeboot(8).