Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244619

Re: how to test and compare performance of bullseye for i386 and amd64

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Polyna-Maude Racicot-Summerside <debian@polynamaude.com>
Newsgroups linux.debian.user
Subject Re: how to test and compare performance of bullseye for i386 and amd64
Date Wed, 26 Jan 2022 11:50:01 +0100
Message-ID <DJO2d-8rn-5@gated-at.bofh.it> (permalink)
References <DJiYp-48P-1@gated-at.bofh.it> <DJknw-55O-7@gated-at.bofh.it> <DJl9T-5s7-1@gated-at.bofh.it> <DJnEK-76S-5@gated-at.bofh.it> <DJEvU-1Ku-5@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Wed Jan 26 10:45:16 2022
Old-Return-Path <debian@polynamaude.com>
X-Amavis-Spam-Status No, score=-8.941 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, PGPSIGNATURE=-5, PHONENUMBER=1.5, SARE_MLH_Stock10=1.66] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1
Content-Language en-US
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------Mk34dtLkTiNu8YXjt96Dof3M"
X-Outgoing-Spam-Status No, score=-0.5
X-Antiabuse This header was added to track abuse, please include it with any abuse report
X-Antiabuse Primary Hostname - premium58.web-hosting.com
X-Antiabuse Original Domain - lists.debian.org
X-Antiabuse Originator/Caller UID/GID - [47 12] / [47 12]
X-Antiabuse Sender Address Domain - polynamaude.com
X-Get-Message-Sender-Via premium58.web-hosting.com: authenticated_id: debian@polynamaude.com
X-Authenticated-Sender premium58.web-hosting.com: debian@polynamaude.com
X-From-Rewrite unmodified, already matched
X-Mailing-List <debian-user@lists.debian.org> archive/latest/785418
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/3a7bd6ae-8c1a-e4ef-3bc1-ecab94474aa4@polynamaude.com
Approved robomod@news.nic.it
Lines 136
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 26 Jan 2022 05:44:50 -0500
X-Original-Message-ID <3a7bd6ae-8c1a-e4ef-3bc1-ecab94474aa4@polynamaude.com>
X-Original-References <cd962f4e-69e7-c219-ac22-566f070f0f97@sina.com> <20220125030244.GB29587@axis.corp> <091c72af-b42e-e9d4-c13e-a961195961e9@polynamaude.com> <a5f754db-ca56-80dd-3234-e5532bfb7222@sina.com> <20220126003505.GA22342@axis.corp>
Xref csiph.com linux.debian.user:244619

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2022-01-25 19:35, David Wright wrote:
> On Tue 25 Jan 2022 at 01:37:29 (-0500), a wrote:
>> Thank David and Polyna-Maude!
>>
>> it's surprising that "The x64 binary are also somewhat larger than the
>> i386 binaries"
>>
>> i compare some packages of bullseye for both arch, they happen to be
>> contrary
>>
>> though difference is small and IMO has little impact on performance
>>
>> firefox-esr for i386: size= 58465416
>>
>> firefox-esr for amd64: size= 55451188
>>
>> gcc-10 for i386: size= 18097884
>>
>> gcc-10 for amd64: size=  16990272
> 
> Well, we've gone from ISOs containing different inventories to sizes
> of packages. I still don't see how that affects performance.
> 
> All I did was to type ls -l /usr/bin for the two architectures into
> two xterms in two viewports, and blink-compare them. Some binaries
> were larger and some were smaller.
> 
> But let's try running them. I happen to have two freshly installed
> bullseyes, and neither has run the installed FF before. Their dotfiles
> in my home directories are close to identical, and their starting
> pages are blank.
> 
> i386:
> 
>    VSZ   RSZ %MEM      PID STAT   CMD
> 1200184 176396 34.9   1603 Sl+    firefox-esr
> 477488 50140  9.9     1880 Sl+    /usr/lib/firefox-esr/firefox-esr -contentproc -ch>
> 467760 34188  6.7     1821 Sl+    /usr/lib/firefox-esr/firefox-esr -contentproc -ch>
> 455296 27436  5.4     1958 Sl+    /usr/lib/firefox-esr/firefox-esr -contentproc -ch>
> 
> amd64:
> 
>    VSZ   RSZ %MEM        PID STAT   CMD
> 3082424 408156  2.5     2538 Sl+    firefox-esr
> 2446004 146664  0.9     2662 Sl+    /usr/lib/firefox-esr/firefox-esr -contentproc ->
> 2417628 117508  0.7     2694 Sl+    /usr/lib/firefox-esr/firefox-esr -contentproc ->
> 2403264 108072  0.6     2603 Sl+    /usr/lib/firefox-esr/firefox-esr -contentproc ->
> 
> The difference is larger than I thought it would be. Others would
> have to interpret the actual numbers. The main difference that
> /I/ notice is the speed, but it would be an unfair comparison,
> pitching 1.5GHz/512MB with 1GB encrypted swap on 2004-era rust
> against a multi-core 2.7GHz/16GB with a 2017-era SSD (but no swap).
> Starting times come out at 3 minutes vs perhaps one second.
> 
Did you ask your question in a real-world intention ? I mean based on
something you want to implement and may have resources limitation so
want to have the most for what you got ?

