The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    [TWEAKS]-Dual Core CPU- Is there anyway that i can assign each core to do specific jobs?

    Discussion in 'Linux Compatibility and Software' started by Ed. Yang, Aug 25, 2009.

  1. Ed. Yang

    Ed. Yang Notebook Deity

    Reputations:
    86
    Messages:
    751
    Likes Received:
    199
    Trophy Points:
    56
    My System- Ubuntu 32bit, AMD Turion x2 1.6Ghz, 2G Ram, DELL Inspiron 1501

    The bummer-
    Very often during my transfer of downloaded files, sized about 800mb each from this laptop to the external drive, the system may freeze if i execute another program(usually just one, since i know that my processor is only 1.6GHz) in another workspace, such as system update or browsing internet, or working of text writing, or even listening to internet broadcasts... more to add.

    Any suggestions for commands or programs that i can tweak the system to do better? Windows seems to have a better edge in this...
     
  2. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    I copy very large 4 to 8 gig files over the network and never have issues. To me there might be a driver issue. I did have a wireless issue when i transfered big files it will cause a hard kernel lock up.
     
  3. Enunes

    Enunes Notebook Consultant

    Reputations:
    156
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    30
    An operating system has something called a scheduler, which makes it able to split CPU usage among every process you have running. Data transfer involving a hard drive does not make heavy use of your CPU (in general, the CPU just triggers the data transfer "command" and quickly goes to execute something else).

    It doesn't seem to me like assigning that job to a core would solve your problem; it must be something else.
     
  4. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    What you can do is change the scheduler. I have actually found that the server kernels sometimes have a "nicer" scheduler because they give more priority to background tasks. It won't hurt to install the Linux server kernel on Ubuntu and try booting to that, see if it works and performs better.
     
  5. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Hi,
    what you mean by 'freeze'? Complete hangout, or just slow responsiveness?
    I'd try to run:
    1. in terminal: tail -f /var/log/messages
    2. connect external hdd
    3. see what the term. windows says - should be info on connected hdd - check if there are no errors or something weird
    4. try to copy smaller files - still watch messages
    5. copy big file and try to run something else - still have clear view on that shell window, so in case of freeze you still see if there is something worthwhile to checkout

    As guys above said, this looks like some hw/driver issue, so install of server kernel might help, or try compiling your own kernel, i'm sure, there is lots howto on ubuntu forums (how to kompile own kernel).
    Sometimes, in new kernel there is support (or some fixed bugs) that solve your troubles.
    Current stable kernel release is 2.6.30.x, i guess you run older?
     
  6. Ed. Yang

    Ed. Yang Notebook Deity

    Reputations:
    86
    Messages:
    751
    Likes Received:
    199
    Trophy Points:
    56
    First, let me thanks to fellow brudders for your suggestions and advise.
    Especially on the mentioned of that scheduler thingy, made me realise that there's such program available.

    When my system freezes, my touchpad/mouse can't move, my screen freezes, it's like everything goes to a total stop. If i'm to leave it, there are times that the system may go back to norm after 25mins or more...or even no response, which prompts me to hard shutdown.
     
  7. Enunes

    Enunes Notebook Consultant

    Reputations:
    156
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    30
    Yeh plus how are you copying the files? Through the graphic interface or via the terminal (cp -rv file.aaa)?
    Does the drive work right on other computers?
    Does it also crash if you run none other program?

    And yeh, I agree it looks like hw or driver issue. Even on an older standard kernel, trivial things like data transfer shouldn't have problems... It is a free try to try another kernel, though.
     
  8. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
  9. Ed. Yang

    Ed. Yang Notebook Deity

    Reputations:
    86
    Messages:
    751
    Likes Received:
    199
    Trophy Points:
    56
    The external hdd works fine when i'm in Windows session. Even with other gears as well. Unfortunately it is my gear that's the only one available that runs with linux, hence i can't really tell if it's a driver issue.
    I wonder is it due to the fact that my installation of Ubuntu was done thru WUBI, that have it's limitation as well.

    Yes... almost forgot... when i'm doing file transfers, i usually do it graphically, you know, the "cut and paste" way...
     
  10. Enunes

    Enunes Notebook Consultant

    Reputations:
    156
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    30
    hm, I never used Wubi myself... However I do have some prejudice over it, never felt like a good idea to me..

    You should consider having a true partitioned install if you actually consider using Ubuntu for real. That should be your first try, and it should be very easy actually.
     
  11. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    Hi,
    i think your problem is related to way in which linux handles memory - i/o operations and also how it handles mapped and unmapped (disk or also page cache).
    On specific HW configs you can experience troubles like you described ...
    eg. this bug kernel tracker:
    http://bugzilla.kernel.org/show_bug.cgi?id=12309

    what to do depends on how you understand linux and how much work you'd like to dedicate to solving it ....

    Be at your place, i'd start with new 'fresh' installation of linux (not through wubi), i'd try to use ext4 FS (dunno if ubuntu already use kernel that has it implemented?), i'd try to compile my own latest stable kernel from kernel.org and check what it does ...