Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ARM support - which architecture variants?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  23 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hugo Vincent  
View profile   Translate to Translated (View Original)
 More options Feb 23 2011, 12:12 pm
From: Hugo Vincent <hugo.vinc...@gmail.com>
Date: Wed, 23 Feb 2011 09:12:42 -0800 (PST)
Local: Wed, Feb 23 2011 12:12 pm
Subject: ARM support - which architecture variants?
Hi,

I can't find in the documentation which ARM architecture types V8
supports. Does it support older ARM9 devices (I'm specifically
interested in an ARMv5te architecture, ARM926ej-s device) or only
newer ARMv7 (Cortex-A8 etc)? I can see that it is (supposed to) build
on ARMv5te, but do all the JIT features work or is it running in a
byte code interpreter fallback or something? Can I expect good
performance?

Thanks,
Hugo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodolph Perfetta  
View profile   Translate to Translated (View Original)
 More options Feb 23 2011, 12:33 pm
From: Rodolph Perfetta <rodolph.perfe...@gmail.com>
Date: Wed, 23 Feb 2011 17:33:42 +0000
Local: Wed, Feb 23 2011 12:33 pm
Subject: Re: [v8-users] ARM support - which architecture variants?

V8 can run on ARMv4 devices (non T though).

There is no interpreter in V8 so you will be using the JIT every time,
perfromance should be good (keep in mind CPU like 926-ej-s do not have L2
cache and this is going to have a visible impact). There is a new JIT
infrastructure being developed (crankshaft) which features an optimising JIT
and this will only be for ARMv7+VFP devices.

HTH,
Rodolph.

On 23 February 2011 17:12, Hugo Vincent <hugo.vinc...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Søren Gjesse  
View profile  
 More options Feb 23 2011, 4:14 pm
From: Søren Gjesse <sgje...@chromium.org>
Date: Wed, 23 Feb 2011 22:14:40 +0100
Local: Wed, Feb 23 2011 4:14 pm
Subject: Re: [v8-users] ARM support - which architecture variants?

Just a follow-up note regarding the new optimizing compiler (crankshaft).
This will be enabled by default for ARM quite soon, and the existing
optimizing compiler will be removed at some point. For non ARMv7+VFP devices
this means that the base JIT (non-optimizing/full-compiler) will be used. To
measure the different compilers on a ARMv7+VFP device use following options:

  --nocrankshaft (current optimizing JIT - the current default)
  --crankshaft (new optimizing JIT - the soon to be default)
  --always-full-compiler (base/non-optimizing compiler)

Going forward using --crankshaft on a non ARMv7+VFP device will have no
effect and execution will fallback to --always-full-compiler.

Regards,
Søren

On Wed, Feb 23, 2011 at 18:33, Rodolph Perfetta
<rodolph.perfe...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hugo Vincent  
View profile  
 More options Mar 8 2011, 2:05 pm
From: Hugo Vincent <hugo.vinc...@gmail.com>
Date: Tue, 8 Mar 2011 11:05:33 -0800 (PST)
Local: Tues, Mar 8 2011 2:05 pm
Subject: Re: ARM support - which architecture variants?
How much slower is full-compiler than nocrankshaft on ARM926ej-s -
anyone have any benchmarks? I'm hesitant to invest time in using V8
for my project if it's going to get substantially slower soon. Is
there any estimated time frame for when nocrankshaft will be
deprecated?

Thanks,
Hugo

On Feb 23, 9:14 pm, Søren Gjesse <sgje...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Søren Gjesse  
View profile  
 More options Mar 9 2011, 4:02 am
From: Søren Gjesse <sgje...@chromium.org>
Date: Wed, 9 Mar 2011 10:02:37 +0100
Local: Wed, Mar 9 2011 4:02 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

For ARM crankshaft is now the default. This change is in the repository
starting from V8 version 3.2. To use the previous optimizing compiler
--nocrankshaft will have to be used. When crankshaft for ARM has been fully
stabilized the previous optimizing compiler will be removed from the
repository and running with --nocrankshaft will no longer be possible. There
is no specific date to when this will happen but most likely it will be
within a month or two. The removal of the previous optimizing compiler will
happen for all supported platforms simultaneously,

