public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] Reduce loop count to meet need of low performance platform
@ 2024-06-11  3:40 xufeifei via ltp
  2024-06-11  3:40 ` [LTP] [PATCH] Reduce loop count to meet need of low performance terminals xufeifei via ltp
  0 siblings, 1 reply; 5+ messages in thread
From: xufeifei via ltp @ 2024-06-11  3:40 UTC (permalink / raw)
  To: ltp

From xufeifei <xufeifei1@oppo.com> # This line is ignored.
From: xufeifei <xufeifei1@oppo.com>
Reply-To:
Subject: Reduce loop count to meet need of low performance platform
In-Reply-To:


________________________________
OPPO

±¾µç×ÓÓʼþ¼°Æä¸½¼þº¬ÓÐOPPO¹«Ë¾µÄ±£ÃÜÐÅÏ¢£¬½öÏÞÓÚÓʼþÖ¸Ã÷µÄÊÕ¼þÈË£¨°üº¬¸öÈ˼°Èº×飩ʹÓ᣽ûÖ¹ÈκÎÈËÔÚδ¾­ÊÚȨµÄÇé¿öÏÂÒÔÈκÎÐÎʽʹÓá£Èç¹ûÄú´íÊÕÁ˱¾Óʼþ£¬ÇÐÎð´«²¥¡¢·Ö·¢¡¢¸´ÖÆ¡¢Ó¡Ë¢»òʹÓñ¾ÓʼþÖ®Èκβ¿·Ö»òÆäËùÔØÖ®ÈκÎÄÚÈÝ£¬²¢ÇëÁ¢¼´ÒÔµç×ÓÓʼþ֪ͨ·¢¼þÈ˲¢É¾³ý±¾Óʼþ¼°Æä¸½¼þ¡£
ÍøÂçͨѶ¹ÌÓÐȱÏÝ¿ÉÄܵ¼ÖÂÓʼþ±»½ØÁô¡¢Ð޸ġ¢¶ªÊ§¡¢ÆÆ»µ»ò°üº¬¼ÆËã»ú²¡¶¾µÈ²»°²È«Çé¿ö£¬OPPO¶Ô´ËÀà´íÎó»òÒÅ©¶øÒýÖÂÖ®ÈκÎËðʧ¸Å²»³Ðµ£ÔðÈβ¢±£ÁôÓë±¾ÓʼþÏà¹ØÖ®Ò»ÇÐȨÀû¡£
³ý·ÇÃ÷ȷ˵Ã÷£¬±¾Óʼþ¼°Æä¸½¼þÎÞÒâ×÷ΪÔÚÈκιú¼Ò»òµØÇøÖ®ÒªÔ¼¡¢ÕÐÀ¿»ò³Ðŵ£¬ÒàÎÞÒâ×÷ΪÈκν»Ò×»òºÏ֮ͬÕýʽȷÈÏ¡£ ·¢¼þÈË¡¢ÆäËùÊô»ú¹¹»òËùÊô»ú¹¹Ö®¹ØÁª»ú¹¹»òÈκÎÉÏÊö»ú¹¹Ö®¹É¶«¡¢¶­Ê¡¢¸ß¼¶¹ÜÀíÈËÔ±¡¢Ô±¹¤»òÆäËûÈκÎÈË£¨ÒÔϳơ°·¢¼þÈË¡±»ò¡°OPPO¡±£©²»Òò±¾ÓʼþÖ®ÎóËͶø·ÅÆúÆäËùÏíÖ®ÈκÎȨÀû£¬Ò಻¶ÔÒò¹ÊÒâ»ò¹ýʧʹÓøõÈÐÅÏ¢¶øÒý·¢»ò¿ÉÄÜÒý·¢µÄËðʧ³Ðµ£ÈκÎÔðÈΡ£
ÎÄ»¯²îÒìÅû¶£ºÒòÈ«ÇòÎÄ»¯²îÒìÓ°Ï죬µ¥´¿ÒÔYES\OK»òÆäËû¼òµ¥´Ê»ãµÄ»Ø¸´²¢²»¹¹³É·¢¼þÈ˶ÔÈκν»Ò×»òºÏ֮ͬÕýʽȷÈÏ»ò½ÓÊÜ£¬ÇëÓë·¢¼þÈËÔÙ´ÎÈ·ÈÏÒÔ»ñµÃÃ÷È·ÊéÃæÒâ¼û¡£·¢¼þÈ˲»¶ÔÈκÎÊÜÎÄ»¯²îÒìÓ°Ïì¶øµ¼Ö¹ÊÒâ»ò´íÎóʹÓøõÈÐÅÏ¢ËùÔì³ÉµÄÈκÎÖ±½Ó»ò¼ä½ÓË𺦳е£ÔðÈΡ£
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you are not the intended recipient, please do not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
Electronic communications may contain computer viruses or other defects inherently, may not be accurately and/or timely transmitted to other systems, or may be intercepted, modified ,delayed, deleted or interfered. OPPO shall not be liable for any damages that arise or may arise from such matter and reserves all rights in connection with the email.
Unless expressly stated, this e-mail and its attachments are provided without any warranty, acceptance or promise of any kind in any country or region, nor constitute a formal confirmation or acceptance of any transaction or contract. The sender, together with its affiliates or any shareholder, director, officer, employee or any other person of any such institution (hereinafter referred to as "sender" or "OPPO") does not waive any rights and shall not be liable for any damages that arise or may arise from the intentional or negligent use of such information.
Cultural Differences Disclosure: Due to global cultural differences, any reply with only YES\OK or other simple words does not constitute any confirmation or acceptance of any transaction or contract, please confirm with the sender again to ensure clear opinion in written form. The sender shall not be responsible for any direct or indirect damages resulting from the intentional or misuse of such information.
________________________________
OPPO

本电子邮件及其附件含有OPPO公司的保密信息,仅限于邮件指明的收件人(包含个人及群组)使用。禁止任何人在未经授权的情况下以任何形式使用。如果您错收了本邮件,切勿传播、分发、复制、印刷或使用本邮件之任何部分或其所载之任何内容,并请立即以电子邮件通知发件人并删除本邮件及其附件。
网络通讯固有缺陷可能导致邮件被截留、修改、丢失、破坏或包含计算机病毒等不安全情况,OPPO对此类错误或遗漏而引致之任何损失概不承担责任并保留与本邮件相关之一切权利。
除非明确说明,本邮件及其附件无意作为在任何国家或地区之要约、招揽或承诺,亦无意作为任何交易或合同之正式确认。 发件人、其所属机构或所属机构之关联机构或任何上述机构之股东、董事、高级管理人员、员工或其他任何人(以下称“发件人”或“OPPO”)不因本邮件之误送而放弃其所享之任何权利,亦不对因故意或过失使用该等信息而引发或可能引发的损失承担任何责任。
文化差异披露:因全球文化差异影响,单纯以YES\OK或其他简单词汇的回复并不构成发件人对任何交易或合同之正式确认或接受,请与发件人再次确认以获得明确书面意见。发件人不对任何受文化差异影响而导致故意或错误使用该等信息所造成的任何直接或间接损害承担责任。
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you are not the intended recipient, please do not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
Electronic communications may contain computer viruses or other defects inherently, may not be accurately and/or timely transmitted to other systems, or may be intercepted, modified ,delayed, deleted or interfered. OPPO shall not be liable for any damages that arise or may arise from such matter and reserves all rights in connection with the email.
Unless expressly stated, this e-mail and its attachments are provided without any warranty, acceptance or promise of any kind in any country or region, nor constitute a formal confirmation or acceptance of any transaction or contract. The sender, together with its affiliates or any shareholder, director, officer, employee or any other person of any such institution (hereinafter referred to as "sender" or "OPPO") does not waive any rights and shall not be liable for any damages that arise or may arise from the intentional or negligent use of such information.
Cultural Differences Disclosure: Due to global cultural differences, any reply with only YES\OK or other simple words does not constitute any confirmation or acceptance of any transaction or contract, please confirm with the sender again to ensure clear opinion in written form. The sender shall not be responsible for any direct or indirect damages resulting from the intentional or misuse of such information.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LTP] [PATCH] Reduce loop count to meet need of low performance terminals
  2024-06-11  3:40 [LTP] Reduce loop count to meet need of low performance platform xufeifei via ltp
@ 2024-06-11  3:40 ` xufeifei via ltp
  2024-06-11 11:40   ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: xufeifei via ltp @ 2024-06-11  3:40 UTC (permalink / raw)
  To: ltp; +Cc: xufeifei

Signed-off-by: xufeifei <xufeifei1@oppo.com>
---
 runtest/sched | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtest/sched b/runtest/sched
index 5dab7a4c2..02a77040c 100644
--- a/runtest/sched
+++ b/runtest/sched
@@ -9,7 +9,7 @@ trace_sched01           trace_sched -c 1
 cfs_bandwidth01 cfs_bandwidth01 -i 5
 hackbench01 hackbench 50 process 1000
 hackbench02 hackbench 20 thread 1000
-starvation starvation
+starvation starvation -l 100000

 proc_sched_rt01 proc_sched_rt01

--
2.17.1

________________________________
OPPO

±¾µç×ÓÓʼþ¼°Æä¸½¼þº¬ÓÐOPPO¹«Ë¾µÄ±£ÃÜÐÅÏ¢£¬½öÏÞÓÚÓʼþÖ¸Ã÷µÄÊÕ¼þÈË£¨°üº¬¸öÈ˼°Èº×飩ʹÓ᣽ûÖ¹ÈκÎÈËÔÚδ¾­ÊÚȨµÄÇé¿öÏÂÒÔÈκÎÐÎʽʹÓá£Èç¹ûÄú´íÊÕÁ˱¾Óʼþ£¬ÇÐÎð´«²¥¡¢·Ö·¢¡¢¸´ÖÆ¡¢Ó¡Ë¢»òʹÓñ¾ÓʼþÖ®Èκβ¿·Ö»òÆäËùÔØÖ®ÈκÎÄÚÈÝ£¬²¢ÇëÁ¢¼´ÒÔµç×ÓÓʼþ֪ͨ·¢¼þÈ˲¢É¾³ý±¾Óʼþ¼°Æä¸½¼þ¡£
ÍøÂçͨѶ¹ÌÓÐȱÏÝ¿ÉÄܵ¼ÖÂÓʼþ±»½ØÁô¡¢Ð޸ġ¢¶ªÊ§¡¢ÆÆ»µ»ò°üº¬¼ÆËã»ú²¡¶¾µÈ²»°²È«Çé¿ö£¬OPPO¶Ô´ËÀà´íÎó»òÒÅ©¶øÒýÖÂÖ®ÈκÎËðʧ¸Å²»³Ðµ£ÔðÈβ¢±£ÁôÓë±¾ÓʼþÏà¹ØÖ®Ò»ÇÐȨÀû¡£
³ý·ÇÃ÷ȷ˵Ã÷£¬±¾Óʼþ¼°Æä¸½¼þÎÞÒâ×÷ΪÔÚÈκιú¼Ò»òµØÇøÖ®ÒªÔ¼¡¢ÕÐÀ¿»ò³Ðŵ£¬ÒàÎÞÒâ×÷ΪÈκν»Ò×»òºÏ֮ͬÕýʽȷÈÏ¡£ ·¢¼þÈË¡¢ÆäËùÊô»ú¹¹»òËùÊô»ú¹¹Ö®¹ØÁª»ú¹¹»òÈκÎÉÏÊö»ú¹¹Ö®¹É¶«¡¢¶­Ê¡¢¸ß¼¶¹ÜÀíÈËÔ±¡¢Ô±¹¤»òÆäËûÈκÎÈË£¨ÒÔϳơ°·¢¼þÈË¡±»ò¡°OPPO¡±£©²»Òò±¾ÓʼþÖ®ÎóËͶø·ÅÆúÆäËùÏíÖ®ÈκÎȨÀû£¬Ò಻¶ÔÒò¹ÊÒâ»ò¹ýʧʹÓøõÈÐÅÏ¢¶øÒý·¢»ò¿ÉÄÜÒý·¢µÄËðʧ³Ðµ£ÈκÎÔðÈΡ£
ÎÄ»¯²îÒìÅû¶£ºÒòÈ«ÇòÎÄ»¯²îÒìÓ°Ï죬µ¥´¿ÒÔYES\OK»òÆäËû¼òµ¥´Ê»ãµÄ»Ø¸´²¢²»¹¹³É·¢¼þÈ˶ÔÈκν»Ò×»òºÏ֮ͬÕýʽȷÈÏ»ò½ÓÊÜ£¬ÇëÓë·¢¼þÈËÔÙ´ÎÈ·ÈÏÒÔ»ñµÃÃ÷È·ÊéÃæÒâ¼û¡£·¢¼þÈ˲»¶ÔÈκÎÊÜÎÄ»¯²îÒìÓ°Ïì¶øµ¼Ö¹ÊÒâ»ò´íÎóʹÓøõÈÐÅÏ¢ËùÔì³ÉµÄÈκÎÖ±½Ó»ò¼ä½ÓË𺦳е£ÔðÈΡ£
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you are not the intended recipient, please do not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
Electronic communications may contain computer viruses or other defects inherently, may not be accurately and/or timely transmitted to other systems, or may be intercepted, modified ,delayed, deleted or interfered. OPPO shall not be liable for any damages that arise or may arise from such matter and reserves all rights in connection with the email.
Unless expressly stated, this e-mail and its attachments are provided without any warranty, acceptance or promise of any kind in any country or region, nor constitute a formal confirmation or acceptance of any transaction or contract. The sender, together with its affiliates or any shareholder, director, officer, employee or any other person of any such institution (hereinafter referred to as "sender" or "OPPO") does not waive any rights and shall not be liable for any damages that arise or may arise from the intentional or negligent use of such information.
Cultural Differences Disclosure: Due to global cultural differences, any reply with only YES\OK or other simple words does not constitute any confirmation or acceptance of any transaction or contract, please confirm with the sender again to ensure clear opinion in written form. The sender shall not be responsible for any direct or indirect damages resulting from the intentional or misuse of such information.
________________________________
OPPO

本电子邮件及其附件含有OPPO公司的保密信息,仅限于邮件指明的收件人(包含个人及群组)使用。禁止任何人在未经授权的情况下以任何形式使用。如果您错收了本邮件,切勿传播、分发、复制、印刷或使用本邮件之任何部分或其所载之任何内容,并请立即以电子邮件通知发件人并删除本邮件及其附件。
网络通讯固有缺陷可能导致邮件被截留、修改、丢失、破坏或包含计算机病毒等不安全情况,OPPO对此类错误或遗漏而引致之任何损失概不承担责任并保留与本邮件相关之一切权利。
除非明确说明,本邮件及其附件无意作为在任何国家或地区之要约、招揽或承诺,亦无意作为任何交易或合同之正式确认。 发件人、其所属机构或所属机构之关联机构或任何上述机构之股东、董事、高级管理人员、员工或其他任何人(以下称“发件人”或“OPPO”)不因本邮件之误送而放弃其所享之任何权利,亦不对因故意或过失使用该等信息而引发或可能引发的损失承担任何责任。
文化差异披露:因全球文化差异影响,单纯以YES\OK或其他简单词汇的回复并不构成发件人对任何交易或合同之正式确认或接受,请与发件人再次确认以获得明确书面意见。发件人不对任何受文化差异影响而导致故意或错误使用该等信息所造成的任何直接或间接损害承担责任。
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you are not the intended recipient, please do not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
Electronic communications may contain computer viruses or other defects inherently, may not be accurately and/or timely transmitted to other systems, or may be intercepted, modified ,delayed, deleted or interfered. OPPO shall not be liable for any damages that arise or may arise from such matter and reserves all rights in connection with the email.
Unless expressly stated, this e-mail and its attachments are provided without any warranty, acceptance or promise of any kind in any country or region, nor constitute a formal confirmation or acceptance of any transaction or contract. The sender, together with its affiliates or any shareholder, director, officer, employee or any other person of any such institution (hereinafter referred to as "sender" or "OPPO") does not waive any rights and shall not be liable for any damages that arise or may arise from the intentional or negligent use of such information.
Cultural Differences Disclosure: Due to global cultural differences, any reply with only YES\OK or other simple words does not constitute any confirmation or acceptance of any transaction or contract, please confirm with the sender again to ensure clear opinion in written form. The sender shall not be responsible for any direct or indirect damages resulting from the intentional or misuse of such information.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [LTP] [PATCH] Reduce loop count to meet need of low performance terminals
  2024-06-11  3:40 ` [LTP] [PATCH] Reduce loop count to meet need of low performance terminals xufeifei via ltp
@ 2024-06-11 11:40   ` Cyril Hrubis
  2024-06-12  7:27     ` [LTP] 答复: " 徐飞飞(Steve) via ltp
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2024-06-11 11:40 UTC (permalink / raw)
  To: xufeifei; +Cc: ltp

Hi!
> --- a/runtest/sched
> +++ b/runtest/sched
> @@ -9,7 +9,7 @@ trace_sched01           trace_sched -c 1
>  cfs_bandwidth01 cfs_bandwidth01 -i 5
>  hackbench01 hackbench 50 process 1000
>  hackbench02 hackbench 20 thread 1000
> -starvation starvation
> +starvation starvation -l 100000

Are you sure that your kernel isn't affected by the bug the test checks
for? The test timeouts on a buggy kernel.

How long does the test run if you disable timeouts (by setting static
int timeout = -1 in the source)?

Also what kind of system it is? How fast is the CPU?

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LTP] 答复:  [PATCH] Reduce loop count to meet need of low performance terminals
  2024-06-11 11:40   ` Cyril Hrubis
