Bug #72466 | More memory overhead per page in the InnoDB buffer pool | ||
---|---|---|---|
Submitted: | 26 Apr 2014 14:57 | Modified: | 28 Apr 2014 6:23 |
Reporter: | Mark Callaghan | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.7.4 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Apr 2014 14:57]
Mark Callaghan
[26 Apr 2014 15:04]
Mark Callaghan
5.6.12 includes the Facebook patch. Asking others whether we did anything to use less memory
[26 Apr 2014 15:11]
Mark Callaghan
This is something we made better in 5.6 https://github.com/facebook/mysql-5.6/commit/91e979e8436b83400e918fa0f251036e50d0cb5f
[26 Apr 2014 15:12]
Mark Callaghan
So this is a feature request, not a bug report.
[28 Apr 2014 6:22]
MySQL Verification Team
Hello Mark, Thank you for the feature request! Thanks, Umesh
[28 Apr 2014 6:42]
Sunny Bains
For v5.7 you can use -DMUTEX_TYPE="futex" to get rid of the event in a mutex on Linux systems.
[28 Apr 2014 7:17]
Sunny Bains
There is also this unused member variable in os0event.cc. === modified file 'storage/innobase/os/os0event.cc' --- storage/innobase/os/os0event.cc revid:tor.didriksen@oracle.com-20140423150641-94y77lkeyak7vg3f +++ storage/innobase/os/os0event.cc 2014-04-28 07:23:15 +0000 @@ -84,7 +84,6 @@ typedef pthread_cond_t os_cond_t; #endif /* _WIN32 */ typedef std::list<os_event_t> os_event_list_t; -typedef os_event_list_t::iterator event_iter_t; /** InnoDB condition variable. */ struct os_event { @@ -289,10 +288,6 @@ private: os_cond_t cond_var; /*!< condition variable is used in waiting for the event */ - -public: - event_iter_t event_iter; /*!< For O(1) removal from - list */ protected: // Disable copying os_event(const os_event&);