Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uQRc9-00B4zM-Ns for pgsql-hackers@arkaria.postgresql.org; Sat, 14 Jun 2025 14:12:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uQRc7-008iqO-I0 for pgsql-hackers@arkaria.postgresql.org; Sat, 14 Jun 2025 14:12:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uQRc7-008iqG-0z for pgsql-hackers@lists.postgresql.org; Sat, 14 Jun 2025 14:12:07 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uQRc5-001y9z-1f for pgsql-hackers@lists.postgresql.org; Sat, 14 Jun 2025 14:12:06 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-7489dfb7248so382255b3a.1 for ; Sat, 14 Jun 2025 07:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749910324; x=1750515124; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+pZqUrxG3a50SO0EyucWDJt6uEJrdFnFevdwXN5uX+A=; b=SWrRYFvXFHoUvndhaZmQx4cvUHUB1KzY50w50v+/bDnMde/thqMJTb2cZbwdKcoOoo EyvT7S6NMPM7MqYgnC/0eT7pKcwJxSQjpHjy+HtMwuX5x8gqw5DwGjr/mCknp793746p TtBfI7YdOq8yBDUUpYFGw1Bkt4+rhcklyj3AEvUEBOjABKBExxFjEdPQbpSqpEMO0ysv CkVirwIo++ImRdPQJGydhjhylqgUYVpHwx328q7KUUFLHoWGqkPHunoHLVwuwLD8RPlH kUeJ5DmbeuLZrPjACd9wY6TiOUZ43NTcujsL0kQEruCDROC/VVzcV6GChDSXfFxBk83W Ckpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749910324; x=1750515124; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+pZqUrxG3a50SO0EyucWDJt6uEJrdFnFevdwXN5uX+A=; b=g83YkH5ruSx8PDCx03PldYWy5p8wV+2z2aMt+pa30Hq/VEfK/+f6/ep5fmwhsDRZMJ CpS1YkPhZltsu3TIracihLyO0vyYfb7dxIXQj4KmpPron4RU4gSlxaBjditLSf5S/OF1 CVaVvNOVujGlt6CPQ+wFtT/ipsCKvHBWvnfy7+JdAhKYblXsfk1Tnb3DvxQd00Z3o4Rd K+Xia7cgz2BAurwE2JEgMzF7v5ZOOZ0EbMj0mVdsjunUi6JEekREIavUqCKFTRdt//qv 3n9iPixEVs/Q8gX9xfSfzmONXRjisRip0PMlsM8DK7Vdbbm+z1eKuNKrGDrrlQry7eyq UetA== X-Forwarded-Encrypted: i=1; AJvYcCWbC928mCVCrNNhwM8/yrqjx8NGMzksnYUiMBfcq8DwK++y6q4MCL9w5eXJ8WpJ6GEsMZTbIMdByb70sOHf@lists.postgresql.org X-Gm-Message-State: AOJu0YyNVaux4KhjarAR7cw9onKIJhALhL3vkjP3TxHqQ+b1b7JsSV2F d23OVN3pdJ7PSWvlKutWDDup7fPpPapA/lnN0d3OnoHGoFQBGZHP9LDo X-Gm-Gg: ASbGncs+3f+8Uf8ZDAGcPsHusOoWOopEY/ckYmH7mNnkDCOgGhPovH6oxoI1QVjOCW/ zzd51hv+UskL2m9VoUsksQ4VwXXX18g+JRrEzBREc5mtGJ+1egK7QbcLDyYsq27LogHvI1pdQPg Clixg9Pu+7HpgHbt9S8dJMJyBHX9V1c919jdorQxN2YE2TaL7qHSkCOzzVBZNwIO3DP6jn+syZw 6jFAGnOVrqGbDy5+8gdHTaIXZIg2Z3sWMrGimsgmaIpyAycpiXXjWHQJh8J9n9h1+E1CWnUNODQ YjWV2ePawCVeRvjCUHgzzNkNX9+IDGNIYstSXTu/B8taPqIJkdm0BkfCBrux6sqRUeX7lAV3qQY = X-Google-Smtp-Source: AGHT+IGmY1RuY36pNvpc5fD2306EcQb2S/0zJc9nbQfWVitJAFYu4DQjaOnSZ3jpxI7UVuqa6oMxdA== X-Received: by 2002:a05:6a00:ccb:b0:746:cc71:cc0d with SMTP id d2e1a72fcca58-7489cf99fcdmr4396590b3a.12.1749910324513; Sat, 14 Jun 2025 07:12:04 -0700 (PDT) Received: from [192.168.1.53] ([181.91.229.41]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7489000604dsm3359586b3a.46.2025.06.14.07.12.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 14 Jun 2025 07:12:04 -0700 (PDT) Message-ID: <029f0848-8bc2-4d99-aebd-345949f97622@gmail.com> Date: Sat, 14 Jun 2025 10:12:01 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Improve CRC32C performance on SSE4.2 To: Nathan Bossart Cc: Andy Fan , John Naylor , "Devulapalli, Raghuveer" , "pgsql-hackers@lists.postgresql.org" , "Shankaran, Akash" , Tomas Vondra References: <87o6uqd3iv.fsf@163.com> Content-Language: en-US From: Jesper Pedersen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Nathan, On 6/14/25 9:56 AM, Nathan Bossart wrote: > I'm also genuinely curious why folks are using -O0... > Personally, I use -O0 -fno-omit-frame-pointer for FlameGraph [1] investigations. [1] https://github.com/brendangregg/FlameGraph Best regards, Jesper