ffmpeg & ULE

classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

ffmpeg & ULE

Urmas Lett
Hello.

Why is ffmpeg -threads massively slower with ULE than 4BSD?

ffmpeg preset veryfast with sched_bsd:
real    1m49.407s
user    6m53.932s
sys     0m1.700s

ffmpeg preset veryfast with sched_ule:
real    2m52.711s
user    6m50.310s
sys     0m1.582s

#uname -a
FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST


--
Urmas Lett

Tel:    +(372) 7 302 110
Fax:    +(372) 7 302 111
E-Mail: [hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
В Tue, 18 Oct 2011 12:04:36 +0300
Urmas Lett <[hidden email]> пишет:

> Hello.
>
> Why is ffmpeg -threads massively slower with ULE than 4BSD?
>
> ffmpeg preset veryfast with sched_bsd:
> real    1m49.407s
> user    6m53.932s
> sys     0m1.700s
>
> ffmpeg preset veryfast with sched_ule:
> real    2m52.711s
> user    6m50.310s
> sys     0m1.582s
>
> #uname -a
> FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST
>
>

probably because you have a system processor with 2 cores...?
if yes - then use the 4BSD...it is better for the two cores... IMHO
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Urmas Lett
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: [hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Steven Hartland
What happens if you either:
1. disable HT in the bios
2. limit the threads to 4?

    Regards
    Steve
----- Original Message -----
From: "Urmas Lett" <[hidden email]>
To: "Ivan Klymenko" <[hidden email]>
Cc: <[hidden email]>
Sent: Tuesday, October 18, 2011 1:12 PM
Subject: Re: ffmpeg & ULE


> 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: [hidden email]
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to "[hidden email]"
>

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to [hidden email].

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Andriy Gapon
In reply to this post by Urmas Lett
on 18/10/2011 14:30 Ivan Klymenko said the following:

> В Tue, 18 Oct 2011 12:04:36 +0300
> Urmas Lett <[hidden email]> пишет:
>
>> Hello.
>>
>> Why is ffmpeg -threads massively slower with ULE than 4BSD?
>>
>> ffmpeg preset veryfast with sched_bsd:
>> real    1m49.407s
>> user    6m53.932s
>> sys     0m1.700s
>>
>> ffmpeg preset veryfast with sched_ule:
>> real    2m52.711s
>> user    6m50.310s
>> sys     0m1.582s
>>
>> #uname -a
>> FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST
>>
>>
>
> probably because you have a system processor with 2 cores...?
> if yes - then use the 4BSD...it is better for the two cores... IMHO

Do you have any facts to substantiate your claim?

--
Andriy Gapon
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Urmas Lett
In reply to this post by Steven Hartland
On 10/18/2011 3:36 PM, Steven Hartland wrote:
> What happens if you either:
> 1. disable HT in the bios

Intel says i5-2400 has no HT:
Processor Number i5-2400
# of Cores 4
# of Threads 4

and BIOS has no HT disable knob

> 2. limit the threads to 4?

ffmpeg -threads 4 (sched_ule):

real    3m19.379s (with -threads 0 was 2m52.711s)
user    6m50.107s (with -threads 0 was 6m50.310s)
sys     0m1.507s

top -H:
CPU:  0.0% user, 55.8% nice,  0.4% system,  0.0% interrupt, 43.8% idle
Mem: 136M Active, 884M Inact, 498M Wired, 84K Cache, 409M Buf, 2339M Free
Swap: 4096M Total, 4096M Free

   PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
  1178 root      52   20   255M   140M uwait   1   1:05 51.17%
ffmpeg{ffmpeg}
  1178 root     103   20   255M   140M CPU0    1   0:59 37.60%
ffmpeg{ffmpeg}
  1178 root      52   20   255M   140M uwait   3   0:59 37.16%
ffmpeg{ffmpeg}
  1178 root      52   20   255M   140M uwait   3   0:59 34.38%
ffmpeg{ffmpeg}
  1178 root      52   20   255M   140M uwait   2   0:54 33.59%
ffmpeg{ffmpeg}
  1178 root     102   20   255M   140M CPU2    0   0:46 32.37%
ffmpeg{ffmpeg}
  1171 root      20    0 67992K  5516K select  2   0:00  0.00% sshd


regards,
Urmas Lett

Tel:    +(372) 7 302 110
Fax:    +(372) 7 302 111
E-Mail: [hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
In reply to this post by Andriy Gapon
В Tue, 18 Oct 2011 16:00:48 +0300
Andriy Gapon <[hidden email]> пишет:

> on 18/10/2011 14:30 Ivan Klymenko said the following:
> > В Tue, 18 Oct 2011 12:04:36 +0300
> > Urmas Lett <[hidden email]> пишет:
> >
> >> Hello.
> >>
> >> Why is ffmpeg -threads massively slower with ULE than 4BSD?
> >>
> >> ffmpeg preset veryfast with sched_bsd:
> >> real    1m49.407s
> >> user    6m53.932s
> >> sys     0m1.700s
> >>
> >> ffmpeg preset veryfast with sched_ule:
> >> real    2m52.711s
> >> user    6m50.310s
> >> sys     0m1.582s
> >>
> >> #uname -a
> >> FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST
> >>
> >>
> >
> > probably because you have a system processor with 2 cores...?
> > if yes - then use the 4BSD...it is better for the two cores... IMHO
>
> Do you have any facts to substantiate your claim?
>

well, for example:
http://img37.imageshack.us/img37/9311/plotj.gif
http://img850.imageshack.us/img850/584/plot.gif
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Steven Hartland
In reply to this post by Urmas Lett

----- Original Message -----
From: "Urmas Lett" <[hidden email]>


> On 10/18/2011 3:36 PM, Steven Hartland wrote:
>> What happens if you either:
>> 1. disable HT in the bios
>
> Intel says i5-2400 has no HT:
> Processor Number i5-2400
> # of Cores 4
> # of Threads 4
>
> and BIOS has no HT disable knob

Ahh yes of course.

>
>> 2. limit the threads to 4?
>
> ffmpeg -threads 4 (sched_ule):
>
> real    3m19.379s (with -threads 0 was 2m52.711s)
> user    6m50.107s (with -threads 0 was 6m50.310s)
> sys     0m1.507s
>
> top -H:
> CPU:  0.0% user, 55.8% nice,  0.4% system,  0.0% interrupt, 43.8% idle
> Mem: 136M Active, 884M Inact, 498M Wired, 84K Cache, 409M Buf, 2339M Free
> Swap: 4096M Total, 4096M Free
>
>   PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
>  1178 root      52   20   255M   140M uwait   1   1:05 51.17%
> ffmpeg{ffmpeg}
>  1178 root     103   20   255M   140M CPU0    1   0:59 37.60%
> ffmpeg{ffmpeg}
>  1178 root      52   20   255M   140M uwait   3   0:59 37.16%
> ffmpeg{ffmpeg}
>  1178 root      52   20   255M   140M uwait   3   0:59 34.38%
> ffmpeg{ffmpeg}
>  1178 root      52   20   255M   140M uwait   2   0:54 33.59%
> ffmpeg{ffmpeg}
>  1178 root     102   20   255M   140M CPU2    0   0:46 32.37%
> ffmpeg{ffmpeg}
>  1171 root      20    0 67992K  5516K select  2   0:00  0.00% sshd

That seems to be using 6 threads not 4, what about -threads 2?

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to [hidden email].

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Urmas Lett
On 10/18/2011 4:26 PM, Steven Hartland wrote:

>
> ----- Original Message ----- From: "Urmas Lett" <[hidden email]>
>
>
>> On 10/18/2011 3:36 PM, Steven Hartland wrote:
>>> What happens if you either:
>>> 1. disable HT in the bios
>>
>> Intel says i5-2400 has no HT:
>> Processor Number i5-2400
>> # of Cores 4
>> # of Threads 4
>>
>> and BIOS has no HT disable knob
>
> Ahh yes of course.
>
>>
>>> 2. limit the threads to 4?
>>
>> ffmpeg -threads 4 (sched_ule):
>>
>> real 3m19.379s (with -threads 0 was 2m52.711s)
>> user 6m50.107s (with -threads 0 was 6m50.310s)
>> sys 0m1.507s
>>
>> top -H:
>> CPU: 0.0% user, 55.8% nice, 0.4% system, 0.0% interrupt, 43.8% idle
>> Mem: 136M Active, 884M Inact, 498M Wired, 84K Cache, 409M Buf, 2339M Free
>> Swap: 4096M Total, 4096M Free
>>
>> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
>> 1178 root 52 20 255M 140M uwait 1 1:05 51.17% ffmpeg{ffmpeg}
>> 1178 root 103 20 255M 140M CPU0 1 0:59 37.60% ffmpeg{ffmpeg}
>> 1178 root 52 20 255M 140M uwait 3 0:59 37.16% ffmpeg{ffmpeg}
>> 1178 root 52 20 255M 140M uwait 3 0:59 34.38% ffmpeg{ffmpeg}
>> 1178 root 52 20 255M 140M uwait 2 0:54 33.59% ffmpeg{ffmpeg}
>> 1178 root 102 20 255M 140M CPU2 0 0:46 32.37% ffmpeg{ffmpeg}
>> 1171 root 20 0 67992K 5516K select 2 0:00 0.00% sshd
>
> That seems to be using 6 threads not 4, what about -threads 2?

real    3m7.826s
user    6m49.813s
sys     0m1.581s

CPU:  0.0% user, 57.9% nice,  0.0% system,  0.0% interrupt, 42.1% idle
Mem: 116M Active, 18M Inact, 457M Wired, 112K Cache, 376M Buf, 3265M Free
Swap: 4096M Total, 4096M Free

   PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
  1224 root     106   10   223M   117M CPU2    2   0:33 79.98%
ffmpeg{ffmpeg}
  1224 root      52   10   223M   117M uwait   1   0:31 76.76%
ffmpeg{ffmpeg}
  1224 root      94   10   223M   117M CPU3    3   0:20 40.77%
ffmpeg{ffmpeg}
  1224 root      90   10   223M   117M CPU1    0   0:14 28.76%
ffmpeg{ffmpeg}
  1215 root      20    0 67992K  5516K select  2   0:00  0.00% sshd


Regards,
Urmas Lett

Tel:    +(372) 7 302 110
Fax:    +(372) 7 302 111
E-Mail: [hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
In reply to this post by Ivan Klymenko
В Tue, 18 Oct 2011 17:03:51 +0300
Andriy Gapon <[hidden email]> пишет:

> on 18/10/2011 16:26 Ivan Klymenko said the following:
> > В Tue, 18 Oct 2011 16:00:48 +0300
> > Andriy Gapon <[hidden email]> пишет:
> >
> >> on 18/10/2011 14:30 Ivan Klymenko said the following:
> >>> В Tue, 18 Oct 2011 12:04:36 +0300
> >>> Urmas Lett <[hidden email]> пишет:
> >>>
> >>>> Hello.
> >>>>
> >>>> Why is ffmpeg -threads massively slower with ULE than 4BSD?
> >>>>
> >>>> ffmpeg preset veryfast with sched_bsd:
> >>>> real    1m49.407s
> >>>> user    6m53.932s
> >>>> sys     0m1.700s
> >>>>
> >>>> ffmpeg preset veryfast with sched_ule:
> >>>> real    2m52.711s
> >>>> user    6m50.310s
> >>>> sys     0m1.582s
> >>>>
> >>>> #uname -a
> >>>> FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST
> >>>>
> >>>>
> >>>
> >>> probably because you have a system processor with 2 cores...?
> >>> if yes - then use the 4BSD...it is better for the two cores...
> >>> IMHO
> >>
> >> Do you have any facts to substantiate your claim?
> >>
> >
> > well, for example:
> > http://img37.imageshack.us/img37/9311/plotj.gif
> > http://img850.imageshack.us/img850/584/plot.gif
>
> Not sure if two pictures is all that it takes.
> There is no description of hardware, OS versions, reproducibility of
> the results. Also you made a broader claim like "4BSD ... is better
> for the two cores", but the pictures demonstrate only that it is
> better (by ~10% ? I hate it when the axises do not start at zero)

http://forum.lissyara.su/viewtopic.php?p=305269#p305269

> only for transactions/s in postgresql sysbench.  There are other
> workloads and other important things to measure (like interactivity,
> etc).
>
> Good benchmarking is a real science.
>
Of course - I understand it.
Please tell me what tests should I do?
I will give you the test results for review.
I also give all the information about the hardware on which the tests
were conducted.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
В Tue, 18 Oct 2011 17:22:29 +0300
Andriy Gapon <[hidden email]> пишет:

> on 18/10/2011 17:17 Ivan Klymenko said the following:
> > В Tue, 18 Oct 2011 17:03:51 +0300
> > Andriy Gapon <[hidden email]> пишет:
> >
> >> on 18/10/2011 16:26 Ivan Klymenko said the following:
> >>> В Tue, 18 Oct 2011 16:00:48 +0300
> >>> Andriy Gapon <[hidden email]> пишет:
> >>>
> >>>> on 18/10/2011 14:30 Ivan Klymenko said the following:
> >>>>> В Tue, 18 Oct 2011 12:04:36 +0300
> >>>>> Urmas Lett <[hidden email]> пишет:
> >>>>>
> >>>>>> Hello.
> >>>>>>
> >>>>>> Why is ffmpeg -threads massively slower with ULE than 4BSD?
> >>>>>>
> >>>>>> ffmpeg preset veryfast with sched_bsd:
> >>>>>> real    1m49.407s
> >>>>>> user    6m53.932s
> >>>>>> sys     0m1.700s
> >>>>>>
> >>>>>> ffmpeg preset veryfast with sched_ule:
> >>>>>> real    2m52.711s
> >>>>>> user    6m50.310s
> >>>>>> sys     0m1.582s
> >>>>>>
> >>>>>> #uname -a
> >>>>>> FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> probably because you have a system processor with 2 cores...?
> >>>>> if yes - then use the 4BSD...it is better for the two cores...
> >>>>> IMHO
> >>>>
> >>>> Do you have any facts to substantiate your claim?
> >>>>
> >>>
> >>> well, for example:
> >>> http://img37.imageshack.us/img37/9311/plotj.gif
> >>> http://img850.imageshack.us/img850/584/plot.gif
> >>
> >> Not sure if two pictures is all that it takes.
> >> There is no description of hardware, OS versions, reproducibility
> >> of the results. Also you made a broader claim like "4BSD ... is
> >> better for the two cores", but the pictures demonstrate only that
> >> it is better (by ~10% ? I hate it when the axises do not start at
> >> zero)
> >
> > http://forum.lissyara.su/viewtopic.php?p=305269#p305269
> >
> >> only for transactions/s in postgresql sysbench.  There are other
> >> workloads and other important things to measure (like
> >> interactivity, etc).
> >>
> >> Good benchmarking is a real science.
> >>
> > Of course - I understand it.
> > Please tell me what tests should I do?
> > I will give you the test results for review.
> > I also give all the information about the hardware on which the
> > tests were conducted.
>
> That's a problem for me - I am not an expert in this area and have
> very little experience doing formal performance testing.
>

So how can I convince you to confirm that I am right?
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Adrian Chadd-2
In reply to this post by Ivan Klymenko
What is FBFS?



Adrian
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Garrett Cooper
On Tue, Oct 18, 2011 at 8:02 AM, Adrian Chadd <[hidden email]> wrote:
> What is FBFS?

http://ivoras.net/blog/tree/2011-07-13.testing-the-new-fbfs-scheduler.html
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Tom Evans-3
In reply to this post by Adrian Chadd-2
On Tue, Oct 18, 2011 at 4:02 PM, Adrian Chadd <[hidden email]> wrote:
> What is FBFS?
>

http://rudot.blog.com/2011/07/13/freebsd-fbfs-live-dvd-image-is-available-now/

Cheers

Tom
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Eduardo Morras
In reply to this post by Adrian Chadd-2
At 17:02 18/10/2011, Adrian Chadd wrote:
>What is FBFS?

It's the freebsd port of the Brain Fuck Scheduler. It's not strictly
a port because Ivan Voras and the GSoC student made some changes on
the algorithm.



>Adrian
>_______________________________________________
>[hidden email] mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-performance
>To unsubscribe, send any mail to "[hidden email]"


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
In reply to this post by Adrian Chadd-2
В Tue, 18 Oct 2011 23:02:47 +0800
Adrian Chadd <[hidden email]> пишет:

> What is FBFS?
>
>
>
> Adrian
:)
http://rudot.blog.com/
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
In reply to this post by Ivan Klymenko
В Tue, 18 Oct 2011 18:02:40 +0300
Andriy Gapon <[hidden email]> пишет:

> on 18/10/2011 17:38 Ivan Klymenko said the following:
> > В Tue, 18 Oct 2011 17:22:29 +0300
> > Andriy Gapon <[hidden email]> пишет:
> >
> >> on 18/10/2011 17:17 Ivan Klymenko said the following:
> >>> В Tue, 18 Oct 2011 17:03:51 +0300
> >>> Andriy Gapon <[hidden email]> пишет:
> >>>
> >>>> on 18/10/2011 16:26 Ivan Klymenko said the following:
> >>>>> В Tue, 18 Oct 2011 16:00:48 +0300
> >>>>> Andriy Gapon <[hidden email]> пишет:
> >>>>>
> >>>>>> on 18/10/2011 14:30 Ivan Klymenko said the following:
> >>>>>>> В Tue, 18 Oct 2011 12:04:36 +0300
> >>>>>>> Urmas Lett <[hidden email]> пишет:
> >>>>>>>
> >>>>>>>> Hello.
> >>>>>>>>
> >>>>>>>> Why is ffmpeg -threads massively slower with ULE than 4BSD?
> >>>>>>>>
> >>>>>>>> ffmpeg preset veryfast with sched_bsd:
> >>>>>>>> real    1m49.407s
> >>>>>>>> user    6m53.932s
> >>>>>>>> sys     0m1.700s
> >>>>>>>>
> >>>>>>>> ffmpeg preset veryfast with sched_ule:
> >>>>>>>> real    2m52.711s
> >>>>>>>> user    6m50.310s
> >>>>>>>> sys     0m1.582s
> >>>>>>>>
> >>>>>>>> #uname -a
> >>>>>>>> FreeBSD 9.0-RC1 FreeBSD 9.0-RC1 #0: Mon Oct 17 20:32:29 EEST
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>> probably because you have a system processor with 2 cores...?
> >>>>>>> if yes - then use the 4BSD...it is better for the two cores...
> >>>>>>> IMHO
> >>>>>>
> >>>>>> Do you have any facts to substantiate your claim?
> >>>>>>
> >>>>>
> >>>>> well, for example:
> >>>>> http://img37.imageshack.us/img37/9311/plotj.gif
> >>>>> http://img850.imageshack.us/img850/584/plot.gif
> >>>>
> >>>> Not sure if two pictures is all that it takes.
> >>>> There is no description of hardware, OS versions, reproducibility
> >>>> of the results. Also you made a broader claim like "4BSD ... is
> >>>> better for the two cores", but the pictures demonstrate only that
> >>>> it is better (by ~10% ? I hate it when the axises do not start at
> >>>> zero)
> >>>
> >>> http://forum.lissyara.su/viewtopic.php?p=305269#p305269
> >>>
> >>>> only for transactions/s in postgresql sysbench.  There are other
> >>>> workloads and other important things to measure (like
> >>>> interactivity, etc).
> >>>>
> >>>> Good benchmarking is a real science.
> >>>>
> >>> Of course - I understand it.
> >>> Please tell me what tests should I do?
> >>> I will give you the test results for review.
> >>> I also give all the information about the hardware on which the
> >>> tests were conducted.
> >>
> >> That's a problem for me - I am not an expert in this area and have
> >> very little experience doing formal performance testing.
> >>
> >
> > So how can I convince you to confirm that I am right?
>
> Right about what?
> I do not think that your postgresql tests (with about ~10% of maximal
> difference for a particular configuration) provide any insight into
> the reported ffmpeg results that started this topic.
>

What tests should I do with ffmpeg?
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Vincent Hoffman-Kazlauskas
In reply to this post by Ivan Klymenko
On 18/10/2011 16:24, Ivan Klymenko wrote:

> В Tue, 18 Oct 2011 23:02:47 +0800
> Adrian Chadd <[hidden email]> пишет:
>
>> What is FBFS?
>>
>>
>>
>> Adrian
> :)
> http://rudot.blog.com/
or
http://wiki.freebsd.org/RudolfTomori/rudotSoC2011

The blog entry was interesting in that it gives some context to the 2
images you previously posted as does the wiki entry.

Vince

> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to "[hidden email]"

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Andriy Gapon
In reply to this post by Ivan Klymenko
on 18/10/2011 18:27 Ivan Klymenko said the following:
> What tests should I do with ffmpeg?

I don't know - what the original poster did?
I.e. compare ffmpeg multithreaded performance with different schedulers.

--
Andriy Gapon
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & ULE

Ivan Klymenko
In reply to this post by Vincent Hoffman-Kazlauskas
В Tue, 18 Oct 2011 16:30:22 +0100
Vincent Hoffman <[hidden email]> пишет:

> On 18/10/2011 16:24, Ivan Klymenko wrote:
> > В Tue, 18 Oct 2011 23:02:47 +0800
> > Adrian Chadd <[hidden email]> пишет:
> >
> >> What is FBFS?
> >>
> >>
> >>
> >> Adrian
> > :)
> > http://rudot.blog.com/
> or
> http://wiki.freebsd.org/RudolfTomori/rudotSoC2011
>
> The blog entry was interesting in that it gives some context to the 2
> images you previously posted as does the wiki entry.
>
> Vince

they are very different four images - made on different systems
Forgive me for offtopic :(
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "[hidden email]"
12