You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Chi Zhang <ch...@gmail.com> on 2015/09/09 23:32:34 UTC

Review Request 38233: os: add swap information to memory().

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/
-----------------------------------------------------------

Review request for mesos and Jie Yu.


Bugs: mesos-2918
    https://issues.apache.org/jira/browse/mesos-2918


Repository: mesos


Description
-------

os: add swap information to memory().


Diffs
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
  3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 

Diff: https://reviews.apache.org/r/38233/diff/


Testing
-------


Thanks,

Chi Zhang


Re: Review Request 38233: os: add swap information to memory().

Posted by Chi Zhang <ch...@gmail.com>.

> On Nov. 17, 2015, 7:20 p.m., Vinod Kone wrote:
> > 3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp, lines 708-759
> > <https://reviews.apache.org/r/38233/diff/2/?file=1067527#file1067527line708>
> >
> >     do these calculations work irrespective of whether swap is enabled or disabled?

if swap is disabled, xsu_total will be 0


- Chi


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/#review106917
-----------------------------------------------------------


On Sept. 10, 2015, 5:57 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38233/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 5:57 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2918
>     https://issues.apache.org/jira/browse/mesos-2918
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> os: add swap information to memory().
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 
> 
> Diff: https://reviews.apache.org/r/38233/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>


Re: Review Request 38233: os: add swap information to memory().

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/#review106917
-----------------------------------------------------------



3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp (lines 708 - 759)
<https://reviews.apache.org/r/38233/#comment165720>

    do these calculations work irrespective of whether swap is enabled or disabled?


- Vinod Kone


On Sept. 10, 2015, 5:57 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38233/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 5:57 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2918
>     https://issues.apache.org/jira/browse/mesos-2918
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> os: add swap information to memory().
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 
> 
> Diff: https://reviews.apache.org/r/38233/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>


Re: Review Request 38233: os: add swap information to memory().

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/#review107062
-----------------------------------------------------------

Ship it!


Ship It!

- Vinod Kone


On Sept. 10, 2015, 5:57 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38233/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 5:57 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2918
>     https://issues.apache.org/jira/browse/mesos-2918
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> os: add swap information to memory().
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 
> 
> Diff: https://reviews.apache.org/r/38233/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>


Re: Review Request 38233: os: add swap information to memory().

Posted by Cong Wang <cw...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/#review98629
-----------------------------------------------------------

Ship it!


Ship It!

- Cong Wang


On Sept. 10, 2015, 5:57 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38233/
> -----------------------------------------------------------
> 
> (Updated Sept. 10, 2015, 5:57 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2918
>     https://issues.apache.org/jira/browse/mesos-2918
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> os: add swap information to memory().
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 
> 
> Diff: https://reviews.apache.org/r/38233/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>


Re: Review Request 38233: os: add swap information to memory().

Posted by Chi Zhang <ch...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/
-----------------------------------------------------------

(Updated Sept. 10, 2015, 5:57 p.m.)


Review request for mesos and Jie Yu.


Bugs: mesos-2918
    https://issues.apache.org/jira/browse/mesos-2918


Repository: mesos


Description
-------

os: add swap information to memory().


Diffs (updated)
-----

  3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
  3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 

Diff: https://reviews.apache.org/r/38233/diff/


Testing
-------


Thanks,

Chi Zhang


Re: Review Request 38233: os: add swap information to memory().

Posted by Cong Wang <cw...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38233/#review98307
-----------------------------------------------------------



3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp (line 757)
<https://reviews.apache.org/r/38233/#comment154664>

    Bytes(usage.xsu_total * pageSize)?


- Cong Wang


On Sept. 9, 2015, 9:32 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38233/
> -----------------------------------------------------------
> 
> (Updated Sept. 9, 2015, 9:32 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2918
>     https://issues.apache.org/jira/browse/mesos-2918
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> os: add swap information to memory().
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/os/os.hpp 82ccd766bd22393f48be4554c7da46338dd92d1f 
>   3rdparty/libprocess/3rdparty/stout/include/stout/posix/os.hpp 5d2f39d9a9d963225bf463572cb8fe99dd9aa6f5 
> 
> Diff: https://reviews.apache.org/r/38233/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>