[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Hacks for getting around CONFIG_HZ
- To: Libevent MailingList <libevent-users@xxxxxxxx>
- Subject: [Libevent-users] Hacks for getting around CONFIG_HZ
- From: "Marco P." <marco.tijuana@xxxxxxxxx>
- Date: Thu, 8 Oct 2009 10:26:58 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Thu, 08 Oct 2009 04:27:03 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=0HLnEt4LL8w4SDS/P0w48AaLlvNmzdZo1CzK65NxSTI=; b=tZoDqrVghzbFfPfgKgiPMHIepqTZbb8zfgzo7PcBHJ181jxj9mfojUDyzaXtsl203T OTk+AuHNEM1SU/yltQVEtYWN3fiSZt6btz3sbBflcfSdxcwCOxDwU9EFFFjeek/UNksB 1n3pS1YXnECePUdJddDvcwPaCWDDCVJthYeuI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=n2x8O8Yo587n2cA8VAE01X6vqf25aEgZimPO4SJREhd64ogjJKfYlNCocOGf+WOguA cq2y9skmKL2TvGigv2zb+zvI6iotHk9xM1bscv/ESh6rqULtIDBDCj14h3M09Of3ZDck OOAkxINjJhLZUE+a4b7fZ2URtXCFYFTZnUTLw=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hello everyone,
i recently stumbled upon the CONFIG_HZ linux kernel parameter.
It is set to 250 on the system I'm using, meaning that if I create a
timed event that tries to fire as fast as possible, it will be
triggered at most 250 times for each second, or every 4 milliseconds.
I know this is unlikely, but do you know any hack to get around this?
i.e. increase the frequency without modifying the kernel configuration
and rebooting, I can't do that!)
Regards,
Marco
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.