Or was it only a question for "academic" purposes ? That you wanted some
answer and explanation without any context that you can give.

Without regards to code size or whatever, there may or may not be a
performance advantage and this depend on both the type of workload and
the system you are running under.

Regarding code size, it's also mostly dependent on some choice made
during calculation such as level of optimization and how the compiler
build the output.

So your simple question needs more real world data if you want a useful
answer.

If it's only for curiosity then there's plenty of books to read and
you'll find answers.
> Cheers,
> David.
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to test and compare performance of bullseye for i386 and amd64 a <loushanguan2015@sina.com> - 2022-01-25 02:40 +0100
  Re: how to test and compare performance of bullseye for i386 and  amd64 David Wright <deblis@lionunicorn.co.uk> - 2022-01-25 04:10 +0100
    Re: how to test and compare performance of bullseye for i386 and  amd64 Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-25 05:00 +0100
      Re: how to test and compare performance of bullseye for i386 and  amd64 a <loushanguan2015@sina.com> - 2022-01-25 07:40 +0100
        Re: how to test and compare performance of bullseye for i386 and  amd64 <tomas@tuxteam.de> - 2022-01-25 15:40 +0100
          Re: how to test and compare performance of bullseye for i386 and  amd64 Greg Wooledge <greg@wooledge.org> - 2022-01-25 15:50 +0100
            Re: how to test and compare performance of bullseye for i386 and amd64 Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-25 19:00 +0100
          Re: how to test and compare performance of bullseye for i386 and amd64 Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-25 18:50 +0100
        Re: how to test and compare performance of bullseye for i386 and amd64 Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-25 15:40 +0100
        Re: how to test and compare performance of bullseye for i386 and  amd64 David Wright <deblis@lionunicorn.co.uk> - 2022-01-26 01:40 +0100
          Re: how to test and compare performance of bullseye for i386 and  amd64 Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-26 11:50 +0100
            Re: how to test and compare performance of bullseye for i386 and  amd64 David Wright <deblis@lionunicorn.co.uk> - 2022-01-26 17:50 +0100
            Re: how to test and compare performance of bullseye for i386 and  amd64 a <loushanguan2015@sina.com> - 2022-01-26 23:10 +0100
            Re: how to test and compare performance of bullseye for i386 and  amd64 a <loushanguan2015@sina.com> - 2022-01-27 07:20 +0100
              Re: how to test and compare performance of bullseye for i386 and  amd64 a <loushanguan2015@sina.com> - 2022-01-27 11:00 +0100
  Re: how to test and compare performance of bullseye for i386 and  amd64 Andy Smith <andy@strugglers.net> - 2022-01-25 13:00 +0100
    Re: how to test and compare performance of bullseye for i386 and amd64 Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-25 15:40 +0100

csiph-web