Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Heisman
    Senior Member
    • Dec 2010
    • 534

    #1

    Should one instance of mpileup use a full thread? Computer running slowly.

    Hey all,

    I think my computer is running slowly and I have no idea why. I'm also sadly not wonderfully computer savvy so I'm not sure how to troubleshoot this obviously. Are there some basic things to look at (if so please include commands to run if you know them off the top of your head)? In the past I've run mpileup on it and it usually uses a full thread and is fine and right now it's hovering at around 15-20% CPU by looking at it with htop. Thanks for any help.
  • Heisman
    Senior Member
    • Dec 2010
    • 534

    #2
    Figured it out, good learning experience: I was using a bash script and piping the output of mpileup into multiple commands. I think it was splitting up the thread amongst all of the commands. Maybe that's not what was going on but making mpileup separate and then running the others has made mpileup take up a whole thread like I wanted it to.

    Comment

    • Heisman
      Senior Member
      • Dec 2010
      • 534

      #3
      Actually it's still doing it; driving me crazy. I'm running four instances of mpileup and each is using ~25% of a CPU, this computer has 64 GB RAM and 24 cores. Free -m shows ~50 GB RAM is being used. I have no idea how to make each instance use 100% of a CPU, if possible.

      Comment

      • jimmybee
        Senior Member
        • Sep 2010
        • 119

        #4
        Have you tried using each command outside the bash script? or perhaps, use something like parallel (https://en.wikipedia.org/wiki/GNU_parallel)?

        I havent used it as such but I know a few people are implementing it in everyday scripts to pretty good effect

        Comment

        • Heisman
          Senior Member
          • Dec 2010
          • 534

          #5
          I tried running them stand alone and the same thing happened. One thing holding me back is I don't have any background or general knowledge in how memory works in general (of course I don't know it's a memory problem). I'm rather ignorant in this area. They will spike up to ~100% every now and then but then go back down to 15-40%. Right now if I do free -m I get:

          Code:
                       total       used       free     shared    buffers     cached
          Mem:         64399      54764       9635          0         86      51385
          -/+ buffers/cache:       3292      61107
          Swap:       123977          0     123977
          No idea what's going on, haha.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Your cores are probably waiting on the storage subsystem to deliver data. Unless you are using server grade storage/SSD's in RAID this is probably what is holding your system back.

            Check on "these performance metrics"

            Comment

            • lh3
              Senior Member
              • Feb 2008
              • 686

              #7
              In addition to the storage issue mentioned by GenoMax, the commands following mpileup may be the bottleneck if you pipe. Mpileup may be waiting for those commands.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • SEQadmin2
                New Genomics Technologies Take Aim at Long-Standing Limits
                by SEQadmin2


                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              17 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-13-2026, 09:56 AM
              0 responses
              22 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-09-2026, 11:14 AM
              0 responses
              28 views
              0 reactions
              Last Post SEQadmin2  
              Working...