Re: [PATCH 2/3] cyclictest: Fix the same priority method of many threads with -h option.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 30, 2009 at 11:56 AM, Sven-Thorsten
Dietrich<sven@xxxxxxxxxxxxxxxxxxxxx> wrote:
> When generating a histogram on multiple cores, the priority of
> cyclictest threads should be the same on each CPU.
Of course, But original cyclictest is different  test scenario using
many threads.

> This change would make the priority lower on higher CPU ids, resulting
> in apparent performance skew in favor of CPU0.
Um. I don't agree with your opinions because we can try  cyclictest
commands like belows
using "-h" option.

In other words,
If cyclictest user want to same priority about many threads ,
They can assign same priority  with belows method or additional  bash scripts.

For example,

case )  before remove your some patches
#> cyclictest -t 3    -p 90 -h -D 100 &[enter]

case )  after remove your some patches
#> cyclictest -t 1    -p 90 -h -D 100 &[enter]
#> cyclictest -t 1    -p 90 -h -D 100 &[enter]
#> cyclictest -t 1    -p 90 -h -D 100 &[enter]

or
#> define i=3; while ($i) do  cyclictest -t 1   -p 90 -h -D 100 & ;
$i-- ; done

I think that many users will confuse  output  results  because of the
differnece output style
between  "without -h" option and "with -h" option.
If I mistake , Pleasse correct me.

Thks.

-- 
Regards,
GeunSik Lim ( Samsung Electronics )
Blog : http://blog.naver.com/invain/
e-Mail: geunsik.lim@xxxxxxxxxxx
           leemgs@xxxxxxxxx , leemgs1@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux