New Silicon Insider Article

Article: Escape From the Planet of x86
By: José Javier Zarate (jzarate.delete@this.unav.es), June 22, 2003 6:55 pm
Room: Moderated Discussions
Yes, but in case of SPEC you cannot recode so the improvements only can be obtained through compilation.


Vincent Diepeveen (diep@xs4all.nl) on 6/22/03 wrote:
---------------------------
>In short we can definitely say that there is performance differences, but usually
>good programmers can optimize very well and get around it.
>
>But to give some examples:
>
>example a) you run 4 processes at a single cpu and they are mutually locking.
>
>In windows you implement it for example with the well known WaitForSingleObject()/WaitForMultipleObject().
>
>In Linux you lock as it has no WaitForSingleObject().
>
>In IRIX you also lock using spin_lock().
>
>Then you measure performance and linux is tens of times slower than both the other OSes.
>
>It appears then that both IRIX and windows are first trying to lock the object
>a few times in a row without putting a process into the runqueue. So if such an
>object is released within say 600 ns then the processes can run on.
>
>However under linux there is no such function for multiprocessing, so each process
>gets in the runqueue which means a 10ms latency each time, which is pretty much slower than < 600 ns :)
>
>Trivially some good programming can speedup the software at all the OSes a lot.
>
>Paul DeMone (pdemone@igs.net) on 6/22/03 wrote:
>---------------------------
>>Anonymous (nn@nn.invalid) on 6/22/03 wrote:
>>---------------------------
>>>Paul DeMone (pdemone@igs.net) on 6/20/03 wrote:
>>>---------------------------
>>>>The SPEC CPU suite programs are specifically selected and sometimes even
>>>>modified to minimize the influence of differences in OS and language libraries
>>>>across platforms.
>>>
>>>Then why is e.g. Intel's compiler for Linux showing noticeably lower performance
>>>than Intel's compiler for Windows? Last evidenced in Ace's Hardware's posting about Opteron SPEC performance:
>>>
>>>http://www.aceshardware.com/read_news.jsp?id=65000417
>>>
>>>I find it hard to believe that executable format and execution model wouldn't affect performance somewhat. :)
>>
>>I don't believe I claimed otherwise. I simply said that effort was made in the construction of each
>>SPEC CPU suite to minimize the effect of OS/library related cross platform differences. But there
>>are OS functions that cannot be avoided, like virtual memory management. Perhaps the VM code
>>in Windows is more efficient on the target machine than Linux's.
>>
>
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
New Silicon Insider ArticleDavid Kanter2003/06/17 02:39 PM
  Srockholm Syndromeanonymous2003/06/17 02:50 PM
    Srockholm SyndromeNate Begeman2003/06/17 03:32 PM
      Srockholm Syndromeanonymous2003/06/18 01:23 PM
      Srockholm SyndromeScott Robinson2003/06/20 07:25 AM
  New Silicon Insider ArticleBill Todd2003/06/17 08:51 PM
    New Silicon Insider ArticleAlberto2003/06/18 06:29 AM
      New Silicon Insider ArticleJosé Javier Zarate2003/06/18 09:16 AM
      New Silicon Insider ArticleBill Todd2003/06/18 02:10 PM
        New Silicon Insider ArticleNate Begeman2003/06/18 02:25 PM
          New Silicon Insider ArticleTvar'2003/06/18 02:41 PM
            New Silicon Insider ArticleAlberto2003/06/18 02:58 PM
              New Silicon Insider ArticleTvar'2003/06/18 03:04 PM
                New Silicon Insider ArticleAlberto2003/06/18 03:24 PM
                  New Silicon Insider ArticleTvar'2003/06/18 03:32 PM
            New Silicon Insider ArticlePaul DeMone2003/06/18 03:13 PM
              New Silicon Insider ArticleTvar'2003/06/18 03:23 PM
          New Silicon Insider Articlemas2003/06/18 03:11 PM
        New Silicon Insider ArticleAlberto2003/06/18 02:45 PM
          New Silicon Insider ArticleBill Todd2003/06/18 10:46 PM
            New Silicon Insider ArticleDavid Wang2003/06/18 11:13 PM
              New Silicon Insider ArticleBill Todd2003/06/19 12:14 AM
              New Silicon Insider ArticleDavid Wang2003/06/19 09:52 AM
        New Silicon Insider ArticlePaul DeMone2003/06/18 03:04 PM
          New Silicon Insider ArticleBill Todd2003/06/18 10:28 PM
            New Silicon Insider ArticlePaul DeMone2003/06/18 11:43 PM
              New Silicon Insider ArticleRob Young2003/06/19 09:23 AM
                New Silicon Insider ArticleBill Todd2003/06/19 03:53 PM
      New Silicon Insider ArticleDavid Wang2003/06/18 10:29 PM
      New Silicon Insider ArticleBill Todd2003/06/18 11:03 PM
        New Silicon Insider ArticleJosé Javier Zarate2003/06/19 04:33 AM
        New Silicon Insider Articlemas2003/06/19 05:37 AM
          New Silicon Insider ArticleBill Todd2003/06/19 03:40 PM
            New Silicon Insider ArticleDavid Wang2003/06/19 04:25 PM
              New Silicon Insider ArticleBill Todd2003/06/19 05:00 PM
                New Silicon Insider ArticleAlberto2003/06/19 05:29 PM
                  New Silicon Insider ArticleSpeedy2003/06/19 05:48 PM
                    New Silicon Insider ArticleAlberto2003/06/20 03:57 AM
                New Silicon Insider ArticleDavid Wang2003/06/19 05:52 PM
                  New Silicon Insider ArticleBill Todd2003/06/19 08:00 PM
                    New Silicon Insider ArticleAnonymous2003/06/20 01:20 AM
                      New Silicon Insider ArticlePaul DeMone2003/06/20 08:11 AM
                        New Silicon Insider ArticleAnonymous2003/06/22 03:48 PM
                          New Silicon Insider ArticlePaul DeMone2003/06/22 04:49 PM
                            New Silicon Insider ArticleVincent Diepeveen2003/06/22 05:25 PM
                              New Silicon Insider ArticleJosé Javier Zarate2003/06/22 06:55 PM
                            New Silicon Insider ArticleAnonymous2003/06/23 08:59 AM
        New Silicon Insider ArticlePaul DeMone2003/06/19 06:53 PM
          New Silicon Insider ArticleBill Todd2003/06/19 07:53 PM
            New Silicon Insider ArticleDavid Wang2003/06/19 08:08 PM
              New Silicon Insider ArticleBill Todd2003/06/20 01:28 AM
                New Silicon Insider ArticleDavid Wang2003/06/20 10:35 AM
                  New Silicon Insider ArticlePaul DeMone2003/06/20 11:29 AM
                    New Silicon Insider ArticleBill Todd2003/06/20 06:10 PM
                      New Silicon Insider ArticleMarc M.2003/06/21 05:06 AM
                        New Silicon Insider ArticleBill Todd2003/06/21 11:07 AM
                  New Silicon Insider ArticleBill Todd2003/06/20 06:01 PM
                    New Silicon Insider ArticleDavid Wang2003/06/20 06:52 PM
                      New Silicon Insider ArticleBill Todd2003/06/20 07:53 PM
                        New Silicon Insider ArticleDavid Wang2003/06/20 08:14 PM
                          New Silicon Insider ArticleVincent Diepeveen2003/06/20 08:52 PM
                            New Silicon Insider ArticleMarc M.2003/06/21 07:16 AM
                              New Silicon Insider ArticleVincent Diepeveen2003/06/22 04:24 PM
                          New Silicon Insider ArticleSingh, S.R.2003/06/21 03:39 AM
                            New Silicon Insider ArticleDavid Wang2003/06/21 08:10 AM
                          IPF CompilersNate Begeman2003/06/21 09:10 AM
                            IPF CompilersPaul DeMone2003/06/21 09:45 AM
                        Use ILP to extract more ILPPaul DeMone2003/06/20 10:48 PM
            New Silicon Insider ArticlePaul DeMone2003/06/20 08:06 AM
              New Silicon Insider ArticleSingh, S.R.2003/06/20 09:41 AM
                New Silicon Insider ArticleDavid Kanter2003/06/21 03:34 PM
                  New Silicon Insider ArticlePaul DeMone2003/06/22 02:22 PM
              New Silicon Insider ArticleBill Todd2003/06/20 05:52 PM
              New Silicon Insider ArticleMarc M.2003/06/21 07:54 AM
    New Silicon Insider ArticleDaniel Gustafsson2003/06/19 11:12 AM
    New Silicon Insider ArticlePaul DeMone2003/06/20 02:20 PM
  New Silicon Insider ArticleBryan Gregory2003/06/20 01:14 PM
    New Silicon Insider Articlemas2003/06/20 01:43 PM
  New Silicon Insider ArticlePaul DeMone2003/06/25 10:29 AM
    New Silicon Insider ArticleJosé Javier Zarate2003/06/25 10:43 AM
      New Silicon Insider ArticlePaul DeMone2003/06/25 10:52 AM
    lol, amazing coincidence :-) (NT)mas2003/06/25 03:15 PM
  New Silicon Insider ArticleYoav2015/04/01 03:43 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell purple?