The previous optimizing compiler can of cause still be found in previous
versions of V8.

Regards,
Søren


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arun M  
View profile  
 More options Apr 2 2011, 2:40 am
From: Arun M <arunm.chr...@gmail.com>
Date: Fri, 1 Apr 2011 23:40:14 -0700 (PDT)
Local: Sat, Apr 2 2011 2:40 am
Subject: Re: ARM support - which architecture variants?

Hi

Is Crankshaft optimizing compiler enabled for ARMv7-A + NEON devices
which does not have VFPv3 FPU?

Thanks & Regards
Arun

On Mar 9, 6:02 pm, Søren Gjesse <sgje...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Rames  
View profile  
 More options Apr 4 2011, 4:45 am
From: Alexandre Rames <alexandre.ra...@gmail.com>
Date: Mon, 4 Apr 2011 09:45:52 +0100
Local: Mon, Apr 4 2011 4:45 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

Hello Arun,

Crankshaft is now enabled by default on ARM processors supporting VFPv3.
v8 does not use NEON (it is not worth using, at least currently), but I
believe no processors with this configuration (NEON without VFPv3) exist
anyway. So if the CPU feature detection work correctly, v8 should assume
that you have VFPv3 if it detects NEON, and thus use use Crankshaft.

If I remember correctly there has been some issues with incorrect feature
detection. A simple run of the v8 benchmarks with the latest bleeding_edge
and the frequency of your CPU should be enough to determine if crankshaft is
enabled.

I hope this helps.

Regards,

Alexandre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Søren Gjesse  
View profile  
 More options Apr 4 2011, 4:46 am
From: Søren Gjesse <sgje...@chromium.org>
Date: Mon, 4 Apr 2011 10:46:29 +0200
Local: Mon, Apr 4 2011 4:46 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

The Crankshaft optimizing compiler requires VFPv3. Without VFPv3 the
non-optimizing will be used for all code. V8 cannot make use of NEON.

Regards,
Søren


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Víctor M. Jáquez L.  
View profile  
 More options Apr 4 2011, 5:19 am
From: Víctor M. Jáquez L. <vjaq...@igalia.com>
Date: Mon, 4 Apr 2011 11:19:37 +0200
Local: Mon, Apr 4 2011 5:19 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

On Mon, Apr 04, 2011 at 09:45:52AM +0100, Alexandre Rames wrote:
> Hello Arun,

> Crankshaft is now enabled by default on ARM processors supporting VFPv3.
> v8 does not use NEON (it is not worth using, at least currently), but I
> believe no processors with this configuration (NEON without VFPv3) exist
> anyway. So if the CPU feature detection work correctly, v8 should assume
> that you have VFPv3 if it detects NEON, and thus use use Crankshaft.

> If I remember correctly there has been some issues with incorrect feature
> detection. A simple run of the v8 benchmarks with the latest bleeding_edge
> and the frequency of your CPU should be enough to determine if crankshaft is
> enabled.

The CPU features detection is done parsing the /proc/cpuinfo file:

https://code.google.com/p/v8/source/browse/branches/bleeding_edge/src...

So, if your cpu information is not exposed correctly the detection will fail.

I'd never seen an ARM with NEON but without VFPv3.

vmjl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Víctor M. Jáquez L.  
View profile  
 More options Apr 4 2011, 5:20 am
From: Víctor M. Jáquez L. <vjaq...@igalia.com>
Date: Mon, 4 Apr 2011 11:20:49 +0200
Local: Mon, Apr 4 2011 5:20 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

On Mon, Apr 04, 2011 at 10:46:29AM +0200, S ren Gjesse wrote:
> The Crankshaft optimizing compiler requires VFPv3. Without VFPv3 the
> non-optimizing will be used for all code. V8 cannot make use of NEON.

Why v8 cannot make use of NEON? Because of an specific reason?

vmjl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mads Sig Ager  
View profile  
 More options Apr 4 2011, 6:52 am
From: Mads Sig Ager <a...@chromium.org>
Date: Mon, 4 Apr 2011 12:52:11 +0200
Local: Mon, Apr 4 2011 6:52 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?
Hi Victor,

we have not found any of the NEON instructions useful to speed up
computations in V8. We don't have anything against NEON. So far we
have been able to do better without.

