Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TLvmE-0007hC-6h for pgsql-performance@postgresql.org; Wed, 10 Oct 2012 12:52:42 +0000 Received: from smtp2.peak6.com ([38.98.137.9]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TLvmB-0005X4-Ot for pgsql-performance@postgresql.org; Wed, 10 Oct 2012 12:52:40 +0000 X-AuditID: 0a02cb1e-b7f4d6d0000008be-91-50756e9ae800 Message-ID: <50756F95.7040006@optionshouse.com> Date: Wed, 10 Oct 2012 07:52:37 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Craig James CC: Subject: Re: Hyperthreading (was: Two identical systems, radically different performance) References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.201.64] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplleLIzCtJLcpLzFFi42LhSuEV052VVxpgsOmslsX+FVsZLa7PPMfs wORxZedxRo8L+6axBzBFNTDaJObl5ZcklqQqpKQWJ9sq+ReUZObnFXvklxanKrhkFifnJGbm phYpKWSm2CqZKykU5CQmp+am5pXYKiUWFKTmpSjZcSlgABugssw8hdS85PyUzLx0WyXPYH9d CwtTS11DJbt4ZJDQyZJxdccktoIzHBVvti1kbGBcztbFyMkhIWAiseDrQihbTOLCvfVANgcH r4C+xMkOJZAwi4CqxOR91xlBbDYBXYlJ/SvAyoUEVCT6zt5gArH5BYQl9n1oYgaxRQXCJN79 OsoKYvMKCEqcnPmEBcQWEVCX6OyaAVbPLKAmMffhJLAaYYFUifUHPwPVcAHNnMoo8XJqP9gC ToFAiVcrfrBCNNhKXJhznQXClpfY/nYOM8QRqhIrmidC3a8g8f/KO6YJjEKzkOyehaR9FpL2 BYzMqxjFi8sSkzMyzQqKc0sKDPUKUhOzzfTyUks2MYIil+m03A7GFRcUDzEKcDAq8fAalJQE CLEmlhVX5h5ilOBgVhLhNfUpDRDiTUmsrEotyo8vKs1JLT7EmAwMtInMUqLJ+cCkklcSb2hs aGlqaWJmaW5sbECasJI4r0KfUoCQQDow8WSnphakFsFsYeLglGpgFM9U+P7Py21FU/FbmWN8 KxbIev+9bbZ/0QYeZfabLqd262hYxQhvP3t0i/mynXPffmXc+zV65eb3/AGcm37bzXmffsph 3kXnnJ2sypL7jnSypf0Q1XG54d349eFZOXdmU4+7dbPW228uMPj2yUpN9Jht7+8wFp+tDkxS 4VKebe8eKzS1WS3XUmIpzkg01GIuKk4EAElaThMgAwAA X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/109 X-Sequence-Number: 48068 On 10/09/2012 06:30 PM, Craig James wrote: > ra:8192 walb:1M ra:256 walb:1M ra:256 walb:256kB > ---------------- ---------------- ----------------- > -c -t Run1 Run2 Run3 Run4 Run5 Run6 Run7 Run8 Run9 > 40 2500 4261 3722 4243 9286 9240 5712 9310 8530 8872 > 50 2000 4138 4399 3865 9213 9351 9578 8011 7651 8362 I think I speak for more than a few people here when I say: wat. About the only thing I can ask, is: did you make these tests fair? And by fair, I mean: echo 3 > /proc/sys/vm/drop_caches pg_ctl -D /your/pg/dir restart Between every test to make sure shared buffers and the OS inode cache was empty before the start of each test? If you're using that bash-style for-loop you attached earlier, probably not. Still though, I don't think that would account for this much variance between having read-ahead at 8M as opposed to 256kb. My head hurts. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-444-8534 sthomas@optionshouse.com ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email