Groups | Search | Server Info | Login | Register
Groups > comp.os.linux.misc > #77880
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | comp.os.linux.advocacy, comp.os.linux.misc |
| Subject | Re: What Thinkest Thou Of LO Donate Banner? |
| Date | 2025-11-24 20:59 +0100 |
| Message-ID | <92qevlxqih.ln2@Telcontar.valinor> (permalink) |
| References | <1864d8e7ae136b94$115$2498948$802601b3@news.usenetexpress.com> <XnsB3A0BB0233A90HT1@cF04o3ON7k2lx05.lLC.9r5> <6923a926$2$23$882e4bbb@reader.netnews.com> <yf2dnYkByrCofr70nZ2dnZfqnPGdnZ2d@giganews.com> <69247d9e$2$22$882e4bbb@reader.netnews.com> |
Cross-posted to 2 groups.
On 2025-11-24 16:45, Brock McNuggets wrote: > On Nov 23, 2025 at 9:46:43 PM MST, "c186282" wrote > <yf2dnYkByrCofr70nZ2dnZfqnPGdnZ2d@giganews.com>: > >> On 11/23/25 19:39, Brock McNuggets wrote: >>> On Nov 23, 2025 at 4:23:01 PM MST, "Gremlin" wrote >>> <XnsB3A0BB0233A90HT1@cF04o3ON7k2lx05.lLC.9r5>: >>> >>>> Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> >>>> news:10fu5jt$14jks$2@dont-email.me Sun, 23 Nov 2025 05:21:02 GMT in >>>> comp.os.linux.advocacy, wrote: >>>> >>>>> On Sun, 23 Nov 2025 03:19:42 -0000 (UTC), Gremlin wrote: >>>>> >>>>>> That's the reason why I wrote, you can reduce scan times by looking for >>>>>> specific bytes - the results determine if a full scan is required. >>>>> >>>>> Opening the file is already a slow process; whether you just look at a few >>>>> bytes or a few hundred bytes of content wouldn’t make that much >>>>> difference. >>>> >>>> How do you define it as a slow process? If a file is multiple megs in size >>>> but you can quickly determine if a full scan is required by analyzing a few >>>> bytes - Why do you think you wouldn't save considerable time? >>>> >>>> We're talking miliseconds or less to make the determination here. So what >>>> exactly is slow to you? >>> >>> Thanks for asking. Happy to help. >>> >>> When I say "slow", I’m referring to the fixed cost of the I/O overhead -- >>> stuff required just to get the file handle. That is the "expensive" part I was >>> referring to. >>> >>> Obviously, avoiding a full scan of a 50MB file saves time. I'm not disputing >>> that. My point is that once we've paid the latency tax to open the file and >>> seek to the first block, reading 100 bytes vs 10 bytes is a rounding error. >>> The biggest bottleneck is the access. >> >> Existing -IX filesystems are pretty good. However there >> MAY be some sneaky ways to speed finding/opening files, >> some in-memory index scheme perhaps. Even improving the >> 'average' would be useful. Any ideas ? > > This is definitely pushing my areas of knowledge but if the goal is to speed > up finding or locating files in the filesystem, then yes, some kind of > in-memory index or smarter metadata caching would likely help. Modern > filesystems already do a fair amount of that (don't ask me how they differ), > and I am sure there are pros and cons to different systems. > > My point was narrower: once you've already opened the file, the difference > between reading 10 bytes and 100 bytes is negligible. This means a "quick > pre-check" doesn’t save much unless it avoids the open entirely (which does > not make sense if you want to check every file). I cannot give exact figures > on this and of course it varies by exact file system and storage type. In the context of mail servers, scanning to determine actual file type is very fast, negligible. Then you can totally block certain types, or process them further with an antivirus tool. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-14 14:20 +0100
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-15 20:50 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-15 22:08 +0100
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-16 05:40 +0000
Re: What Thinkest Thou Of LO Donate Banner? Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-16 11:05 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-17 01:33 +0100
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-20 22:23 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-11-20 14:59 -0800
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-20 23:54 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-21 00:44 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-11-21 14:33 -0800
Re: What Thinkest Thou Of LO Donate Banner? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-11-22 00:16 +0000
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-22 00:20 +0000
Re: What Thinkest Thou Of LO Donate Banner? rbowman <bowman@montana.com> - 2025-11-22 03:20 +0000
Re: What Thinkest Thou Of LO Donate Banner? pothead <pothead@snakebite.com> - 2025-11-22 14:17 +0000
Re: What Thinkest Thou Of LO Donate Banner? Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-22 14:39 +0000
Re: What Thinkest Thou Of LO Donate Banner? rbowman <bowman@montana.com> - 2025-11-22 20:08 +0000
Re: What Thinkest Thou Of LO Donate Banner? tom nossen <news@nossen.org> - 2025-11-26 22:07 +0100
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-26 21:50 +0000
Re: What Thinkest Thou Of LO Donate Banner? tom nossen <news@nossen.org> - 2025-11-27 12:18 +0100
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-27 21:26 +0000
Re: What Thinkest Thou Of LO Donate Banner? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-11-22 18:56 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-11-24 09:06 -0800
Re: What Thinkest Thou Of LO Donate Banner? "Joel W. Crump" <joelcrump@gmail.com> - 2025-11-24 12:10 -0500
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-11-24 09:29 -0800
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-24 23:15 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-11-24 15:35 -0800
Re: What Thinkest Thou Of LO Donate Banner? rbowman <bowman@montana.com> - 2025-11-25 00:21 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-23 03:19 +0000
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-23 05:20 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-11-24 09:26 -0800
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-24 18:27 +0000
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-24 23:23 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-02 20:13 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-12-03 08:39 -0800
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-12-03 19:42 +0100
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-03 22:03 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-12-03 22:36 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-04 03:05 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-12-04 14:24 +0000
Re: What Thinkest Thou Of LO Donate Banner? The Natural Philosopher <tnp@invalid.invalid> - 2025-12-04 14:35 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-12-04 08:21 -0800
Re: What Thinkest Thou Of LO Donate Banner? The Natural Philosopher <tnp@invalid.invalid> - 2025-12-04 18:05 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-12-04 10:09 -0800
Re: What Thinkest Thou Of LO Donate Banner? The Natural Philosopher <tnp@invalid.invalid> - 2025-12-04 19:09 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-12-04 11:11 -0800
Re: What Thinkest Thou Of LO Donate Banner? The Natural Philosopher <tnp@invalid.invalid> - 2025-12-04 19:55 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-04 22:47 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-12-05 00:15 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-04 22:48 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-12-05 00:14 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-04 22:47 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-12-05 00:16 +0000
Re: What Thinkest Thou Of LO Donate Banner? John Ames <commodorejohn@gmail.com> - 2025-12-03 14:41 -0800
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-12-04 03:05 +0000
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-20 23:01 +0000
Re: What Thinkest Thou Of LO Donate Banner? Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-21 09:58 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-23 03:19 +0000
Re: What Thinkest Thou Of LO Donate Banner? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-23 05:21 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-23 19:01 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-23 23:23 +0000
Re: What Thinkest Thou Of LO Donate Banner? Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-23 23:41 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-24 00:39 +0000
Re: What Thinkest Thou Of LO Donate Banner? c186282 <c186282@nnada.net> - 2025-11-23 23:46 -0500
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-24 15:45 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-24 20:59 +0100
Re: What Thinkest Thou Of LO Donate Banner? ALB <alb@lupinedb.org> - 2025-11-25 19:38 -0500
Re: What Thinkest Thou Of LO Donate Banner? The Natural Philosopher <tnp@invalid.invalid> - 2025-11-26 13:35 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-26 15:12 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-26 15:10 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 15:14 +0100
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-16 02:56 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-16 05:40 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 15:13 +0100
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-20 22:23 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-21 13:05 +0100
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-21 15:35 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-23 03:19 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-23 05:16 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-23 23:23 +0000
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-24 00:33 +0000
Re: What Thinkest Thou Of LO Donate Banner? Gremlin <nobody@haph.org> - 2025-11-23 03:19 +0000
Re: What Thinkest Thou Of LO Donate Banner? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-23 22:05 +0100
Re: What Thinkest Thou Of LO Donate Banner? Brock McNuggets <brock.mcnuggets@gmail.com> - 2025-11-24 02:24 +0000
csiph-web