Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 15:12:28 +0300
From:      Urmas Lett <urmas.lett@eenet.ee>
To:        Ivan Klymenko <fidaj@ukr.net>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: ffmpeg & ULE
Message-ID:  <4E9D6D2C.9060306@eenet.ee>
In-Reply-To: <20111018143012.66cdbbf8@nonamehost.>
References:  <4E9D4124.9000307@eenet.ee> <20111018143012.66cdbbf8@nonamehost.>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/18/2011 2:30 PM, Ivan Klymenko wrote:
>
> probably because you have a system processor with 2 cores...?
> if yes - then use the 4BSD...it is better for the two cores... IMHO

Hi,

In reality, I have 4 cores:
CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (3093.05-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  2
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  6

with sched_ule, top -H shows computer being 40.2% idle:

CPU:  0.0% user, 59.8% nice,  0.0% system,  0.0% interrupt, 40.2% idle
Mem: 153M Active, 181M Inact, 499M Wired, 120K Cache, 409M Buf, 3024M Free
Swap: 4096M Total, 4096M Free

   PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
  1187 root      52   20   279M   153M uwait   3   0:30 41.16% 
ffmpeg{ffmpeg}
  1187 root     101   20   279M   153M RUN     0   0:21 31.59% 
ffmpeg{ffmpeg}
  1187 root      52   20   279M   153M uwait   1   0:17 29.20% 
ffmpeg{ffmpeg}
  1187 root     100   20   279M   153M CPU0    0   0:17 28.76% 
ffmpeg{ffmpeg}
  1187 root      52   20   279M   153M uwait   2   0:17 28.76% 
ffmpeg{ffmpeg}
  1187 root      52   20   279M   153M uwait   2   0:17 28.37% 
ffmpeg{ffmpeg}
  1187 root      52   20   279M   153M uwait   2   0:17 27.98% 
ffmpeg{ffmpeg}
  1187 root      52   20   279M   153M uwait   2   0:17 26.37% 
ffmpeg{ffmpeg}
  1176 root      20    0 67992K  5396K select  2   0:00  0.00% sshd

with sched_bsd:
CPU:  0.0% user, 97.6% nice,  0.0% system,  0.3% interrupt,  2.1% idle
Mem: 153M Active, 16M Inact, 445M Wired, 120K Cache, 364M Buf, 3242M Free
Swap: 4096M Total, 4096M Free

   PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
  1201 root      69   20   279M   152M CPU2    0   0:20 75.23% 
ffmpeg{ffmpeg}
  1201 root      66   20   279M   152M CPU1    1   0:14 51.30% 
ffmpeg{ffmpeg}
  1201 root      67   20   279M   152M RUN     3   0:11 42.47% 
ffmpeg{ffmpeg}
  1201 root      66   20   279M   152M CPU3    2   0:10 41.17% 
ffmpeg{ffmpeg}
  1201 root      66   20   279M   152M RUN     2   0:10 40.83% 
ffmpeg{ffmpeg}
  1201 root      66   20   279M   152M RUN     1   0:10 40.83% 
ffmpeg{ffmpeg}
  1201 root      66   20   279M   152M RUN     2   0:10 40.63% 
ffmpeg{ffmpeg}
  1201 root      66   20   279M   152M RUN     0   0:10 40.49% 
ffmpeg{ffmpeg}
  1191 root      40    0 67992K  5352K select  2   0:00  0.00% sshd



-- 
Urmas Lett

Tel:    +(372) 7 302 110
Fax:    +(372) 7 302 111
E-Mail: urmas.lett@eenet.ee



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9D6D2C.9060306>