# MyISAM Keycache Scalibity Bottleneck

**URL:** <https://forums.percona.com/t/myisam-keycache-scalibity-bottleneck/1274>\
**Category:** Other MySQL® Questions\
**Created:** [October 8, 2009, 10:01am UTC](https://forums.percona.com/t/myisam-keycache-scalibity-bottleneck/1274 "2009-10-08T10:01:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@gunnar](https://forums.percona.com/u/gunnar)\
**Post date:** [October 8, 2009, 10:01am UTC](https://forums.percona.com/t/myisam-keycache-scalibity-bottleneck/1274/1 "2009-10-08T10:01:55Z")

</div>

Hi Peter, Hello Everybody,

Peter in one of your post you mentioned that the mutex which is used/needed for access the MyISAM Key-Cache is a scalibity limitation.

I believe you mentioned that the mutex is hold for the time needed to copy the key-cache block from/to the thread space.  
Do I remember this right?

Wouldn’t this mean, if we could accelerate the function which copies the key-block, then we will improve MyISAM scalibity?

Do you know by chance which MySQL function is used for copying the key-block?  
I would guess “bmove512” is this correct?

If this is true then it might be real easy to improve this.  
As accelerating this function is not difficult at all.

Cheers  
Gunnar

---

<div class="post-metadata">

**Author:** ![xaprb](https://avatars.discourse-cdn.com/v4/letter/x/49beb7/32.png) [@xaprb](https://forums.percona.com/u/xaprb)\
**Post date:** [December 25, 2009, 7:04am UTC](https://forums.percona.com/t/myisam-keycache-scalibity-bottleneck/1274/2 "2009-12-25T07:04:11Z")

</div>

Gunnar, I’m not that familiar with this source code myself. I’ll ask Peter to reply to you.
