search for: mca

Displaying 20 results from an estimated 620 matches for "mca".

Did you mean: mac
2018 Nov 21
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
...ltiple basic blocks? The current patch does not take into consideration cases where the region start and end intrinsics are placed in different basic blocks. Such would be the case if a region is defined to span multiple blocks. This would be similar to the current case where a user places a #LLVM-MCA-BEGIN assembly comment in one block and an #LLVM-MCA-END in another. However, as you point out below, if the user does this in the source code via intrinsics (just what this patch is proposing), then there is a chance that optimizations might change the layout of the instructions and confuse the o...
2020 Jan 06
2
[EXTERNAL] Get llvm-mca results inside opt?
Andrea, thanks for the advice. On Jan 2, 2020, at 8:09 AM, Andrea Di Biagio <andrea.dibiagio at gmail.com<mailto:andrea.dibiagio at gmail.com>> wrote: Hi Lewis, Basically - if I understand correctly - you want to design a pass that uses llvm-mca as a library to compute throughput indicators for your outlined functions. You would then use those indicators to classify outlined functions. Yes basically, the idea is to build a performance model for that outlined function. llvm-mca doesn't know how to evaluate branches or instructions that...
2018 Dec 12
4
[RFC] Moving tools/llvm-mca/lib into lib/MCA
(on the correct mailing list) Hi all, tl;dr: We'd like to propose moving tools/llvm-mca/lib into lib/MCA and create a new MCA library in LLVM. llvm-mca has recently been split <https://bugs.llvm.org/show_bug.cgi?id=37696> into its core part and the tool part. - The core part simulates the execution of a basic block of machine instructions as model...
2019 May 02
2
Llvm-mca library.
Hi Lorenzo, I’ll answer the first question you have: > I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version (https://reviews.llvm.org/D50929?id=162210<https://urldefense.proofpoint.com/v2/url?u=https-3A__reviews.llvm.org_D50929-3Fid-3D162210&d=DwMFAg&c=5VD0RTtNlTh3ycd41b3MUw&r=o3k...
2019 Dec 24
2
Get llvm-mca results inside opt?
...parallel for for(auto i = 0; i < size; ++i){ // … do work } stop_collecting_parallel_for_data(); The omp region will get outlined into a new function and what I would like to be be able to do in opt is compile just that function to assembly, for some target that I have chosen, run llvm-mca just on that function, and then replace the -1.0s with uOps Per Cycle, IPC, and Block RThroughput so that my logging code has some estimate of the performance of that region. Is there any reasonable way to do this from inside opt? I already have everything in place to find the start_collect_paral...
2018 Nov 27
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
Thanks for clarifying it Matt. In general, I quite like your suggested design. My only concern is about the semantic of the two new intrinsics. You design doesn't allow mca ranges to span through multiple basic blocks. That constraint is acceptable for now, since llvm-mca doesn't know how to deal with control flow. However, I am a bit concerned about what might happen in future if we decide to let users specify code regions that span through multiple basic blocks....
2018 Nov 15
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
Introduction ----------------- Currently llvm-mca only accepts assembly code as input. We would like to extend llvm-mca to support object files, allowing users to analyze the performance of binaries. The proposed changes (which involve both clang and llvm) optionally introduce an object file section, but this can be stripped-out if desired. For t...
2019 May 03
3
Llvm-mca library.
...read that out-of-order cores are supported. How about in-order cores? > Would it be easy/difficult to add support for that? > > Cheers, > Sjoerd. > > I don't think that it would be difficult to support in-order superscalar cores. However, it would require a different llvm-mca pipeline of stages. That is because some stages (and simulated hardware components) work under the assumption that the processor is out-of-order (example: the dispatch stage and the retire stage). That being sadi, it would be a bit more complicated to add support instruction itineraries. At the mom...
2018 Dec 03
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
...a Di Biagio <andrea.dibiagio at gmail.com> > wrote: > > > Thanks for clarifying it Matt. > > > > In general, I quite like your suggested design. > > > > My only concern is about the semantic of the two new intrinsics. You > > design doesn't allow mca ranges to span through multiple basic blocks. That > > constraint is acceptable for now, since llvm-mca doesn't know how to deal > > with control flow. > > However, I am a bit concerned about what might happen in future if we > > decide to let users specify code regions...
2018 Dec 10
4
[RFC][llvm-mca] Adding binary support to llvm-mca.
Hi Matt, I can see a near future where perf-analysis tooling uses branch history profiler captures to determine how often loops/branches are taken and feeds that into llvm-mca, especially for hot/branchy loop analysis reports etc. Are you confident that your approach will be easily extendable for this? Similarly, being able to generally embed the profile markers in object libraries for reuse is going to be important for some people - I'd like to see more of...
2018 Dec 10
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
...com> wrote: > Hi Matt/Andrea, > > I see pros and cons for IACA-style markers vs intrinsics. > On the one hand, IACA-style markers are very magical, and not very visible > in both the source and object code. Using IACA-style markers has the > advantage that you can use llvm-mca as a drop-in replacement for IACA, or > even to compare their outputs on the exact same binary. They also do not > require tooling on the compiler side and allow comparing the output of > several compilers. > On the other hand, IACA-style markers do not have a equivalent on other > a...
2019 May 02
2
Llvm-mca library.
Hi All, I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version (https://reviews.llvm.org/D50929?id=162210 <https://reviews.llvm.org/D50929?id=162210>) but I have troubles understanding how to use it. Could you please point me to some documentations...
2008 Dec 15
8
[PATCH 0/2] MCA support with page offlining
Hi all, I had posted about MCA support for Intel64 before. It had only a function to log the MCA error data received from hypervisor. http://lists.xensource.com/archives/html/xen-devel/2008-09/msg00876.html I attach patches that support not only error logging but also Page Offlining function. The pa...
2007 Jan 31
2
mca-graphics: all elements overlapping in the help-example for multiple correspondence analysis
Dear all, I tried out the example in the help document for mca (the multiple correspondence analysis of the MASS package): farms.mca <- mca(farms, abbrev=TRUE) farms.mca plot(farms.mca) But the graphic that I get seems unfeasible to me: I cannot recognize the numbers (printed in black) because they are all overlapping and concealing each other. I don ?t...
2013 Jun 01
1
error about MCA
Hi,all: I want to perform multiple correspondance analysis via MCA{FactoMineR}. The data is in the attachment. My code: dat<-read.delim("e:\\mydata.txt",header=T) MCA(dat,quanti.sup=7,quali.sup=1:6) Error in `[.data.frame`(tab, , i) : undefined columns selected My question: Why does the error happen? Many thanks. Best. -------------- next part -...
2007 Dec 17
1
HA-NFS AND HA-ZFS
We are currently running sun cluster 3.2 on solaris 10u3. We are using ufs/vxvm 4.1 as our shared file systems. However, I would like to migrate to HA-NFS on ZFS. Since there is no conversion process from UFS to ZFS other than copy, I would like to migrate on my own time. To do this I am planning to add a new zpool HAStoragePlus resource to my existing HA-NFS resource group. This way I can
2020 May 10
2
[llvm-mca] Resource consumption of ProcResGroups
...elpful! > > > > Also, sorry for the miscue on that bug with the 2/4 cycles — I realize now > that that’s an artifact of a change that I made to not crash when resource > groups overlap without all atomic subunits being specified: > > `echo 'fxrstor (%rsp)' | llvm-mca -mtriple=x86_64-unknown-unknown > -march=x86-64 -mcpu=haswell` > crashes (because fxrstor requests > `HWPort0,HWPort6,HWPort23,HWPort05,HWPort06,HWPort15,HWPort0156`, so > HWPort0156 ends up asserting because 0,1,5, and 6 are all taken), so I > added: > ``` > --- a/llvm/...
2007 May 29
24
RFC: MCA/MCE concept
Hello! The current MCA/MCE support in Xen is that it dumps the error and panics. In the following concept I propose here, there are two places where Xen has to react on. I) Xen receives a MCE from the CPU and II) Xen receives Dom0 instructions via Hypercall The term "self-healing" below is used in the se...
2000 Jul 11
0
A small error in mca ?
Dear list, Working the example in Stats complements to V&R 3rd ed., I found this : > library(MASS) > library(mva) > data(farms) > plot(mca(farms,abbrev=TRUE),cex=rep(0.7,2)) # ... Works OK # Sheer curiosity ... > plot(mca(farms,abbrev=TRUE,nf=4),cex=rep(0.7,2)) Error in rep(p * X.svd$d[sec], c(n, n)) : invalid number of copies in "rep" A bit of exploration in the MASS source shows (12th line of the mca function body) :...
2019 Jun 06
2
[llvm-mca] What's the difference between Rthroughput and "total cycles" in llvm-mca
What is the difference between the two? I thought "Rthroughput" is basically the number of cycles required to execute a single iteration at steady state, but this does not seem to match with the schedule/timeline generated by llvm-mca. Thanks in advance, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190606/90804083/attachment.html>