<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<br>
<br>
Abe,<br>
<br>
You gave some general info, but unless I missed something, nothing specific to show any involvement by swap.  How did you determine that?  Can you share that data?  And what performance are you expecting here?<br>
<br>
- Patrick<br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> lustre-devel <lustre-devel-bounces@lists.lustre.org> on behalf of Abe Asraoui <AbeA@supermicro.com><br>
<b>Sent:</b> Friday, December 28, 2018 6:42:50 PM<br>
<b>To:</b> Lustre Developement; lustre-discuss@lists.lustre.org; Abe Asraoui<br>
<b>Subject:</b> Re: [lustre-devel] ldiskfs performance degradation due to kernel swap hugging cpu</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
+ lustre-discuss <br>
<br>
<br>
    <br>
     Hi All.<br>
    We are seeing low performance with lustre2.11 in ldiskfs configuration with obdfilter survey, not sure if this is a known issue.<br>
    <br>
    obdfilter survery under ldiskfs performance is impacted by kernel swap hugging cpu usage, current configurations is as follows:<br>
    2 osts: ost1,ost2<br>
    /dev/sdc on /mnt/mdt type lustre (ro,context=unconfined_u:object_r:user_tmp_t:s0,svname=tempAA-MDT0000,mgs,osd=osd-ldiskfs,user_xattr,errors=remount-ro)<br>
    /dev/sdb on /mnt/ost1 type lustre (ro,context=unconfined_u:object_r:user_tmp_t:s0,svname=tempAA-OST0001,mgsnode=10.10.10.168@o2ib,osd=osd-ldiskfs,errors=remount-ro)<br>
    /dev/sda on /mnt/ost2 type lustre (ro,context=unconfined_u:object_r:user_tmp_t:s0,svname=tempAA-OST0002,mgsnode=10.10.10.168@o2ib,osd=osd-ldiskfs,errors=remount-ro)<br>
    [root@oss100 htop-2.2.0]#<br>
    [root@oss100 htop-2.2.0]# dkms status<br>
    lustre-ldiskfs, 2.11.0, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed<br>
    spl, 0.7.6, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed<br>
    [root@oss100 htop-2.2.0]#<br>
    sh ./obdsurvey-script.sh <br>
    Mon Dec 10 17:19:52 PST 2018 Obdfilter-survey for case=disk from oss100<br>
    ost 2 sz 512000000K rsz 1024K obj 2 thr 2 write 134.52 [ 49.99, 101.96] rewrite 132.09 [ 49.99, 78.99] read 2566.74 [ 258.96, 2068.71]
<br>
    ost 2 sz 512000000K rsz 1024K obj 2 thr 4 write 195.73 [ 76.99, 128.98] rewrite<br>
    root@oss100 htop-2.2.0]# lctl dl<br>
    0 UP osd-ldiskfs tempAA-MDT0000-osd tempAA-MDT0000-osd_UUID 9<br>
    1 UP mgs MGS MGS 4<br>
    2 UP mgc MGC10.10.10.168@o2ib 65f231a0-8fd8-001d-6b0f-3e986f914178 4<br>
    3 UP mds MDS MDS_uuid 2<br>
    4 UP lod tempAA-MDT0000-mdtlov tempAA-MDT0000-mdtlov_UUID 3<br>
    5 UP mdt tempAA-MDT0000 tempAA-MDT0000_UUID 8<br>
    6 UP mdd tempAA-MDD0000 tempAA-MDD0000_UUID 3<br>
    7 UP qmt tempAA-QMT0000 tempAA-QMT0000_UUID 3<br>
    8 UP lwp tempAA-MDT0000-lwp-MDT0000 tempAA-MDT0000-lwp-MDT0000_UUID 4<br>
    9 UP osd-ldiskfs tempAA-OST0001-osd tempAA-OST0001-osd_UUID 4<br>
    10 UP ost OSS OSS_uuid 2<br>
    11 UP obdfilter tempAA-OST0001 tempAA-OST0001_UUID 5<br>
    12 UP lwp tempAA-MDT0000-lwp-OST0001 tempAA-MDT0000-lwp-OST0001_UUID 4<br>
    13 UP osp tempAA-OST0001-osc-MDT0000 tempAA-MDT0000-mdtlov_UUID 4<br>
    14 UP echo_client tempAA-OST0001_ecc tempAA-OST0001_ecc_UUID 2<br>
    15 UP osd-ldiskfs tempAA-OST0002-osd tempAA-OST0002-osd_UUID 4<br>
    16 UP obdfilter tempAA-OST0002 tempAA-OST0002_UUID 5<br>
    17 UP lwp tempAA-MDT0000-lwp-OST0002 tempAA-MDT0000-lwp-OST0002_UUID 4<br>
    18 UP osp tempAA-OST0002-osc-MDT0000 tempAA-MDT0000-mdtlov_UUID 4<br>
    19 UP echo_client tempAA-OST0002_ecc tempAA-OST0002_ecc_UUID 2<br>
    [root@oss100 htop-2.2.0]#<br>
    root@oss100 htop-2.2.0]# lsblk<br>
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT<br>
    sda 8:0 0 152.8T 0 disk /mnt/ost2<br>
    sdb 8:16 0 152.8T 0 disk /mnt/ost1<br>
    sdc 8:32 0 931.5G 0 disk /mnt/mdt<br>
    sdd 8:48 0 465.8G 0 disk <br>
    \u251c\u2500sdd1 8:49 0 200M 0 part /boot/efi<br>
    \u251c\u2500sdd2 8:50 0 1G 0 part /boot<br>
    \u2514\u2500sdd3 8:51 0 464.6G 0 part <br>
    \u251c\u2500centos-root 253:0 0 50G 0 lvm /<br>
    \u251c\u2500centos-swap 253:1 0 4G 0 lvm [SWAP]<br>
    \u2514\u2500centos-home 253:2 0 410.6G 0 lvm /home<br>
    nvme0n1 259:2 0 372.6G 0 disk <br>
    \u2514\u2500md124 9:124 0 372.6G 0 raid1 <br>
    nvme1n1 259:0 0 372.6G 0 disk <br>
    \u2514\u2500md124 9:124 0 372.6G 0 raid1 <br>
    nvme2n1 259:3 0 372.6G 0 disk <br>
    \u2514\u2500md125 9:125 0 354G 0 raid1 <br>
    nvme3n1 259:1 0 372.6G 0 disk <br>
    \u2514\u2500md125 9:125 0 354G 0 raid1<br>
     <br>
    thanks,<br>
    Abe<br>
    <br>
    <br>
    <br>
<br>
_______________________________________________<br>
lustre-devel mailing list<br>
lustre-devel@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org</a><br>
</div>
</span></font></div>
</body>
</html>