Cheers,    -- Mads

On Mon, Apr 4, 2011 at 11:20 AM, Víctor M. Jáquez L. <vjaq...@igalia.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arun M  
View profile  
 More options Apr 5 2011, 3:28 am
From: Arun M <arunm.chr...@gmail.com>
Date: Tue, 5 Apr 2011 00:28:53 -0700 (PDT)
Local: Tues, Apr 5 2011 3:28 am
Subject: Re: ARM support - which architecture variants?
Hi

I am running the v8 benchmark suite from Chromium browser.
(http://v8.googlecode.com/svn/data/benchmarks/v6/run.html)
Currently the browser version is 12.0.703.0.

But I still have not got any improvement on ARM platform for the V8
benchmark suite.

Which version of Chromium will include the crankshaft improvement for
V8 on ARM?

Thanks & Regards
Arun

On Apr 4, 7:52 pm, Mads Sig Ager <a...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jérémy Lal  
View profile  
 More options Apr 5 2011, 3:52 am
From: "Jérémy Lal" <holi...@gmail.com>
Date: Tue, 05 Apr 2011 09:52:05 +0200
Local: Tues, Apr 5 2011 3:52 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?
On 05/04/2011 09:28, Arun M wrote:

> Hi

> I am running the v8 benchmark suite from Chromium browser.
> (http://v8.googlecode.com/svn/data/benchmarks/v6/run.html)
> Currently the browser version is 12.0.703.0.

> But I still have not got any improvement on ARM platform for the V8
> benchmark suite.

> Which version of Chromium will include the crankshaft improvement for
> V8 on ARM?

Check
http://src.chromium.org/viewvc/chrome/releases/
http://src.chromium.org/viewvc/chrome/releases/12.0.725.0/DEPS?revisi...
has :
'src/v8':
      'http://v8.googlecode.com/svn/trunk@7427',
and in : http://code.google.com/p/v8/source/list?num=25&start=7446
you can see that it's version 3.2.6.
Same reading for 12.0.703.0 gives v8 3.2.1.1
Maybe chromium builds v8 with --nocrankshaft ?

Along with :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Søren Gjesse  
View profile  
 More options Apr 5 2011, 5:31 am
From: Søren Gjesse <sgje...@chromium.org>
Date: Tue, 5 Apr 2011 11:31:22 +0200
Local: Tues, Apr 5 2011 5:31 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

Crankshaft has been the default for V8 on both ARM and x64 starting from
version 3.2.0. When you run the browser on the ARM machine what is shown for
about:version? You could try to pass these

  --js-flags="--crankshaft"
  --js-flags="--nocrankshaft"
  --js-flags="--always-full-compiler"

And see what differences you observe.

Regards,
Søren


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arun M  
View profile  
 More options Apr 6 2011, 3:00 am
From: Arun M <arunm.chr...@gmail.com>
Date: Wed, 6 Apr 2011 00:00:27 -0700 (PDT)
Local: Wed, Apr 6 2011 3:00 am
Subject: Re: ARM support - which architecture variants?
Hi Victor

Will this method of detecting VFPv3 work in chromium browser when
sandbox is enabled?
Will browser sandbox allow to fopen "/proc/cpuinfo" file?

Arun

On Apr 4, 6:19 pm, Víctor M. Jáquez L. <vjaq...@igalia.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Víctor M. Jáquez L.  
View profile  
 More options Apr 6 2011, 4:47 am
From: Víctor M. Jáquez L. <vjaq...@igalia.com>
Date: Wed, 6 Apr 2011 10:47:34 +0200
Local: Wed, Apr 6 2011 4:47 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

On Wed, Apr 06, 2011 at 12:00:27AM -0700, Arun M wrote:
> Hi Victor

> Will this method of detecting VFPv3 work in chromium browser when
> sandbox is enabled?
> Will browser sandbox allow to fopen "/proc/cpuinfo" file?

Sorry Arun, I don't know. I'm not familiar with chrome in general.

vmjl


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodolph Perfetta  
View profile  
 More options Apr 6 2011, 5:31 am
From: Rodolph Perfetta <rodolph.perfe...@gmail.com>
Date: Wed, 6 Apr 2011 10:31:47 +0100
Local: Wed, Apr 6 2011 5:31 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

Arun,

Have you tried running Chrome with the options Soren mentioned? The result
should tell you if crankshaft is enabled or not.

Rodolph.

2011/4/6 Víctor M. Jáquez L. <vjaq...@igalia.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arun M  
View profile  
 More options Apr 6 2011, 9:25 pm
From: Arun M <arunm.chr...@gmail.com>
Date: Wed, 6 Apr 2011 18:25:46 -0700 (PDT)
Local: Wed, Apr 6 2011 9:25 pm
Subject: Re: ARM support - which architecture variants?
Hi

I ran with --js-flags="--crankshaft" and --js-flags="--nocrankshaft"
options.
But the V8 scores are nearly same.

V8::DisableCrankshaft() function is called from cpu-arm.cc.
I think Chromium is not able to parse /proc/cpuinfo file and get VFPv3
information.

Arun

On Apr 6, 6:31 pm, Rodolph Perfetta <rodolph.perfe...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Søren Gjesse  
View profile  
 More options Apr 7 2011, 3:22 am
From: Søren Gjesse <sgje...@chromium.org>
Date: Thu, 7 Apr 2011 09:22:06 +0200
Local: Thurs, Apr 7 2011 3:22 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

Arun,

These are interesting experiments, and it would be great to get ot the
bottom of this.

I assume that /proc/cpuinfo contains the strings "ARMv7" and "vfpv3", as
that is the exact strings which are checked for. You could also try to run
chrome with the --no-sandbox option to see whether that makes a diffrence.
V8 has a number of options which can be used to trace the optimizations
performed by crankshaft, try --js-flags="--trace-opt --trace-deopt
--trace-osr --trace-bailout" for the full monty.

If you know that VFPv3 is available you could try to hack the CPU detection
in OS:::ArmCpuHasFeature (platform-linux.cc) always return true for VFP3.

Regards,
Søren


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arun M  
View profile  
 More options Apr 13 2011, 1:24 am
From: Arun M <arunm.chr...@gmail.com>
Date: Tue, 12 Apr 2011 22:24:50 -0700 (PDT)
Local: Wed, Apr 13 2011 1:24 am
Subject: Re: ARM support - which architecture variants?
Hi

I tried all options.
When i disable sandbox or hack the CPU detection
in OS:::ArmCpuHasFeature and run v8 benchmark,
the browser tab crashes.
I am trying to find the issue.

Regards
Arun

On Apr 7, 4:22 pm, Søren Gjesse <sgje...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodolph Perfetta  
View profile  
 More options Apr 13 2011, 3:46 am
From: Rodolph Perfetta <rodolph.perfe...@gmail.com>
Date: Wed, 13 Apr 2011 08:46:30 +0100
Local: Wed, Apr 13 2011 3:46 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

Which platform are you running on? Do you know which CPU? (maybe send your
/proc/cpuinfo)

Rodolph.

On 13 April 2011 06:24, Arun M <arunm.chr...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arun M  
View profile  
 More options Apr 27 2011, 5:23 am
From: Arun M <arunm.chr...@gmail.com>
Date: Wed, 27 Apr 2011 02:23:11 -0700 (PDT)
Local: Wed, Apr 27 2011 5:23 am
Subject: Re: ARM support - which architecture variants?
Hi

I updated the chromium browser version to 12.0.742.0.
V8 score has almost doubled after the hack in OS:::ArmCpuHasFeature.

Thanks & Regards
Arun

On Apr 13, 4:46 pm, Rodolph Perfetta <rodolph.perfe...@gmail.com>
wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Søren Gjesse  
View profile  
 More options Apr 27 2011, 5:42 am
From: Søren Gjesse <sgje...@chromium.org>
Date: Wed, 27 Apr 2011 11:42:39 +0200
Local: Wed, Apr 27 2011 5:42 am
Subject: Re: [v8-users] Re: ARM support - which architecture variants?

Thank you for the feedback. It is great to hear that you now get the
performance benefit of V8 Crankshaft on ARM. We are working on a better way
of detecting VFPv3 to correctly enable Crankshaft.

Regards,
Søren

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »