Project

General

Profile

Actions

Bug #4990

closed

mountd and rpcbind should use libumem(3lib)

Added by Marcel Telka about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2014-07-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The malloc(3c) from libc does not scale well for massively multithreaded applications.

It was found that with the stock mountd(1m) we could easily get thousands of mountd threads due to libc malloc(3c) inefficiency. The mountd(1m) becomes very slow, and could exhaust the whole virtual memory.

When the libumem(3lib) was preloaded to mountd, the mountd was able to handle the load well with less than 20 threads.

We should link mountd with libumem(3lib) by default.

The rpcbind(1m) should be linked by default with libumem(3lib) as well for similar reasons.


Related issues

Related to illumos gate - Bug #5214: Limit the number of door server threads in mountd(1m)In ProgressMarcel Telka2014-10-06

Actions
Actions

Also available in: Atom PDF