@ 2024-06-12  7:27     ` 徐飞飞(Steve) via ltp
  2024-06-12  8:43       ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: 徐飞飞(Steve) via ltp @ 2024-06-12  7:27 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp@lists.linux.it

Are you sure that your kernel isn't affected by the bug the test checks for? The test timeouts on a buggy kernel.
-- Is there any place where I can see more relevant information? which kind of bug you have found?

the test timeout on myside where there still 640000 loop,
ZZL pid = 29466 this is while 646533 times loop = 646533 -------
ZZL pid = 29466 this is while 646532 times loop = 646532 -------
ZZL pid = 29466 this is while 646531 times loop = 646531 -------
ZZL pid = 29466 this is while 646530 times loop = 646530 -------
ZZL pid = 29466 this is while 646529 times loop = 646529 -------
ZZL pid = 29466 this is while 646528 times loop = 646528 -------
ZZL pid = 29466 this is while 646527 times loop = 646527 -------
ZZL pid = 29466 this is while 646526 times loop = 646526 -------
ZZL pid = 29466 this is while 646525 times loop = 646525 -------
ZZL pid = 29466 this is while 646524 times loop = 646524 -------
ZZL pid = 29466 this is while 646523 times loop = 646523 -------
ZZL pid = 29466 this is while 646522 times loop = 646522 -------
ZZL pid = 29466 this is while 646521 times loop = 646521 -------
Test timeouted, sending SIGKILL!
external/ltp/lib/tst_test.c:1641: TINFO: Killed the leftover descendant processes
external/ltp/lib/tst_test.c:1648: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
external/ltp/lib/tst_test.c:1649: TBROK: Test killed! (timeout?)

Summary:
passed   1
failed   0
broken   1
skipped  0
warnings 0


How long does the test run if you disable timeouts (by setting static int timeout = -1 in the source)?
-- about 370 seconds

Also what kind of system it is? How fast is the CPU?
--android 14 ,  kenrel 6.1.43-android14-11-o-g9bbfe9009b86 ,

cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 38.40
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x2
CPU part        : 0xd05  (ARM_CPU_PART_CORTEX_A55)
CPU revision    : 0



cpu chip
-----邮件原件-----
发件人: Cyril Hrubis <chrubis@suse.cz>
发送时间: 2024年6月11日 19:41
收件人: 徐飞飞(Steve) <xufeifei1@oppo.com>
抄送: ltp@lists.linux.it
主题: Re: [LTP] [PATCH] Reduce loop count to meet need of low performance terminals

外部邮件/External Mail



Hi!
> --- a/runtest/sched
> +++ b/runtest/sched
> @@ -9,7 +9,7 @@ trace_sched01           trace_sched -c 1
>  cfs_bandwidth01 cfs_bandwidth01 -i 5
>  hackbench01 hackbench 50 process 1000
>  hackbench02 hackbench 20 thread 1000
> -starvation starvation
> +starvation starvation -l 100000

Are you sure that your kernel isn't affected by the bug the test checks for? The test timeouts on a buggy kernel.

How long does the test run if you disable timeouts (by setting static int timeout = -1 in the source)?

Also what kind of system it is? How fast is the CPU?

--
Cyril Hrubis
chrubis@suse.cz
________________________________
OPPO

本电子邮件及其附件含有OPPO公司的保密信息,仅限于邮件指明的收件人(包含个人及群组)使用。禁止任何人在未经授权的情况下以任何形式使用。如果您错收了本邮件,切勿传播、分发、复制、印刷或使用本邮件之任何部分或其所载之任何内容,并请立即以电子邮件通知发件人并删除本邮件及其附件。
网络通讯固有缺陷可能导致邮件被截留、修改、丢失、破坏或包含计算机病毒等不安全情况,OPPO对此类错误或遗漏而引致之任何损失概不承担责任并保留与本邮件相关之一切权利。
除非明确说明,本邮件及其附件无意作为在任何国家或地区之要约、招揽或承诺,亦无意作为任何交易或合同之正式确认。 发件人、其所属机构或所属机构之关联机构或任何上述机构之股东、董事、高级管理人员、员工或其他任何人(以下称“发件人”或“OPPO”)不因本邮件之误送而放弃其所享之任何权利,亦不对因故意或过失使用该等信息而引发或可能引发的损失承担任何责任。
文化差异披露:因全球文化差异影响,单纯以YES\OK或其他简单词汇的回复并不构成发件人对任何交易或合同之正式确认或接受,请与发件人再次确认以获得明确书面意见。发件人不对任何受文化差异影响而导致故意或错误使用该等信息所造成的任何直接或间接损害承担责任。
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you are not the intended recipient, please do not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
Electronic communications may contain computer viruses or other defects inherently, may not be accurately and/or timely transmitted to other systems, or may be intercepted, modified ,delayed, deleted or interfered. OPPO shall not be liable for any damages that arise or may arise from such matter and reserves all rights in connection with the email.
Unless expressly stated, this e-mail and its attachments are provided without any warranty, acceptance or promise of any kind in any country or region, nor constitute a formal confirmation or acceptance of any transaction or contract. The sender, together with its affiliates or any shareholder, director, officer, employee or any other person of any such institution (hereinafter referred to as "sender" or "OPPO") does not waive any rights and shall not be liable for any damages that arise or may arise from the intentional or negligent use of such information.
Cultural Differences Disclosure: Due to global cultural differences, any reply with only YES\OK or other simple words does not constitute any confirmation or acceptance of any transaction or contract, please confirm with the sender again to ensure clear opinion in written form. The sender shall not be responsible for any direct or indirect damages resulting from the intentional or misuse of such information.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP]  答复:  [PATCH] Reduce loop count to meet need of low performance terminals
  2024-06-12  7:27     ` [LTP] 答复: " 徐飞飞(Steve) via ltp
