[Solved] Side effects of compiling on slower machines.

So, I had been doin' casual stuff on my big 'ol laptop (Quad-core I7), when it's bios randomly bricked and I was unable to boot. (I think it was the bios, since it crashed on the boot logo before dying.)
Anyway, I now have a silly lil' lappy (Dual-Core I3 fuq yeah!) which I actually bought for school.
Compiling linux-pf took ~5 hours, and wine-silverlight around the same time.
I wonder, since compiling tasks have to be split over only 2 cores (I use -j4 anyway ), and they have to work much harder to compile because they don't have as much power as I7, does compiling also affect the lifetime of the lappy much more than it did on my "big 'ol laptop"?
And, does it also have more side effects?
EDIT: I forgot to state that the lappy is a netbook.
Last edited by mid-kid (2013-10-23 07:26:28)

Anoknusa is on the right track.   There is actually an analogy to electrical circuits when looking at heat flow.   Essentially, heat is dissipated in the junctions of the transistors in the die.  the temperature of the die is a function of the heat capacity of silicon, and the amount of heat present.  If the die is insulated thermally, then heat cannot flow from the device and the temperature will increase without bounds (or until something melts)
If there is a thermal sink (Think the heat sink), and a thermal source (the die), and a thermal path between them, then heat will flow from the source to the sink.  The rate of heat flow is determined by the delta (difference) in temperature between the temperature of the source and the sink, and the thermal resistance between them.  Thermal resistance is a function of the material (plastics have a low thermal conductivity, metals and ceramics have high conductivity) and the area.  ICs are rated at maximum junction temperatures and define the thermal conductivity to the case.
So, the variables include the thermal conductivity of the processor, the junction temperature at which the processor runs (a function of the number of transistors and who fast they switch), the area on top of the processor on to which you can attach a heatsink, the ambient temperature around the heatsink, the size of the heatsink, the airflow over the heat sink, and the thermal conductivity of the goo between the heatsink and the case of the processor (BTW, Air is a sucky thermal conductor, so a heatsink without goo is worthless).   To make things even more complex, many modern chips have thermal pads under the parts that are intended to be soldered down to ground layers on the printed circuit board to allow the board itself to act as a heatsink.  These pads are impossible to solder without a surface mount reflow process.  I think the Ras-Pi has a processor with this type of thermal pad.   This type of thermal pad is not compatible with socketed devices.  In fact, sockets probably do a pretty good job of insulating the entire bottom of a processor.
Last edited by ewaller (2013-10-19 16:36:59)

Similar Messages

  • Compiler warning PLW-05003 parameter at IN and COPY may have side effects

    For the following Procedure:
    create or replace
    PROCEDURE lob_replace
    p_lob IN OUT NOCOPY CLOB,
    p_what IN VARCHAR2,
    p_with IN VARCHAR2 )
    AS
    n NUMBER;
    BEGIN
    dbms_output.put_line('p_what = ' || p_what);
    dbms_output.put_line('p_with = ' || p_with);
    n := dbms_lob.instr( p_lob, p_what );
    dbms_output.put_line('n = ' || n);
    IF ( NVL(n,0) > 0 ) THEN
    dbms_lob.copy( p_lob, p_lob, dbms_lob.getlength(p_lob), n+LENGTH(p_with), n+LENGTH(p_what) );
    dbms_lob.write( p_lob, LENGTH(p_with), n, p_with );
    IF ( LENGTH(p_what) > LENGTH(p_with) ) THEN
    dbms_lob.trim( p_lob, dbms_lob.getlength(p_lob)-(LENGTH(p_what)-LENGTH(p_with)) );
    END IF;
    END IF;
    END;
    When I compile this, I receive the following warning "Warning(15,5): PLW-05003: same actual parameter(P_LOB and P_LOB) at IN and NOCOPY may have side effect"
    Line 15, column 5 is:
    dbms_lob.copy( p_lob, p_lob, dbms_lob.getlength(p_lob), n+LENGTH(p_with), n+LENGTH(p_what) );
    I'm reading about the NOCOPY Compiler hint at
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/08_subs.htm#12813 but I'm not for sure what exactly the issue is here?
    The syntax for dbms_lob.copy is:
    DBMS_LOB.COPY (
    dest_lob IN OUT NOCOPY BLOB,
    src_lob IN BLOB,
    amount IN INTEGER,
    dest_offset IN INTEGER := 1,
    src_offset IN INTEGER := 1);
    Do I need to copy the p_lob to another variable, not sure what do here?

    Hi,
    Is this really a stand alone procedure, or is it in fact part of a package?
    That warning usually comes when parameter is declared with NOCOPY in specification but without in body. Or vice versa.
    Could this be the case?
    Regards
    Peter

  • Any bad side-effects to lengthy blocking in native code? - crosspost

    [This question was also posted on the Native Methods forum a day ago, so far no response]
    1) Are there any negative side-effects to having one (or maybe a few) Java threads block for an extended period (e.g. hours) in native code? Naturally the thread would NOT be one of the "special" threads (such as the Swing event dispatcher, etc).
    2) Does the answer vary by platform? I'm interested in Win32, Linux and possibly Solaris (in that order).
    3) What if I scale the number of threads blocked in JNI code up to 100 threads. Does that change any of the answers? This is perhaps a silly number, I'm just trying to understand if more resources are consumed by blocking in the JNI as opposed to blocking in Java.
    4) Do modern JVM's use one native thread per Java thread? If so, then I would guess there is really nothing special about blocking in native code.
    Lastly, Is this stuff spelled out in some document? Or is there some newsgroup dedicated to the topic? I looked a comp.lang.java.machine, but there is nothing there but spam.
    Motivation for query -- In my application I need to interface with legacy C++ code that blocks (mostly on socket and i/o selects). I'm not thrilled about native code, but if there are no serious side-effects to extended blocking, it may be a viable approach.

    [This question was also posted on the Native Methods
    forum a day ago, so far no response]
    1) Are there any negative side-effects to having one
    (or maybe a few) Java threads block for an extended
    period (e.g. hours) in native code? Naturally the
    thread would NOT be one of the "special" threads (such
    as the Swing event dispatcher, etc).No. It is common to have a "reader" thread for a blocking socket connection. This results in a block in native code for days (months). The only impact is that you may end up creating alot of threads to handle this blocking code.
    >
    2) Does the answer vary by platform? I'm interested in Win32, Linux and possibly Solaris (in that order).I would hope not. You may find that WIn32 will run out of threads fairly quickly (at about 1000 threads) Earlier versions of Linux create a different process per thread which can have a non-trival overhead. Solaris will probibly not care. It has a thread number limit but if you reach it you are probibly doing something wroung.
    >
    3) What if I scale the number of threads blocked in
    JNI code up to 100 threads. Does that change any of
    the answers? This is perhaps a silly number, I'm just
    trying to understand if more resources are consumed by
    blocking in the JNI as opposed to blocking in Java.It takes a while to start a thread, it also consumes a minimal amount of per thread memory which can add up if you have 100s of threads. f you are writing the JNI I would suggest writing it to scale such that say more connections/files etc can be handled by a small number of threads (like NIO does) and these issues are reduced.
    >
    Motivation for query -- In my application I need to
    interface with legacy C++ code that blocks (mostly on
    socket and i/o selects). I'm not thrilled about native
    code, but if there are no serious side-effects to
    extended blocking, it may be a viable approach.See above.

  • Any bad side-effects to lengthy blocking in native code? (Win32,Linux,Solar

    1) Are there any negative side-effects to having one (or maybe a few) Java threads block for an extended period (e.g. hours) in native code? Naturally the thread would NOT be one of the "special" threads (such as the Swing event dispatcher, etc).
    2) Does the answer vary by platform? I'm interested in Win32, Linux and possibly Solaris (in that order).
    3) What if I scale the number of threads blocked in JNI code up to 100 threads. Does that change any of the answers? This is perhaps a silly number, I'm just trying to understand if more resources are consumed by blocking in the JNI as opposed to blocking in Java.
    4) Do modern JVM's use one native thread per Java thread? If so, then I would guess there is really nothing special about blocking in native code.
    Motivation for query -- In my application I need to interface with legacy C++ code that blocks (mostly on socket and i/o selects). I'm not thrilled about native code, but if there are no serious side-effects to extended blocking, it may be a viable approach.

    1) Are there any negative side-effects to having one
    (or maybe a few) Java threads block for an extended
    period (e.g. hours) in native code? Naturally the
    thread would NOT be one of the "special" threads (such
    as the Swing event dispatcher, etc).As far as I know the native code is loaded dynamic when a thread will use it.
    So if the thread 1 needs the code written in the native.dll the thread 1 will use
    the first instance of native.dll. So let's say this is blocked.
    Then after 2 hours another thread called thread2 calls the native.dll code. Then
    java ask the OS to create another instance of the native.dll and so on.
    So now there are 2 threads and 2 instances of the dll in the memory.
    All these apply to the Win32 OSs.
    >
    2) Does the answer vary by platform? I'm interested
    in Win32, Linux and possibly Solaris (in that order).
    3) What if I scale the number of threads blocked in
    JNI code up to 100 threads. Does that change any of
    the answers? This is perhaps a silly number, I'm just
    trying to understand if more resources are consumed by
    blocking in the JNI as opposed to blocking in Java.
    If your machine could suffer 100 pure java threads then it is not a problem to be some of them JNI ones.
    4) Do modern JVM's use one native thread per Java
    thread? Yes. Exactly as far as I know and experienced.
    If so, then I would guess there is really
    nothing special about blocking in native code.Exactly.
    >
    >
    Motivation for query -- In my application I need to
    interface with legacy C++ code that blocks (mostly on
    socket and i/o selects). I'm not thrilled about
    native code, but if there are no serious side-effects
    to extended blocking, it may be a viable approach.Yes it is. That is actually why Native methods are existing for.

  • Are there any OSS notes side effects.

    Hello Everyone,
                            Can anyone tell me:
       Will there be any side effects if we implement OSS Notes in BW.
    Did anyone face this problem, i'm just asking you because we need to transfer a note from BW dev to BW prd, just wanted to be carefull about this and also
       Did anyone face any drawbacks after the implementation of the note?
       What if we apply the wrong note then how to rectify it? can any one suggest on this.please.
    Message was edited by:
            ram

    Hi,
    Advice : You should only apply notes which you have read, once applied to the SAP Dev system you should check (you should have a checklist of things to check) and systematically go through it to see that the OSS note hasn't made something else in the system not work. Once the checks have been carried out and it has solved the original bug that you had then only should you promote it to production.

  • Side effects when using Graphics2D.drawString

    Hi! I am trying to render some texts in different places on a JPanel. I use Graphics2D.drawString(String, float , float). My problem is that the AffineTransform of the Graphics2D-object changes after each time I use the method. Should this really be the case? If so, do I need to reset the transformation object in the Graphics2D-object after each call to Graphics2D.drawString or how should I go about it? An example of a set of code and the yielded output is below:
                        System.out.println("graphics transform (before drawLine): " + g2.getTransform());
                        g2.drawString("test", 150, 50);
                        System.out.println("graphics transform (after drawLine): " + g2.getTransform());
    yields:
    graphics transform (before drawLine): AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 23.0]]
    graphics transform (after drawLine): AffineTransform[[1.0, 0.0, 150.0], [0.0, 1.0, 73.0]]

    Trying to produce a small set of code that reproduces the error made me solve the problem, though I do not understand why. Anyhow, I am using Java 1.4.1, and use Mac OS. Code that reproduces the error is below. By uncomment the line ' g2.setColor(Color.black);', the problem dissapears. But please let me know if anyone have an explanation to why setting a gradient paint makes Graphics2D.drawString have the side effect I described above...
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    public class Plotter extends JFrame {
         public Plotter() {
              super("Debug");
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Dimension contentSize = new Dimension(500, 500);
              pack();
              setSize(contentSize);
              setVisible(true);
         public void paint(Graphics g) {
              super.paint(g);
              Graphics2D g2 = (Graphics2D) g;
              g2.setPaint(new GradientPaint(0, 0, Color.green, 100, 0, Color.red, true));
    //          g2.setColor(Color.black);
              System.out.println("graphics transform (before drawLine): " + g2.getTransform());
              g2.drawString("test", 150, 50);
              System.out.println("graphics transform (after drawLine): " + g2.getTransform());     
         public static void main(String args[]) {
              new Plotter();

  • Side Effects of not installing Java/XDB

    Hi,
    are there any side effects known (10g/11g), when not installing one of the following options:
    Spatial
    Oracle interMedia
    OLAP Catalog
    Oracle XML Database
    Oracle Text
    Oracle Expression Filter
    Oracle Rules Manager
    Oracle Workspace Manager
    Oracle Data Mining
    JServer JAVA Virtual Machine
    Oracle XDK
    Oracle Database Java Packages
    OLAP Analytic Workspace
    Oracle OLAP API
    As I know Java/XDB is mandantory in 11g cause of the new "firewall features" for the packages utl_tcp, utl_mail, utl_http, ...
    Does anybody had interesting side effects, when not not all options/users were installed?
    Thanks
    Marco

    It is only has a side effect when you run applications that require an option that is not installed.
    Install what you need based on your requirements.

  • Is there any side effect despite in 'sharing' when I change the computername in os x 10.6

    Hi,
    I'm not sure about any side effect if I change my computer's name (currently like 'first name last name MacbookPro'), e.g will time machine have any trouble with that? Would like to change to a shorter name.
    Computer is in use since 2 years and everything works fine. Just tried to integrate sonos music system with my mac and have trouble sharing iTunes library with sonos. Therefore sonos support asked me to shorten the computers name and see if that helps.
    To me seems more sth like permission problem on one of the folders above iTunes. Is there any logfile I could check to find out about access to files which permission settings don't allow?
    Tia and kind regards
    Manu

    trimanu wrote:
    will time machine have any trouble with that?
    no.
    you can safely change your computer's name as often as you like.

  • Pot object remote connection side effect

    Hi folks,
    I've found a little side effect in the remote connection of a pot object and its input limits. Sometimes it happens that the value input in the pot object is not written. See the attached project.
    Thanks
    Mario Fanelli
    Attachments:
    test_remote_connection.zip ‏6 KB

    Hi Ryan,
    Yes, I think so. The way to solve this effect is to input a wrong value inside the limits of the pot object an after input the correct value. This allow to generate the write event needed for changing the value at the limits of the pot.
    Have a nice day
    Mario Fanelli

  • Upgraded to OS X Yosemite - Slow machine

    I upgraded my MacBook Pro on friday the 17. October to OS Yosemite, but the last thing I did was to make a backup by Time-Machine.
    The first experience with OS X Yosemite was my machine was very very slow. The startup and every command or startup of an application was so slow that it was unusable. SO I started to look into forums here on Apple and other sites around internet. Many things where written about slow machines (and many surely worked fine but who writes a comment - Works fine?). Some indications where FileVault=on (when no SSD disc) and many indications on graphics (external screens). All this might be true but I also experienced when I used OS X Yosemite all applications running on a single screen on my local MacBook Pro (2008 model previously happy running Maverick), it seemed OK but still some slower than Maverick. When I started several screens and put my applications into these several screens the machine was very much slowed down. Even so I must admit I lost patience on OS X Yosemite as there was to much OS hanging (cursor loops) and seems to be locked into kernel processes so it was very slowed down. So I restored Maverick, and now it is fine.
    I hope this can help to solve the "slow down" issues on OS X Yosemite so we again can upgrade these fine machines :-)
    Good luck everyone!

    I have stated before it was´t necessary as reinstallation of OS X Yosemite was doing the job. But after a week usage it started to do its delays and problems again, so I started your process of "solving Yosemite memory leaks and CPU usage". Then My Yosemite was O´Kai again so I´m happy. But I wonder for how long now?
    Anyway Thnx for your guidance!

  • MOPZ-generated SIDE EFFECT report never shows up in SOLMAN

    HI - we are using SOLMAN ST 400, SPS#24
    I am doing a MOPZ transaction for an ERP604/NW701 system landscape - specifically for updating from a lower SPS level to a more recent one...
    In MOPZ....i requested the SIDE EFFECT report.....at that time got to a screen where it displayed the following message "Your request has not yet been processed. Please check back again in a few hours. "
    I've waited more than 3 days - and still - when I go back into SOLMAN....into this same MOPZ transaction#....to look for the SIDE EFFECT report......it doesn't show up anywhere - instead....i just continue to see the same message (Your request has not yet been processed. Please check back again in a few hours. )
    Please advise
    (it seems that the process for MOPZ-generated side effect reports is not as "user friendly" as the "old" way - outside SOLMAN/MOPZ - of doing this - in the "old" way, using SMP....you always got a request id#....and you always got an EMAIL in a few hrs ....that you clicked on to get the report.....i see neither of these when using MOPZ)

    Hi there,
    sometimes the side-effect report may take longer to arrive due to a long processing time for the request. This may happen due to many concurrent requests at the same time, or because there are technical issues in the service backend systems here at SAP.
    I hear that you already got the side-effect reports after a delay, so I guess that your request was finally processed.
    Best regards,
    Miguel Ariñ

  • What exactly are side-effects in #pragma no_side_effect?

    Which of the following qualify as side-effects for the purposes of #pragma [no_side_effect|http://docs.sun.com/app/docs/doc/819-5265/bjaby?a=view#bjacp]:
    1. dynamically allocating/deallocating memory using malloc/free or operator new/delete
    2. exiting the function by throwing a C++ exception
    3. temporarily changing the disposition for a signal (e.g., ignoring or suspending a signal)
    4. creating a thread and joining with it

    Thanks for your answers! Just to make sure I understand correctly: accessing the local state of the caller through a parameter is not a side-effect. I.e., in the following snippet the function has_no_side_effects() has no side-effects:
    int get (int *p) { return *p; }
    void set (int *p, int x) { *p = x; }
    void has_no_side_effects () {
        int x;
        int y;
        set (&x, 0);    // not a side-effect (x is local)
        y = get (&x);   // same
    }But in the following, has_side_effects() does:
    void has_side_effects () {
        static int x;
        static int y;
        set (&x, 0);    // side-effect: writing a "global"
        y = get (&x);   // side-effect: reading a "global"
    }Also, reading global const data (i.e., what might be in ROM) is not a side-effect. Correct? E.g.,
    static const int global[] = { 1, 2 };
    void has_no_side_effects () {
        int x;
        int y;
        x = global [0];   // not a side-effect, global is in ROM
        y = global [1];   // same
    }

  • Hey guyz.. i wanna ask if i get an updated version from itunes when i plug my iPhone into the Pc, i get a letter tells me that there is an update for your iPhone ... i wanna ask is it safe to download ?? and does it make any side effects on longTerm using

    hey guyz.. i wanna ask if i get an updated version from itunes when i plug my iPhone into the Pc, i get a letter tells me that there is an update for your iPhone ... i wanna ask is it safe to download ?? and does it make any side effects on longTerm using ??

    It is safe to download if your phone is not jailbroken. Before you download it, however, take some precautions:
    Reboot your computer
    Disable your antivirus and firewall
    Connect the phone cable to a USB port directly on the computer, not a hub
    Before updating right click on the name of the phone in iTunes and choose "Backup"
    When you are given the choice choose "Download only", not "Download and Update"
    After the download completes successfully click the Update button to install it.
    Most of these steps are just being overly cautious, as most people ignore them and have no problems. But occasionally the extra steps save grief.

  • What Side-Effects/Problems Can I Expect With Perian?

    I have installed Perian in order to view downloaded .flv videos from Vimeo.
    However, I seem to recollect a year or so ago, that some people were experiencing unwanted side-effects with other apps such as FCE.
    I can't remember what these were or how to stop them other than by uninstalling Perian.
    Any information on things to be aware of would be appreciated.

    That reassures me . . . touch wood (aka knock on wood!).
    I shall now forget that I have it installed but hope that someone will remind me if any of my pro apps start misbehaving!
    Incidentally, yesterday I downloaded some 1080 x 720 HD videos from Vimeo made by friends, and when played back on my 40" Bravia via the WD HDTV they look very impressive. The MP4 ones play immediately on the TV but the FLVs need converting in Streamclip to MP4 (H.264 and AAC).
    The only fault is that some occasionally show a very slight glitch, almost like a dropped frame, but it is not very noticeable unless you are looking for it. No doubt I will discover what I am doing wrong in the near future.
    A couple of years ago I could never have imagined getting anything so good from the internet via a telephone line . . . . . I wonder when it'll be providing 1920 x 1080!

  • Newbie: Method should or should not have side effects

    Hi experts,
    What does it really mean when I read for the InputVerifier class that the method 'shouldYieldFocus' can have side effects but the method 'verify' should not have side effects.
    Thanks for you comments.
    tuckie

    I am but a newbie only asked to learn and maintain. The reason I ask about side effects is that the shouldYieldFocus() method is invoked twice for the same tab key event. When the tab key (or mouse click) wants to move focus to another input the current input's shouldYieldFocus() is invoked, it in turn invokes verify() which validates data returning true or false and checks to see if a warning should be issued that the data is legal but high. If the data is not high it also returns true and the focus is yielded. Also shouldYieldFocus() is only invoked once. It is when the data is high and the showConfirmDialog() is put up that I get the second shouldYieldFocus() invocation. The previous coder put in a de-bouncing mechanism and I think this is where/how the problems with the next field are created. Sometimes the next field's focusLost() is invoked without the operator making any input. The focusLost() does some fill in the blank things that are reasonable only if the operator really wanted not to fill in any data in the field.
    Back to my original point, I was wondering if the fact that the verify() method may have a dialog box put up before it returns to shouldYieldFocus() is the kind of thing that shouldn't be done - no side effects. If so then it could be the likely cause of the problem with the next field sometimes being automatically filled in as if it had received a focusLost() event.
    tuckie

Maybe you are looking for