Mtune generic and native

I've had "-mtune=generic" in my makepkg.conf file since I upgraded GCC a few weeks ago. Why? Because I read it is a good idea. I really don't understand the scope of it. Now today with my newest Pacman upgrade, it mentions adding "-mtune=native". So here's my question:
What do these things do and should they be run together?
Hmmm. I guess my question answered itself. Generic is for if you plan to share your builds, and native is for your own local builds. Correct?
Last edited by skottish (2007-06-05 01:21:53)

Yeah, the GCC docs are a bit unclear about this part in my opinion. I've been doing some research about this too, and I've found some reactions from people who are certain this is added automatically as well as people telling you still have to add it your own. So I can't really help you on this. The only thing I can say is I add the -msse and -m3dnow (I have an athlon XP)  flag because I'm not sure the -mtune=native flag is adding it by default and either way it's not bad to add it yourself.
But if someone could give a clear explanation it would be nice, I do understand skottish's questions about it being somewhat unclear

Similar Messages

  • -march=x86-64 -mtune=generic ; generic is i686!

    I just wanted to add that the arch packages and makepkg.conf on arch64 uses c(xx)flags that state to use x86-64 instruction sets, but tune for i686!
    i686 means e.g. half the registers and no sse/sse2 support enabled, besides the half bandwith of the registers!
    I hope I understand the gcc docs right when they say that "Moreover, specifying -march=cpu-type implies -mtune=cpu-type.", as then the -mtune flag is just redundant, but i'm not entirelly sure that I understand that right, since e.g. Slackware32 and Zenwalk uses i484 and i686 tuning and VectorLinux uses i586 and i686 tuning, so maybe the gcc statement means that -march only implies -mtune, if not -mtune is added specifically in addition to the -march ?

    OK, Thanks!
    Sorry, but if I can just come with one final closing argument; I know it's the same as i've said before, but I will just cut it out in cardboard now, or so to speak...
    Under the -mtune option there's listed a bunch of cpu-types and cpu-families,but they are all called cpu-type in the man, no matter if they are a cpu-family: "The choices for cpu-type are"...
    Now under generic it's stated that if you don't know what cpu end users are using, then this should be used, but keep in mind that all the available choises that can be entered after -mtune are called cpu-type in the man, including e.g. i585, i686 and X86-64, even though they are cpu-families and hence imho generic isn't right for our choise where we do know the cpu-familly!
    In short, they are saying that if you don't can use ANY of the available -mtune cpu-type/familly valyes, then generic is the way to go!
    Now if we still use it, then it's stated to be for common i686 and x86-64 cpu's + under i686 it's stated to be the same as generic.
    This means that if using -mtune generic without an -march, then the code will be using i386 instruction set, but tuned for best schedulling on common i686/x86-64 cpu's.
    But, if additionally adding an -march in addition to the -mtune, then you override the i386 instruction set code with another value, like e.g. i686 or whatever, but nowhere does it state that you imposses or losses the restriction on the -mtune value, which is for scheduling and not instruction set and abi!...
    -mtune are for processor scedulling without taking instruction sets into equation, whereas -march are specifically for instruction sets and abi, and i cannot find any place where it's stated that -mtune uses the -march value as minimum cpu schedulling-type. Instead there says that -march equals -mtune, but we then override that with adding another specific -mtune value!
    I would like that we ditch -mtune, since that equals the same -mtune as our -march!.
    Now if i thought that generic in our case would equal different x86-64 cpu's and no i686 cpu's,  i would also think that it would be fine, but i just don't think that based on the spec(man).
    Sorry for blabbing on, but i just wanted to explain myself so as to ppl dosen't just think that i'm an idiot, but that i've actually given it some thought also...
    I'll shut up now, as i haven't got any new arguments...
    Last edited by mhertz (2010-11-30 09:22:35)

  • Reporting Services in both SharePoint 2013 connected and native mode?

    Is it possible to configure Reporting Services (SQL Server 2014) to support both SharePoint 2013 connected mode and local Report Server in native mode on the same server using multiple instances of RS? The reason for this setup is to avoid having to purchase
    SharePoint Enterprise CALs for other users than analysts and still be able to publish standard reports to all employees.
    Management and analysts -> Custom reports published through SharePoint 2013 Enterprise (SP2013 ECALs and SQL Server 2014 core license). Data alerts and Power View enabled if possible.
    All employees -> Standard reports published through Native Mode Report Server (SQL Server 2014 core license). Possible subscriptions.
    I find the official documentation a bit lacking in this area but can't find anything stating against the above. It would be greatly appreciated if someone could confirm before planning the installs.
    What I'm aiming for is somewhat similar to the "2 Tier Topology" described at: Example
    License Topologies and Costs for SQL Server 2014 Self-Service Business Intelligence
    With the difference that there is a separate SQL Server 2014 server used both by SharePoint and as a standalone BI-server.
    SharePoint EE + SQL Server 2014 EE
    Excel Services
    SSRS Add-in (Reporting Services, Power View)
    SQL Server DB for SP Content, Configuration and Service Application DB:s
    SQL Server 2014 EE - SharePoint + Standalone for BI
    SSRS SharePoint Mode
    SSRS Native Mode
    SSAS (Not in SharePoint mode, skipping PowerPivot for now. Would Power View still work?)
    SQL Server DB for Data Warehouse
    = 1 x SharePoint EE Server Licence, 2 x SQL Server 2014 EE Server Licenses?
    Deployment
    Topologies for SQL Server BI Features in SharePoint - Actually gives a good overview in the section "PowerPivot for SharePoint
    2013 and Reporting Services Three Server Deployment". Just remove PowerPivot Service from Server 1 and change the Analysis Services in Server 2 to a regular native multidimensional mode. Server 2 would also be used for native Reporting Services.
    Fallback or even beneficial option to install SSRS in SharePoint mode on the SQL Server instance used for content and configuration?

    Hi Daniel Wikar,
    As per my understanding, you want to install two SQL Server instances on the same server, and configure one of the Reporting Services to SharePoint integrated mode, another to native mode.
    According to my knowledge, multiple instances of Reporting Services on the same computer, where one instance runs in SharePoint integrated mode and the other instance runs in native mode is supported. But we must run all report server instances at the same
    level. For example, if we are using SQL Server 2014, all report server instances must be SQL Server 2014.
    Besides, Analysis Services and Reporting Services can be installed as standalone servers, in scale-out configurations, or as shared service applications in a SharePoint farm. Installing the services in a farm enables BI features that are only available in
    SharePoint, including PowerPivot for SharePoint and Power View.
    For more information about Feature Comparison of SharePoint and Native Mode and Supported and Unsupported Configurations, please refer to the following documents:
    http://msdn.microsoft.com/en-us/library/ms157231.aspx
    http://technet.microsoft.com/en-US/library/bb510781(v=SQL.105).aspx
    For detailed information regarding to the license issue, please call
    1-800-426-9400,
    Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    You can also visit the following site for more information and support on licensing issues:
    http://www.microsoft.com/licensing/mla/default.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Generic and Inheritance, how to use them together?

    Hi guys, I am trynig to design some components, and they will use both Generics and Inheritance.
    Basically I have a class
    public class GModel <C>{
        protected C data;
        public C getData(){return data;}
    }//And its subclass
    public class ABCModel <C> extends GModel{
    }//On my guess, when I do
    ABCModel abcModel = new ABCModel<MyObject>();The data attribute should be from MyObject type, is it right?
    So, usign the netbeans when I do
    MyObject obj = abcModel.getData();I should not use any casting, since the generics would tell that return object from getDta would be the MyObject.
    Is this right? If yes; did someone try to do that on netbeans?
    Thanks and Regards

    public class GModel <C>{
    public class ABCModel <C> extends GModel{public class ABCModel <C> extends GModel<C>{
    ABCModel abcModel = new ABCModel<MyObject>();ABCModel<MyObject> abcModel = new ABCModel<MyObject>();

  • Casting, generics and unchecked expressions

    Hi
    I'm trying to access a vector of Recommendations held by a Person object, but I don't want to allow direct access to the vector, just the information contained in it
    public Vector<Recommendation> getRecommendations() {
         return((Vector<Recommendation>)recList.clone());
    }The trouble I'm having is that I have to cast the recList.clone() as a Vector<Recommendation> to return a compatible type.
    When I do this, the source compiles with a warning: unchecked cast.
    Could someone explain an unchecked cast and give me a pointer to solving this please? I've not managed to find anything about combining generics and clones in my books. Is there another way of returning a copy of the vector? All I want to do is make the objects in the vector available for viewing, via processing in a servlet, to a jsp.
    Thanks in advance

    YoGee wrote:
    What you are exposing is a Vector with a reference to a clone of the internal data array, you are not cloning the elements in that data array. So basically if you modify an element in one Vector chances are it will be reflected in the other (assuming the element is mutable).Thanks for the reply.
    I should have said that what I want to achieve is:
    make the Vector<Recommendation>recList contents available for viewing, but not expose the objects so that they are able to be changed - so what I have done is not good!
    after some thought, what I really want is this:
    If what you actually want to achieve is a deep clone (i.e. clone the elements in the internal data array) you need to do it yourself by looping through the Vector and cloning each element in it (assuming the elements implement clone properly)so thanks for the help!

  • Difference bw the data staging of generic and appli specefic data sources

    Hi,
       Can anyone tell the difference between data staging of generic and appl specific data sources. Like we know that LO data stage in queued delta, update queue and BW delta queue, i want to know actually where the generic data stages before it is loaded into BW.
    Thanks.

    Generic data sources are based on either a DB table/view, a function module or an ABAP query. So normally the data stages in the corresponding DB tables or you calculate it at extraction time. There is no update queue like in LO.
    Best regards
       Dirk

  • The JNI defines a mapping of Java types and native (C/C++) types.

    As per the tutorial
    The JNI defines a mapping of Java types and native (C/C++) types.Does the above sentence mean that I can use dll written in C/C++ only and not dll written in Pearl.
    Could anyone please give me the solution.

    Please do tell me how can I call a dll file created in Perl ....And I will point out again that I doubt that it is possible to create a dll that has the following characteristics
    1. Is in fact a dll.
    2. Is in fact intended to run anywhere outside of the perl engine.
    Step 2 means that you run perl, not a "perl dll" via C.
    You can do that or at least in the past you could. And that has nothing to do with java nor JNI. So you would learn about it on a perl site.
    And I can only note that when I did that a number of years ago it was very difficult. Certainly much harder than getting JNI to work. And you had better have quite a bit of C/C++ experience before you attempt it.

  • Dynamic Range and Native ISO information

    I manage the mobile app "Formats" (https://itunes.apple.com/us/app/formats/id890528993?mt=8), and I'm looking to find information on a number of Canon camcorders. In particular, I'm trying to verify the dynamic range and native ISO of the following cameras:  XF100XF200XF300 I called Canon customer service and was told they "dont publish that infromation". Can anyone help me? Thanks!

    zakray wrote:
    I manage the mobile app "Formats" (https://itunes.apple.com/us/app/formats/id890528993?mt=8), and I'm looking to find information on a number of Canon DSLRs. In particular, I'm trying to verify the dynamic range and native ISO of the following cameras:  5D Mk II5D Mk III6D7DT5i I called Canon customer service and was told they "dont publish that infromation". Can anyone help me? Thanks!Dynamic range varies depending on the definition used.You might want to check clarkvision.com.

  • Generic and Flat file extraction

    Hi experts
    can any body send the Real time scenario for Generic and flat file extraction with examples.
    Thanks and regrds,
    satya

    Hi,
    Generic extraction is an extraction where you create a Generic DS and based upon this you would be extracting the data from R/3, which means you would have an source system to extract the generic data from the generic data source.
    Flact file extraction is an extraction where you need not have to connect to source
    system, in this case you source system would be PC, here you would be designing an infosource based up on the fields/columns of your flat file and mapping the corresponding the infoojects to it.. and update rules..
    and you would be loading/extracting the data from the file as a source..
    These two things are different in nature and usage..
    Hope this helps..
    assign points if useful..
    cheers,
    Pattan.

  • Using generics and J2SE together with JSF

    Hi
    Has anybody experience with using JSF together with J2SE 1.5? Especially generics? I would like to use generics and other improvements from J2SE in the model objects.
    Thnaks in advance ... Rick

    JSF 1.1 is specified for J2SE 5, and the new specification (JSF 1.2 and JSP 2.1) does not include generics.
    If you are talking in terms of ValueBindings or MethodBindings, there really isn't any point since the implementation could only make the cast for you; and it would still not be able to garuantee type safety (the only reason to use generics).
    That's not to say you couldn't use generics in your own development, but I don't think you will see generics incorporated into the specification any time soon.
    Jacob Hookom (JSR-252 EG)

  • Dot1q-tunneling and native frames ( untagged )

    hi all I have the following setup:
    tunnel Port:
    interface GigabitEthernet1/0/2
    switchport access vlan 784
    switchport mode dot1q-tunnel
    switchport nonegotiate
    l2protocol-tunnel cdp
    l2protocol-tunnel stp
    l2protocol-tunnel vtp
    no cdp enable
    spanning-tree portfast
    Trunk Port - Into Carrier Network
    interface GigabitEthernet1/0/25
    switchport trunk encapsulation dot1q
    switchport trunk native vlan 4094
    switchport mode trunk
    switchport nonegotiate
    load-interval 30
    speed nonegotiate
    spanning-tree bpdufilter enable
    the Native Port on the tunnel interface = 1 and native vlan tagging is enabled on the switch.
    what happens to untagged frames that hit the tunnel port from the customer? Imagine that they dont have their port as a trunk and are instead emitting untagged frames?
    are these dropped or simply have a single Q-tag pushed and are then tunnelled through the carrier network?
    I have followed the recommendation of making the trunk port have a native vlan that is not the native vlan of any of the tunnel ports.
    thanks

    Normally double-tag traffic is seen as NON-IP traffic by metro devices, since they cannot see beyond first tag.
    Untagged customer traffic will behave like IP traffic in metro network, since it will have only one tag.
    You can use a trick - create an IP access list on trunk port with "deny ip any any" - basically denying all IP traffic. That should stop all traffic that was not tagged by the customer. Ofcourse that will disable your management - so you need to plan this.
    If more than one customer is using same S-VLAN, and one customer has e.g. VLAN 3 untagged, and other one has VLAN 5 untagged, their VLANs will be interconnected.

  • Comparing the ROI of Content Marketing and Native Advertising

    Sharing an interesting article on the topic here: https://hbr.org/2015/07/comparing-the-roi-of-content-marketing-and-native-advertising?utm_source=twi...
    This topic first appeared in the Spiceworks Community

    Sharing an interesting article on the topic here: https://hbr.org/2015/07/comparing-the-roi-of-content-marketing-and-native-advertising?utm_source=twi...
    This topic first appeared in the Spiceworks Community

  • TS1814 I can't seem to get the drivers downloaded on my windows laptop for my iphone 5s, the info is coming up generic and im getting a code 1.  Please help

    I can't seem to get the drivers downloaded on my windows laptop for my iphone 5s, the info is coming up generic and im getting a code 1.  Please help

    All necessary drivers are included in the iTunes install package.
    Please clarify exactly what the problem is.
    the info is coming up generic and im getting a code 1
    That's not very informative.

  • Generic and Variant Article in IDOC for EDI810

    Friends,
    i have an issue with processing the EDI810 with both generic and variant articles in the IDOC.
    i am testing the Idoc, but it fails. when i delete the generic article from the EDi810 and process the IDoc, the invoice is getting posted.
    is it that the vendor has to send otr EDI team has to suppress the generic articles and send only Variant areticle to SAP?
    how does it work
    Please help
    Regards

    In MM43 under Basic Data (uppermost portion), if you input a generic article, only the article will be displayed. but if you input a variant article, its generic article will be displayed on top of it...
    Its field name is RMMW1-VARNR. The generic article is RMMW1-MATNR.
    Message was edited by: Winnie Chan

  • Management and native Vlan in different subnet??

    Can i have a management ip and native vlan in different subnet on a AIR-1242 and 2960 switch?
    Native on Switch = 1.
    Interface vlan 100 = 10.10.1.25X /24
    BVI ip in vlan 100 = 10.10.1.25X /24
    -HM-

    Hi,
    Thanks for the update..
    Ok in short YES this can be done.. here is the AP configuration..
    Step 1>> Configure the SSID and map it with respective Vlans..
    Step 2>> Create the sub interafce int dot11 0.5 / int fa 0.5 (encapsulation dot1q 5 , bridge-group 5)and int dot11 0.6 / int fa 0.6(encapsulation dot1q 6 , bridge-group 6)
    Step 3>> Create the sub interface 0.100 for both Radio and Fa and under this (encapsulation dot1q 100 native , bridge-group 1)
    Step 4>> Make sure all the interafces are up and running and Try to ping the VLAN 100 interafce ip addr from the AP to verify.
    lemme know if this answered your question..
    Regards
    Surendra
    ====
    Please dont forget to rate the posts which answered your question and mark it as answered or was helpfull

Maybe you are looking for

  • How do you populate right side of Shuttle control

    Hi, I am trying to use shuttle control. I am not sure how to populate the right side of the shuttle control from database. I am using the following code. But, it is not populating the right side. In this code, P35_COUNTRIES is my shuttle. P35_X is a

  • HT3696 I have a Core Duo 32bit system. Is there anyway to upgrade to a 64bit?

    It seems I jumped on the new Intel based Minis too soon. I have upgraded all that I can...that I know at least. I have 10.6.8. An Intel, but its only Core Duo. I wanted to buy some apps, but it seems they all require 64bit!!!...at least the ones I ha

  • Importing Database from SQL Server into Oracle 8i

    Hello Friends, Cuurentlly we are using SQL Server as our application database, Now we want to switch on at Oracle 8i,bcz of some problems, If anybody had done so,then please help me in solving this problem, I wana Import whole database from SQL serve

  • Open iPhoto library in the backup dmg

    I have a macbook air and macbook pro, a fatal error occurs in my macbook air and i have to restore it to factory mode... I make a back up image of my apple air but then I could not open the iPhoto Library from dmg created. It says: The iPhoto library

  • Is it necessary to create a secure zone for a shop?

    I am trying to configure my checkout process, and I was wondering if I had to create a secure zone in order for it to work. I have been looking for the steps that I need to take in order to get it all to work, but I have not found anything. I am also