@ 2024-06-12  8:43       ` Cyril Hrubis
  0 siblings, 0 replies; 5+ messages in thread
From: Cyril Hrubis @ 2024-06-12  8:43 UTC (permalink / raw)
  To: 徐飞飞(Steve); +Cc: ltp@lists.linux.it

Hi!
> Are you sure that your kernel isn't affected by the bug the test checks for? The test timeouts on a buggy kernel.
> -- Is there any place where I can see more relevant information? which kind of bug you have found?

It's right in the top level comment in the testcase source where the
test description is.

> the test timeout on myside where there still 640000 loop,
> ZZL pid = 29466 this is while 646533 times loop = 646533 -------
> ZZL pid = 29466 this is while 646532 times loop = 646532 -------
> ZZL pid = 29466 this is while 646531 times loop = 646531 -------
> ZZL pid = 29466 this is while 646530 times loop = 646530 -------
> ZZL pid = 29466 this is while 646529 times loop = 646529 -------
> ZZL pid = 29466 this is while 646528 times loop = 646528 -------
> ZZL pid = 29466 this is while 646527 times loop = 646527 -------
> ZZL pid = 29466 this is while 646526 times loop = 646526 -------
> ZZL pid = 29466 this is while 646525 times loop = 646525 -------
> ZZL pid = 29466 this is while 646524 times loop = 646524 -------
> ZZL pid = 29466 this is while 646523 times loop = 646523 -------
> ZZL pid = 29466 this is while 646522 times loop = 646522 -------
> ZZL pid = 29466 this is while 646521 times loop = 646521 -------
> Test timeouted, sending SIGKILL!
> external/ltp/lib/tst_test.c:1641: TINFO: Killed the leftover descendant processes
> external/ltp/lib/tst_test.c:1648: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
> external/ltp/lib/tst_test.c:1649: TBROK: Test killed! (timeout?)
> 
> Summary:
> passed   1
> failed   0
> broken   1
> skipped  0
> warnings 0
> 
> 
> How long does the test run if you disable timeouts (by setting static int timeout = -1 in the source)?
> -- about 370 seconds

Looking at this it seems that your CPU is just a bit slower, if the test
fails it's supposed to be at least one order of magnitude slower.

> Also what kind of system it is? How fast is the CPU?
> --android 14 ,  kenrel 6.1.43-android14-11-o-g9bbfe9009b86 ,
> 
> cat /proc/cpuinfo
> processor       : 0
> BogoMIPS        : 38.40
> Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
> CPU implementer : 0x41
> CPU architecture: 8
> CPU variant     : 0x2
> CPU part        : 0xd05  (ARM_CPU_PART_CORTEX_A55)
> CPU revision    : 0

So this is single core ARM cortex A55, it really seems to be just a case
of slower procesor, so it does make sense to lower the number of
iterations or increase the test timeout.

However the problem is that if we divide the default number of
iterations by two and keep the timeout the test would stil pass even on
broken kernel on an x86_64 desktop. So we probably need a callibration
loop that would be able to estimate the CPU speed to set the
expectations right.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-12  8:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-11  3:40 [LTP] Reduce loop count to meet need of low performance platform xufeifei via ltp
2024-06-11  3:40 ` [LTP] [PATCH] Reduce loop count to meet need of low performance terminals xufeifei via ltp
2024-06-11 11:40   ` Cyril Hrubis
2024-06-12  7:27     ` [LTP] 答复: " 徐飞飞(Steve) via ltp
2024-06-12  8:43       ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox