Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9238859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:51:28+00:00 2026-06-18T07:51:28+00:00

Hi I want to understand the map reduce performance better. What dominates the performance

  • 0

Hi I want to understand the map reduce performance better.

What dominates the performance of MapReduce algorithms implemented in Hadoop?

Is it the computation time, if there are a lot of data that has to be processed at a node, or is it the disk write and read times?

I have observed that disc write time takes a long time as compared to disc read time, when I ran some map reduce programs.

I want to know if the overhead of disc write is much greater than computation time(CPU time), needed to process a large collection of data at a node. Is CPU time trivial in comparison to I/O access?

The algorithm below is what happens at each reduce node:
I want to know if the CPU time for executing this algorithm is trivial compared to reading the input from HDFS and then after processing writing the output to the HDFS.

  Input : R is a multiset of records sorted by the increasing order of their sizes; each    record has been canonicalized by a global ordering O; a Jaccard similarity threshold t
  Output : All pairs of records hx, yi, such that sim(x, y) > t

  1 S <- null;
  2 Ii <- null (1 <= i <= |U|);
  3 for each x belongs to R do
  4 p <- |x| - t * |x| + 1;
  5 for i = 1 to p do
  6 w <- x[i];
  7 for each (y, j) belongs to Iw such
  that |y|>= t*|x| do /* size filtering on |y| */
  8 Calculate similarity s = (x intersection y) /* Similarity calculation*/ 
  9 if similarity>t
     S <- S U (x,y);
  10 Iw <- Iw Union {(x, i)}; /* index the current prefix */;

  11 return S
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:51:30+00:00Added an answer on June 18, 2026 at 7:51 am

    In general – it depends on the kind of processing you are doing. But it can be pointed out what takes time and consume resource aside of your code.
    We will go over MR job process and point out noticeable resource consumptions.
    1. Read your split from HDFS. Unless local read optimization takes place – data passed via socket (CPU) and or network + Disk IO. MD5 is calculated also during the read.
    1. Input Format. Input data should be chopped into Key Values for the Mapper. Taking into account that it is java it is always dynamic memory allocations and de-allocations. Parsing input usually takes CPU time.
    2. From Record Reader to mapper – no serious overhead.
    3. Mapper output is sorted and serialized (a lot of CPU) + local disk.
    4. Data is pulled by reducers from the mapper machines. A lot of networking.
    5. Data merged on reducer side. CPU + Disk.
    6. Output from reducer written to HDFS. x3 of data size disk IO + x2 network traffic because of replication.

    In a nutshell 3,4,5 are usually most time and resource consuming.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I still don't fully understand how map/reduce works, so I thought I'd give an
I am newbie in the world of hadoop mapreduce framework. I read a lot
I want to understand the role interface plays in inheritance between two classes. My
I want to understand the actual theory behind types rather than just learning about
I want to understand in which order are the elements of h_addr_list sorted when
I want to understand if code snippets are what I am looking for here.
I want to understand the use of xargs man in Rampion's code : screen
I want to understand the external linkage and internal linkage and their difference. I
I want to understand how a C++ program that was given to me works,
I want to understand how the mechanism of Shadowing and Nested function work. For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.