From owner-freebsd-current@FreeBSD.ORG Wed Feb 22 09:05:36 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5C72106564A for ; Wed, 22 Feb 2012 09:05:36 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8188B8FC15 for ; Wed, 22 Feb 2012 09:05:36 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so12578925obc.13 for ; Wed, 22 Feb 2012 01:05:36 -0800 (PST) Received-SPF: pass (google.com: domain of m.e.sanliturk@gmail.com designates 10.182.188.36 as permitted sender) client-ip=10.182.188.36; Authentication-Results: mr.google.com; spf=pass (google.com: domain of m.e.sanliturk@gmail.com designates 10.182.188.36 as permitted sender) smtp.mail=m.e.sanliturk@gmail.com; dkim=pass header.i=m.e.sanliturk@gmail.com Received: from mr.google.com ([10.182.188.36]) by 10.182.188.36 with SMTP id fx4mr18030706obc.7.1329901536073 (num_hops = 1); Wed, 22 Feb 2012 01:05:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dTHJ355ydXKTg+VM8ThqEyCbqEsi2+SW5uvwjZ9/Q6k=; b=RI1EMOEvRtUyibLQZUPY0/spSUQwU5+M+G0QbYubxohxJYJtcJGHyvXgBwJsrxCIK2 MrGye71f77aLwNuuNsctN4nxfW+OjdIuREcoKgfmPS7yrSfnCekWdzGVFnhpGsY2zcRR 2zSs6FbDkX9Xis0j76/AXD294dy4hk77z0PaI= MIME-Version: 1.0 Received: by 10.182.188.36 with SMTP id fx4mr15307668obc.7.1329901535984; Wed, 22 Feb 2012 01:05:35 -0800 (PST) Received: by 10.182.38.38 with HTTP; Wed, 22 Feb 2012 01:05:35 -0800 (PST) In-Reply-To: <4F3B7F16.4090401@omnilan.de> References: <4F3B7F16.4090401@omnilan.de> Date: Wed, 22 Feb 2012 04:05:35 -0500 Message-ID: From: Mehmet Erol Sanliturk To: Harald Schmalzbauer Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Current Subject: Re: Effect of Processor and Memory on KDE4 execution speed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 09:05:36 -0000 On Wed, Feb 15, 2012 at 4:47 AM, Harald Schmalzbauer < h.schmalzbauer@omnilan.de> wrote: > schrieb Mehmet Erol Sanliturk am 14.02.2012 15:39 (localtime): > > Dear All , > > > > Today I have encountered a case which I think informing you about it may > be > > useful . > > > > In my previous messages , I have mentioned very slowness of KDE4 . > > > > > > Onto another computer I have installed DruidBSD 9.0 b56 amd64 , and KDE4 > . > > In that installation KDE4 worked surprisingly fast . > > > > To understand whether difference is among FreeBSD or DruidBSD , I have > > installed > > FreeBSD 9.0 Release amd64 and KDE4 on the same computer instead of > DruidBSD > > . > > > > The KDE4 has worked flawlesly i.e. , means very fast . > > > > To make equivalent the installations on both computers , I have installed > > FreeBSD 9.0 Release amd64 and KDE4 on the slow computer exactly as in > fast > > computer . > > > > > > Starting times after first boot ( to eliminate initialization effects ) > are > > the following > > ( All timings are from "root" ) : > > > > > > >From "startx" ( which contains "exec ... kde4 ..." ) > > to appearance of KDE menu symbol at the bottom left corner : > > > > > > Fast computer : 8 GB : 0+ ( < 1 ) minute ( 4 x 2 GB ) > > Slow computer : 4 GB : 2+ ( < 3 ) minutes ( 2 x 2 GB ) ( 2 x ! GB chips > > removed ) , > > 6 GB : 8+ ( < 9 ) minutes ( 2 x ( 2 , 1 ) GB ) . > > ( Memory chip installation conforms to main board manual > . ) > > ( The clock does not have second counter . ) > > > > Fast Computer > > CPU : Intel Pentium Dual CPU E2220 @ 2.40 GHz ( 2397.65-MHz K-8class > CPU ) > > ACPI APIC Table : < INTEL DG965WH > > > > > Slow Computer > > CPU : Intel Core 2 QUAD CPU Q6600 @ 2.40 GHz ( 2397.65-MHz K-8class > CPU ) > > ACPI APIC Table : < INTEL DG965WH > > > > > ( The main boards are the same ) . > > ( All of the memory chips are the same : Kingston HyperX 800 MHz ) > > > > > > > > I could not understand the reason(s) of the differences . > > > > > > Boot DMESG outputs are attached . > > > > Compare 'sysctl kern.timecounter'. > That's the only difference I could see. Also, I'd try to disable two > cores in the bios of the quad-core machine and see if it changes > anything. Just to rule out scheduler issues. > > Have you tried memtest86 to see if RAM throughput and CPU-cache rates > are comparable? > > -Harry > > > I have installed FreeBSD 9.0 Release i386 to understand whether there is a difference between amd64 and i386 KDE4 execution speeds : The results are as follows : CPU : E2220 Memory : 1 x 2 GB Memory ( slot 0 ) From E2220 computer : Good chip ( Channel A ) 1 x 2 GB Memory ( slot 0 ) From Q6600 computer : Suspected chip ( Channel B ) 2 x 1 GB Memory ( slots 1 ) From Q6600 computer : Suspected chips From "startx" to ( K ) Symbol : 0+ ( < 1 ) minute kern.timecounter.tick: 1 kern.timecounter.choice: TSC-low(1000) i8254(0) ACPI-fast(900) dummy(-1000000) kern.timecounter.hardware: TSC-low kern.timecounter.stepwarnings: 0 kern.timecounter.tc.ACPI-fast.mask: 16777215 kern.timecounter.tc.ACPI-fast.counter: 579674 kern.timecounter.tc.ACPI-fast.frequency: 3579545 kern.timecounter.tc.ACPI-fast.quality: 900 kern.timecounter.tc.i8254.mask: 65535 kern.timecounter.tc.i8254.counter: 51061 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.TSC-low.mask: 4294967295 kern.timecounter.tc.TSC-low.counter: 1581793778 kern.timecounter.tc.TSC-low.frequency: 9365834 kern.timecounter.tc.TSC-low.quality: 1000 kern.timecounter.smp_tsc: 1 kern.timecounter.invariant_tsc: 1 It is possible to say that the difference is very large : Less than 1 minute versus greater than ( from 8 to 10 ) minutes . In all of my FreeBSD i386 installs , execution was very fast , but I am not installing and using i386 mode . Thank you very much . Mehmet Erol Sanliturk