From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (NAM02-DM3-obe.outbound.protection.outlook.com [40.107.95.135]) by mx.groups.io with SMTP id smtpd.web10.18180.1673422480415287510 for ; Tue, 10 Jan 2023 23:34:40 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="no key for verify" header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b=IFec3EWd; spf=pass (domain: os.amperecomputing.com, ip: 40.107.95.135, mailfrom: tinhnguyen@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m1NWDerKBgZQzQQgpaeaid1jegPno1NcuilFkuf2fGn8hxVQUHAUV8LvygSud3eFZ8ws+XJZwozBWU1L5Od5C7g2KKKw4k+uBkuFtebqkfWNZviGrjM7nANGQ2UAngzwSNGUHRoxgiNvvBWu8fzqOGhpV//CjBav+GU5cEAaAB1XMC/2awH+sa8ZWtDVy6MOtGkbSg450sh7BchzLlX/wDFVwGGq85Fng6oL6u80GmzXP2zOsCnuvOSjp8rv/OB1E5wY2MmvVKQufGySM41zx6Q/CG3fl+UarHpI0Q4Qa4Qm2g818evlPd3WoaN3hZ/05Wy/A28G4t+ULDL3suYoUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=74tdcxDsKy6hcaVL/jQpRQrFn2/rvGB0LfTDPZOq+5s=; b=lp56mRzXTXkUAlW/U5/+j/m0Psk9q1xksinOkaq04loo1W/wRJ6AHC4TLtgnYbybslxtwNcAcvWxFTTZHhTH5dnRKEHWJXS8bKovGVn3eL5OHePZEf9oZPQmMMR+8yed9Zx00hyshcPvNFSPOalCHi8BhBPHm4glTCaJRpqNephRtt7er0gn5aoFeflrkDnTtHfer7846dKrmTVEKuAMu1C0mVm2VFOsjJgGuOXmwFo2VgOSBAPT520JoPoXnbKExny+RtrAgsc461url3DsDuRANyt4MBDwtLpQPzf9qWxHhuUwj5vZ0uxDbjjlynXHrk5IhnK8DUwxn+3DwacWiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=amperemail.onmicrosoft.com; dkim=pass header.d=amperemail.onmicrosoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amperemail.onmicrosoft.com; s=selector1-amperemail-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=74tdcxDsKy6hcaVL/jQpRQrFn2/rvGB0LfTDPZOq+5s=; b=IFec3EWdpK+QuIbdxtR1NywpJe33Vn3muzl5T1Ippm8bh3rC3+jQA5ZZTlnBECkSpvyCzA5p3ep0AzdYq8r6la9fqNdRYPdnN0EEIrNxoMWSqluIZl+TrBlt1dNQrKo7Kw5TRI5tpuUIRkhkMXKsGMKLzxp5K+I++oPj0NxfUq0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amperemail.onmicrosoft.com; Received: from PH0PR01MB7506.prod.exchangelabs.com (2603:10b6:510:f5::22) by BL0PR01MB5251.prod.exchangelabs.com (2603:10b6:208:31::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 07:34:34 +0000 Received: from PH0PR01MB7506.prod.exchangelabs.com ([fe80::485d:36cc:9dc3:7dff]) by PH0PR01MB7506.prod.exchangelabs.com ([fe80::485d:36cc:9dc3:7dff%6]) with mapi id 15.20.5986.018; Wed, 11 Jan 2023 07:34:34 +0000 Message-ID: <367b44e1-4bb2-6225-7041-1876333ded6a@amperemail.onmicrosoft.com> Date: Wed, 11 Jan 2023 14:34:24 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [edk2-devel] [PATCH 1/3] UsbNetworkPkg/UsbRndis: Add USB RNDIS devices support To: Rebecca Cran , devel@edk2.groups.io, tinhnguyen@os.amperecomputing.com, =?UTF-8?B?UmljaGFyZEhvIFvkvZXmmI7lv6Bd?= References: <1271.1673174497155150644@groups.io> <975ac4fc-838e-7cd5-1663-41af227d8da6@quicinc.com> From: tinhnguyen@os.amperecomputing.com In-Reply-To: <975ac4fc-838e-7cd5-1663-41af227d8da6@quicinc.com> X-ClientProxiedBy: SG2PR01CA0144.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::24) To PH0PR01MB7506.prod.exchangelabs.com (2603:10b6:510:f5::22) Return-Path: tinhnguyen@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7506:EE_|BL0PR01MB5251:EE_ X-MS-Office365-Filtering-Correlation-Id: f49f2e30-dc81-47e5-cf23-08daf3a6489a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kjQrwV/4an515glpvqeuUdfvSFxG3vFJL/Vc+rbf/qzg2UOYi6rRn+LuQXkwB4auaVgn4+mEP6Xy8Y9x8/r58zH8jQu4XQgWejNZK4Wyosu+rImoFJuisqB4B2X9BwxbZXsQrLUdZkvWKeQOicsyeqfbVfgfgCCF+FhVF/8ymMYqGgvwgZIUcCb3BXXnZBPEEErJ0zQ9NHMJeRdR6o4XGAjELpiLQxTT569krNEn0ObyItcm1OkrXTR0B0zlB+LLvR9wPfPrkDYpX4bQ8pbfDmPhokE58MFrjdOPJjSzWH2KngNXGVW/WteL3xdsV22unlUoh0BhT0vpu5vNWgKJiaAmFijV38bZ748hJZbCpWF1txOnrZLbmrhI8E6Ojfsp7dxHc49ks4wKOIIxkgiG5j5VzYpmgsIXC94NTmIh0yFesEhM4YTFwqPhsgYj34foC9s9QiIH+XXgGgHXdhlViIICLa/zxB7qFk/402LIWXCGV4XGDmv+sBR4GbY6B/5VmqaVu+P5wAXkwSVDz2d58bsoUfspqLUlfabt94AlRe6e1iUT5C2SoW8HNHRH/zRF8pi8az/VDod90OncwfVRBeLe/xUkGqQEymisIxXnPZdsYcikQSKn5nwJCnmHO+4rxYP9tvXmxQe+OdxRgRyXEWC4ZQyfIvoS1vMNI17iF3EQdqrPxb/yUQ6taljTWtQMlFY0tzsfsSyOFotvp6PdrbB1rlqNsc+/bwC4PXMNwJw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7506.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(136003)(39850400004)(396003)(346002)(376002)(451199015)(26005)(5660300002)(316002)(478600001)(186003)(6512007)(52116002)(6486002)(2616005)(42882007)(31696002)(41300700001)(110136005)(66556008)(66476007)(66946007)(8676002)(8936002)(53546011)(2906002)(6666004)(31686004)(6506007)(38100700002)(33964004)(38350700002)(83170400001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NzFzaXQzVU1FYXdDMWJ1TVpsSXNrbzlENzJCWVNwWXhKZXF2RTIzMU9lN3NP?= =?utf-8?B?aU5lazVNOHF4NGNSRE9MalhueGpmOHFPYitnUHNWZk5lOTNCbEZEZHB1ejNC?= =?utf-8?B?TFZCRUFHUHBycmJEVU0wQjJSRUdyTVVnSWJ3SWRITDFyU3Q1LzRzOCtXY3hZ?= =?utf-8?B?SDYvSTJrU0hTcEUxNExCUEQwQkZMYzhJYUFJZEhqblBBMitzSnBWTFdNK0dw?= =?utf-8?B?ODQyRWl0cEk0OGNkTEdoUVhUVUt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f-8?B?ejg4UnhSNUNmdnBWT0IxOEp6aWxYUXdFY2tiQ0Z5b0NaUU4wbjZoV3hlZ2RS?= =?utf-8?B?ODJKd0lPbi9DeXVkdW9IV3J1czgvNzh2bEN5MUFQOHd4Z1J6eXpNU2FSTFJQ?= =?utf-8?Q?d65Ak9go8GVakIieD7c7NWc=3D?= X-OriginatorOrg: amperemail.onmicrosoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f49f2e30-dc81-47e5-cf23-08daf3a6489a X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7506.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 07:34:33.8022 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WAKXp1qVaEdwdwCOK8JUHjUod69lyOUMbECjoKEmyyhfSKN0iSI/W3mSwGbOAwmHdBy1E0kUUOFcWrEp50Lq4WI7xPJO/IsK74oEV8RZ+N+rnFIvwTa2M6ASyMN1/Y0s X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR01MB5251 Content-Type: multipart/alternative; boundary="------------pj3DtorSIW7bi3uRz0GhDEnz" Content-Language: en-US --------------pj3DtorSIW7bi3uRz0GhDEnz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I have changed the Metronome driver from EmbeddedPkg to MdeModulePkg, but the performance is still very slow. - Tinh On 10/01/2023 12:07, Rebecca Cran wrote: > You might still be using the Metronome driver from EmbeddedPkg instead > of MdeModulePkg. That will for example cause gBS->Stall to take much > longer than it should. > --------------pj3DtorSIW7bi3uRz0GhDEnz Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi,

    I have changed the Metronome driver from EmbeddedPkg to MdeModulePkg, but the performance is still very slow.

- Tinh

On 10/01/2023 12:07, Rebecca Cran wrote:
You might still be using the Metronome driver from EmbeddedPkg instead of MdeModulePkg. That will for example cause gBS->Stall to take much longer than it should.

--------------pj3DtorSIW7bi3uRz0GhDEnz--