HD overheating

2005-08-01 Thread Erez D
hi

my linux box is a PVR using mythtv
my big problem is that the HD is overheating (i can fry an egg on it)
as i can not really give it better cooling, i wonder if there is a way to make it generate less heat
for example by tweaking the kernel or so 
( e.g. make it read the whole file to ram, and spinoff the disk, etc..)

anyone ?

thanks
erez.


Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Gilboa Davara
Interesting... we're having a similar discussion under the title "File
I/O within kernel thread"

On Sun, 2005-07-31 at 11:35 -0400, Rami Rosen wrote:
> Hi, 
> NAPI (New API) is a technique to improve network performance on Linux.
> It is not so "new"  (relatively) - first howto is from 16/2/2002.
> 
> In a really very brief descriptiom  , it uses polling intsead of
> interrupts in some scenarios.
> This polling is done for receiving packets (the network card must  be
> able to disbale interrupts).
> Transmitting packets is done as usual, by asserting interrupts. 
> Polling is usually discouraged in linux device drivers , but there are
> cases (like when the interrupt rate is very high) in which this
> technique can improve
> performance.
> 
> My question is: 
> 1) does anybody have an experience with this technique ? 
> what is the threshold (of k packets for a second) from which it
> became efficinet
> to use NAPI over usual non-NAPI solutions ? 
> (I am talking about Xeon processor ~2.4 Ghz , but also data on
> other prcoessors can help)
> 

Worlds apart.
Non NAPI drivers simply interrupt storm themselves to death under near
GbE  loads.
I'm guessing here, but at around 70,000 interrupts per second (FE load,
~100Mbps) you'll be spending most of your CPU time inside the driver's
interrupt handler.
While NAPI added additional load and latency under close to idle-loads,
once you cross the FE border line, the added cycles and latency simply
becomes irrelevant.

> 2) Specically regarding NAPI and Broadcom cards: 
>  On many distrubutins, the Broadcom BCM5700  family of Network
Drivers
>  uses the tg3 driver. ( Tigon3 ethernet driver,
in /linux/drivers/net/tg3.c)

Tg3 has NAPI support since 2.4.2x (Though I'm not sure about the "when"
business).
In general, while the Intel e1000 seem to behave better under very high
utilization (better hardware?) both should handle full Gb RX when NAPI
is enabled at an acceptable CPU utilization. (Read: You'll have enough
CPU time to do something useful with the incoming packets)

> 
>  On broadcom website there is a driver for linux that they wrote
for Linux.
> http://www.broadcom.com/drivers/downloaddrivers.php
> (the BCM57xx Drivers). 
> 
> Is there any advantage of using the Broadcom drivers to using the tg3
driver ? 
> (and does the kernel version - 2.4 or 2.6 - has any importance in this
respect?)
> 

I found the tg3 to work just fine.
Never tested the broadcom driver, though. So YMMV.

Gilboa


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HD overheating

2005-08-01 Thread Matan Ziv-Av

On Mon, 1 Aug 2005, Erez D wrote:


hi

my linux box is a PVR using mythtv
my big problem is that the HD is overheating (i can fry an egg on it)
as i can not really give it better cooling, i wonder if there is a way to
make it generate less heat
for example by tweaking the kernel or so
( e.g. make it read the whole file to ram, and spinoff the disk, etc..)

anyone ?


If it's overheating while idle, then you should probably replace it with 
a less demanding HD (maybe a 2.5"? they use a lot less power).


Otherwise, you can use hdparm -S to set a short timeout, and 
configure your applications for a large buffer. The kernel is not the 
corerct place for this, since the kernel can't know in advance when the 
application will want more data, so you will need to wait for the disk 
to spin up (again, laptop drives usually spin up faster).



--
Matan Ziv-Av. [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Sendmail performance tuning

2005-08-01 Thread Larry Weisberg
Thanks.

On 7/31/05, Ira Abramov <[EMAIL PROTECTED]> wrote:
> Quoting Larry Weisberg, from the post of Sun, 31 Jul:
> > Is there a mailing list (other than this list) to post questions about
> > performance tuning of sendmail?  Alternatively, is there anyone out
> 
> I'd google for it, and try sendmail.org actually...
> 
> 
> > there who has significant experience with performance tuning of
> > Sendmail (preferrably on Debian) who might be interested in a few
> > hours of consulting work?
> 
> I wouldn't touch it with a long pole, it's an annoying piece of
> spaghetty. If performance is your main parameter, consider looking at
> Qmail and other modern options.
> 
> --
> Much ado about nothing
> Ira Abramov
> http://ira.abramov.org/email/
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
>

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HD overheating

2005-08-01 Thread Erez D
[EMAIL PROTECTED] ~==# hdparm -S 240 /dev/sda
/dev/sda:
 setting standby to 240 (20 minutes)
 HDIO_DRIVE_CMD(setidle1) failed: Inappropriate ioctl for device
[EMAIL PROTECTED] ~==# On 8/1/05, Matan Ziv-Av <[EMAIL PROTECTED]> wrote:
On Mon, 1 Aug 2005, Erez D wrote:> hi>> my linux box is a PVR using mythtv> my big problem is that the HD is overheating (i can fry an egg on it)> as i can not really give it better cooling, i wonder if there is a way to
> make it generate less heat> for example by tweaking the kernel or so> ( e.g. make it read the whole file to ram, and spinoff the disk, etc..)>> anyone ?If it's overheating while idle, then you should probably replace it with
a less demanding HD (maybe a 2.5"? they use a lot less power).Otherwise, you can use hdparm -S to set a short timeout, andconfigure your applications for a large buffer. The kernel is not thecorerct place for this, since the kernel can't know in advance when the
application will want more data, so you will need to wait for the diskto spin up (again, laptop drives usually spin up faster).--Matan
Ziv-Av.
[EMAIL PROTECTED]


Re: chumash for lin?

2005-08-01 Thread Moshe Wagner
Although not exactly your plan, since I thought of the gmara as a
start, I was planning to do something with "Tzurat hadaf" (see my
thread about it here: http://whatsup.org.il/forum/21609)
If anyone can give me a hand on it, it might actually get somewhere
(for on my own I am not accomplishing much).

Back to original subject, in the thread there are links to some
sources in Hebrew, witch you might want to check out.

Moshe

On 7/28/05, Aaron <[EMAIL PROTECTED]> wrote:
> Hi again,
> I read the crosswire site, and I didn't see any hebrew.
> I also am not sure what advantage there is to using their project.
> And boy they use an inacurate translation
> 
> that said.
> I am certainly interested in being part of any project to have linux and 
> torah work together.
> I good first start would be chumash with rashi interactive if possible.
> right now there are few religous jews using linux because all that software 
> is on win.
> In either case count me in.
> 
> 
> Aaron
> On Thu, Jul 28, 2005 at 08:17:54AM +0300 or thereabouts, Aaron wrote:
> > Hi all,
> >
> > I was wondering if any classic Jewish texts, chumash mishnah etc are 
> > available for linux.
> > I am looking for study material for my daughter who has a test in chumash. 
> > Has anyone written an application for torah study on linux?
> >
> > thanks
> > Aaron
> >
> > =
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
>

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HD overheating

2005-08-01 Thread Erez D
not scsi,
its SATAOn 8/1/05, Matan Ziv-Av <[EMAIL PROTECTED]> wrote:
nOn Mon, 1 Aug 2005, Erez D wrote:> [EMAIL PROTECTED] ~==# hdparm -S 240 /dev/sda> /dev/sda:> setting standby to 240 (20 minutes)> HDIO_DRIVE_CMD(setidle1) failed: Inappropriate ioctl for device
> [EMAIL PROTECTED] ~==#/dev/sda ???Putting a SCSI HD in a PVR is an extremely unsmart option.--Matan
Ziv-Av.
[EMAIL PROTECTED]


Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Gilad Ben-Yossef


My question is: 
1) does anybody have an experience with this technique ? 

Yes.

what is the threshold (of k packets for a second) from which it
became efficinet
to use NAPI over usual non-NAPI solutions ? 
(I am talking about Xeon processor ~2.4 Ghz , but also data on

other prcoessors can help)


That's the wrong question. The right question is - what is the 
threshhold of packet per seconds (or interrupt per seconds) that I 
should set NAPI to go to polling mode?


NAPI is adaptive, that's the entire idea - you can set the threshhold 
yourself.




2) Specically regarding NAPI and Broadcom cards: 
 On many distrubutins, the Broadcom BCM5700  family of Network Drivers

 uses the tg3 driver. ( Tigon3 ethernet driver, in /linux/drivers/net/tg3.c)

 On broadcom website there is a driver for linux that they wrote for Linux.
http://www.broadcom.com/drivers/downloaddrivers.php
(the BCM57xx Drivers). 

Is there any advantage of using the Broadcom drivers to using the tg3 driver ? 
(and does the kernel version - 2.4 or 2.6 - has any importance in this respect?)



Basically, Broadcam wrote the BCM57xx driver first and it... ehm... did 
not live up to kernel maintainers taste, so they hacked it up until it 
looked like something that they are willing to accept into the tree, 
whereupon it got renamed as tg3.


The only problem is that the Broadcom people update their BCM version 
with newer versions of the chipset form time to time.


Basically, my rule to use either one is this - if your hardware works 
with the tg3 drivers use that. Otherwise, use the BCM one.


Cheers,
Gilad

--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
IL: +972.9.8650475 ext. 201  | Fax:+972.9.8850643
US: +1.360.2275194 ext. 201  | Cel:   +972.52.8260388

"I am Jack's Overwritten Stack Pointer"
-- Hackers Club, the movie

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: chumash for lin?

2005-08-01 Thread Aaron
Hmn,
so much hebrew in the thread but if I understand correctly the idea is to 
produce an eletronic version of a daf in its normal visual layout.

I didn't read the whole thread but if it involves xml/css/xsl-fo I would be 
interested.

There is a gemara my boys used that colors the various parts of a sugia as 
well, which would be interesting.

I actually am less interested in just the plain texts as in programs to drill, 
test and teach these texts.

The reason is that the texts are available albeit not in correctly formatted 
hebrew/aramaic.
But all the development of torah learning/games etc. seems only to be in 
windows.

I haven't checked out the current status of xml and hebrew but this seems to me 
to be a way I would go. 

to create a gemara schema and a script to tag the text and then use either css 
or xsl to format it

Aaron

On Mon, Aug 01, 2005 at 11:15:54AM +0200 or thereabouts, Moshe Wagner wrote:
> Although not exactly your plan, since I thought of the gmara as a
> start, I was planning to do something with "Tzurat hadaf" (see my
> thread about it here: http://whatsup.org.il/forum/21609)
> If anyone can give me a hand on it, it might actually get somewhere
> (for on my own I am not accomplishing much).
> 
> Back to original subject, in the thread there are links to some
> sources in Hebrew, witch you might want to check out.
> 
> Moshe
> 
> On 7/28/05, Aaron <[EMAIL PROTECTED]> wrote:
> > Hi again,
> > I read the crosswire site, and I didn't see any hebrew.
> > I also am not sure what advantage there is to using their project.
> > And boy they use an inacurate translation
> > 
> > that said.
> > I am certainly interested in being part of any project to have linux and 
> > torah work together.
> > I good first start would be chumash with rashi interactive if possible.
> > right now there are few religous jews using linux because all that software 
> > is on win.
> > In either case count me in.
> > 
> > 
> > Aaron
> > On Thu, Jul 28, 2005 at 08:17:54AM +0300 or thereabouts, Aaron wrote:
> > > Hi all,
> > >
> > > I was wondering if any classic Jewish texts, chumash mishnah etc are 
> > > available for linux.
> > > I am looking for study material for my daughter who has a test in 
> > > chumash. Has anyone written an application for torah study on linux?
> > >
> > > thanks
> > > Aaron
> > >
> > > =
> > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > the word "unsubscribe" in the message body, e.g., run the command
> > > echo unsubscribe | mail [EMAIL PROTECTED]
> > 
> > =
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> > 
> >
> 
> To 
> unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Muli Ben-Yehuda
On Mon, Aug 01, 2005 at 02:32:28PM +0300, Gilad Ben-Yossef wrote:

> The only problem is that the Broadcom people update their BCM version 
> with newer versions of the chipset form time to time.

I've seen several patches to tg3 from broadcom engineers, so hopefully
tg3 supports everything as well.

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: low-level formatting?

2005-08-01 Thread Karasik, Vitaly
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Amos Shapira
> Sent: Monday, August 01, 2005 3:04 AM
> To: linux-il
> Subject: low-level formatting?
> 
> Hello,
> 
> Running "badblocks -n" on my hard drive I found a couple 
> hundred of bad blocks, apparently pretty well concentrated in 
> two areas.
> 
> I intend to buy a new drive but still trying to make use of 
> this 80Gb Maxtor drive I googled for "low level format" (the 
> type that asks the drive itself to map bad blocks without the 
> OS intervention) and found only text like "in the old days it 
> was possible, today only the factory can do this".
> 
> Is this true?  Is my only option now is to mkfs which reads 
> the output of badblocks(8)?

According to e2fsck manpage, you should run fsck -cc (man e2fsck) for
marking bad blocks.
I haven't tried this.

Rgds,
Vitaly
***
Information contained in this email message is intended only for use of the 
individual or entity named above. If the reader of this message is not the 
intended recipient, or the employee or agent responsible to deliver it to the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify the [EMAIL 
PROTECTED] and destroy the original message.
***

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: Apache access problem

2005-08-01 Thread Karasik, Vitaly
> That doesn't seem to be the problem:
> 
> 1 - As far as I know, apache is running as group apache and 
> there's no problem with the group definition (or with any 
> other group definition).
> 
> [EMAIL PROTECTED] solomon]$ cat /etc/group|grep apache
> apache:x:78:
> 
> 2 - I'm talking about one machine here so the possibility for 
> different groups on different machines is not relevant.
> 
> 3 - Even if there had been a problem as described above, I 
> don't see why it would cause the permission problem since, as 
> I already wrote, all the directories in the path have the 
> search bit (x) set for owner, group and other.
> 
> > >[EMAIL PROTECTED] solomon]$ ls -lad /var/www/html drwxr-xr-x  15 
> > >apache apache 720 Jul 31 00:07 /var/www/html/
> > >[EMAIL PROTECTED] solomon]$ ls -lad /var/www drwxr-xr-x  11 apache 
> > >apache 272 Jan 23  2005 /var/www/
> > >[EMAIL PROTECTED] solomon]$ ls -lad /var drwxr-xr-x  27 
> root root 680 
> > >Jan 31 20:09 /var/


Shlomo,

Can you please re-check (DocumentRoot in httpd.conf) that Apache is
looking under /var/www/html for docs? BTW, there is some problem with
server-status too. Where is your Apache ServerRoot? What about
permissions for this dir?

Rgds,
Vitaly

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Gilad Ben-Yossef

Muli Ben-Yehuda wrote:

On Mon, Aug 01, 2005 at 02:32:28PM +0300, Gilad Ben-Yossef wrote:


The only problem is that the Broadcom people update their BCM version 
with newer versions of the chipset form time to time.



I've seen several patches to tg3 from broadcom engineers, so hopefully
tg3 supports everything as well.




hmpf... maybe they just decided to support both, or maybe, seeing as 
both drivers are GPLed the broadcom blokes are simple doing the Right 
Thing (tm).


Donno.

Gilad

--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
IL: +972.9.8650475 ext. 201  | Fax:+972.9.8850643
US: +1.360.2275194 ext. 201  | Cel:   +972.52.8260388

"I am Jack's Overwritten Stack Pointer"
-- Hackers Club, the movie

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Need Computer Monitors for APCHII

2005-08-01 Thread Lior Kesos
I'll bring 4 monitors, happily lent out from aduva.
Will there be a possability to bring the car close to the booth so I
can put them there?
I'll need some help with the "naglot" as well.
What hour do I need to show up at thursday for the setup?

rgards -
Lior.


On 7/31/05, Aviram Jenik <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> For the upcoming August Penguin Hacking Contest (APCHII) we need 6 computer
> monitors. If you have a computer monitor (17" is preferred) that you can
> bring with you to the contest (if it's not clear - the monitor will be
> returned to you afterwards...) please let me know.
> 
> All monitor contributors will get an APCHII T-shirt :-)
> 
> - Aviram
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 


-- 
Peace Love and Penguins -
Lior Kesos

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: chumash for lin?

2005-08-01 Thread Moshe Wagner
Thanks for the reply.

The project is basically about making a program to display the daf,
from a text file that includes the text and the display data (in
apposed to an image).
There were thoughts about using CSS, but i am don't think it covers
what the program needs (if you think it can, please tell me).

The project isn't supposed to be used for different displays of the
daf such as coloring, it is only for displaying the daf, it, but it
will probably be easy to add stuff later if someone wants.

I agree too that Linux doesn't have enough development in this area,
and I would like to change that of course.

Moshe




On 8/1/05, Aaron <[EMAIL PROTECTED]> wrote:
> Hmn,
> so much hebrew in the thread but if I understand correctly the idea is to 
> produce an eletronic version of a daf in its normal visual layout.
> 
> I didn't read the whole thread but if it involves xml/css/xsl-fo I would be 
> interested.
> 
> There is a gemara my boys used that colors the various parts of a sugia as 
> well, which would be interesting.
> 
> I actually am less interested in just the plain texts as in programs to 
> drill, test and teach these texts.
> 
> The reason is that the texts are available albeit not in correctly formatted 
> hebrew/aramaic.
> But all the development of torah learning/games etc. seems only to be in 
> windows.
> 
> I haven't checked out the current status of xml and hebrew but this seems to 
> me to be a way I would go.
> 
> to create a gemara schema and a script to tag the text and then use either 
> css or xsl to format it
> 
> Aaron
> 
> On Mon, Aug 01, 2005 at 11:15:54AM +0200 or thereabouts, Moshe Wagner wrote:
> > Although not exactly your plan, since I thought of the gmara as a
> > start, I was planning to do something with "Tzurat hadaf" (see my
> > thread about it here: http://whatsup.org.il/forum/21609)
> > If anyone can give me a hand on it, it might actually get somewhere
> > (for on my own I am not accomplishing much).
> >
> > Back to original subject, in the thread there are links to some
> > sources in Hebrew, witch you might want to check out.
> >
> > Moshe
> >
> > On 7/28/05, Aaron <[EMAIL PROTECTED]> wrote:
> > > Hi again,
> > > I read the crosswire site, and I didn't see any hebrew.
> > > I also am not sure what advantage there is to using their project.
> > > And boy they use an inacurate translation
> > >
> > > that said.
> > > I am certainly interested in being part of any project to have linux and 
> > > torah work together.
> > > I good first start would be chumash with rashi interactive if possible.
> > > right now there are few religous jews using linux because all that 
> > > software is on win.
> > > In either case count me in.
> > >
> > >
> > > Aaron
> > > On Thu, Jul 28, 2005 at 08:17:54AM +0300 or thereabouts, Aaron wrote:
> > > > Hi all,
> > > >
> > > > I was wondering if any classic Jewish texts, chumash mishnah etc are 
> > > > available for linux.
> > > > I am looking for study material for my daughter who has a test in 
> > > > chumash. Has anyone written an application for torah study on linux?
> > > >
> > > > thanks
> > > > Aaron
> > > >
> > > > =
> > > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > > the word "unsubscribe" in the message body, e.g., run the command
> > > > echo unsubscribe | mail [EMAIL PROTECTED]
> > >
> > > =
> > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > the word "unsubscribe" in the message body, e.g., run the command
> > > echo unsubscribe | mail [EMAIL PROTECTED]
> > >
> > >
> >
> > To 
> > unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
>

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: HD overheating

2005-08-01 Thread Matan Ziv-Av

On Mon, 1 Aug 2005, Erez D wrote:


not scsi,
its SATA


In that case, look at 
http://sourceforge.net/mailarchive/forum.php?thread_id=6367328&forum_id=12495

or http://sg.torque.net/sg/sdparm.html

Supposedly, the drive does have standby timer, but I don't know of a way 
to access it from linux.


Still, the problem is with the hardware. Check how much power your drive 
uses in idle mode, and replace it with a drive that uses less.



--
Matan Ziv-Av. [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Rami Rosen
Hi,

>I've seen several patches to tg3 from broadcom engineers, so hopefully
 > tg3 supports everything as well.

Well ,I must admt  when I posted the original message, I had looked at 
the tg3.c only in 2.4.20-8 kernel (since I inteneded then to test only
in 2.4.20.* kenels) and I saw in the beginning of the file only
David S. Miller (of RH) and Jeff Garzik as authors , and no mention of
Broadcom invlovemrnt.
Following the answers I got I had looke at a newer kernel ; (2.6.12-rc3)
and there wasn't  a changes detail description there  (as sometimes do
occur), but the following lines were added:

* Copyright (C) 2004 Sun Microsystems Inc.
* Copyright (C) 2005 Broadcom Corporation. *
* Firmware is:
*  Copyright (C) 2000-2003 Broadcom Corporation.
 
So I assume that they Broadcom added something (starting somewhere in
etween these 2 versions) without specifying exactly what.

Best thing will probably test also with a new kernel, with both
drivers ,tg3.c and the bcm5700, in all scenarios.

Regards,
Rami Rosen



On 8/1/05, Gilad Ben-Yossef <[EMAIL PROTECTED]> wrote:
> Muli Ben-Yehuda wrote:
> > On Mon, Aug 01, 2005 at 02:32:28PM +0300, Gilad Ben-Yossef wrote:
> >
> >
> >>The only problem is that the Broadcom people update their BCM version
> >>with newer versions of the chipset form time to time.
> >
> >
> > I've seen several patches to tg3 from broadcom engineers, so hopefully
> > tg3 supports everything as well.
> >
> 
> 
> hmpf... maybe they just decided to support both, or maybe, seeing as
> both drivers are GPLed the broadcom blokes are simple doing the Right
> Thing (tm).
> 
> Donno.
> 
> Gilad
> 
> --
> Gilad Ben-Yossef <[EMAIL PROTECTED]>
> Codefidence. A name you can trust(tm)
> Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
> IL: +972.9.8650475 ext. 201  | Fax:+972.9.8850643
> US: +1.360.2275194 ext. 201  | Cel:   +972.52.8260388
> 
> "I am Jack's Overwritten Stack Pointer"
> -- Hackers Club, the movie
>

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Marc A. Volovic
Quoth Rami Rosen:

> Best thing will probably test also with a new kernel, with both
> drivers ,tg3.c and the bcm5700, in all scenarios.

Admittedly, we have not played with 2.4.x with the tg3 driver, but all
tests we did on 2.6.x (x > 10) indicate that the tg3 fails to hold its own
when hammered by many interrupts.

M

-- 
---MAV
Marc A. Volovic [EMAIL PROTECTED]
Swiftouch, LTD +972-544-676764

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: chumash for lin?

2005-08-01 Thread Aaron
Nice but hebrew is my second language so for me to be involved the language of 
communication should be english.
I have a friend who programs torah stuff for windows I will ask him if he is 
interested in working on some lin projects, although he thinks about $ so I am 
not sure.

Aaron

On Mon, Aug 01, 2005 at 03:17:01PM +0200 or thereabouts, Moshe Wagner wrote:
> Thanks for the reply.
> 
> The project is basically about making a program to display the daf,
> from a text file that includes the text and the display data (in
> apposed to an image).
> There were thoughts about using CSS, but i am don't think it covers
> what the program needs (if you think it can, please tell me).
> 
> The project isn't supposed to be used for different displays of the
> daf such as coloring, it is only for displaying the daf, it, but it
> will probably be easy to add stuff later if someone wants.
> 
> I agree too that Linux doesn't have enough development in this area,
> and I would like to change that of course.
> 
> Moshe
> 
> 
> 
> 
> On 8/1/05, Aaron <[EMAIL PROTECTED]> wrote:
> > Hmn,
> > so much hebrew in the thread but if I understand correctly the idea is to 
> > produce an eletronic version of a daf in its normal visual layout.
> > 
> > I didn't read the whole thread but if it involves xml/css/xsl-fo I would be 
> > interested.
> > 
> > There is a gemara my boys used that colors the various parts of a sugia as 
> > well, which would be interesting.
> > 
> > I actually am less interested in just the plain texts as in programs to 
> > drill, test and teach these texts.
> > 
> > The reason is that the texts are available albeit not in correctly 
> > formatted hebrew/aramaic.
> > But all the development of torah learning/games etc. seems only to be in 
> > windows.
> > 
> > I haven't checked out the current status of xml and hebrew but this seems 
> > to me to be a way I would go.
> > 
> > to create a gemara schema and a script to tag the text and then use either 
> > css or xsl to format it
> > 
> > Aaron
> > 
> > On Mon, Aug 01, 2005 at 11:15:54AM +0200 or thereabouts, Moshe Wagner wrote:
> > > Although not exactly your plan, since I thought of the gmara as a
> > > start, I was planning to do something with "Tzurat hadaf" (see my
> > > thread about it here: http://whatsup.org.il/forum/21609)
> > > If anyone can give me a hand on it, it might actually get somewhere
> > > (for on my own I am not accomplishing much).
> > >
> > > Back to original subject, in the thread there are links to some
> > > sources in Hebrew, witch you might want to check out.
> > >
> > > Moshe
> > >
> > > On 7/28/05, Aaron <[EMAIL PROTECTED]> wrote:
> > > > Hi again,
> > > > I read the crosswire site, and I didn't see any hebrew.
> > > > I also am not sure what advantage there is to using their project.
> > > > And boy they use an inacurate translation
> > > >
> > > > that said.
> > > > I am certainly interested in being part of any project to have linux 
> > > > and torah work together.
> > > > I good first start would be chumash with rashi interactive if possible.
> > > > right now there are few religous jews using linux because all that 
> > > > software is on win.
> > > > In either case count me in.
> > > >
> > > >
> > > > Aaron
> > > > On Thu, Jul 28, 2005 at 08:17:54AM +0300 or thereabouts, Aaron wrote:
> > > > > Hi all,
> > > > >
> > > > > I was wondering if any classic Jewish texts, chumash mishnah etc are 
> > > > > available for linux.
> > > > > I am looking for study material for my daughter who has a test in 
> > > > > chumash. Has anyone written an application for torah study on linux?
> > > > >
> > > > > thanks
> > > > > Aaron
> > > > >
> > > > > =
> > > > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > > > the word "unsubscribe" in the message body, e.g., run the command
> > > > > echo unsubscribe | mail [EMAIL PROTECTED]
> > > >
> > > > =
> > > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > > the word "unsubscribe" in the message body, e.g., run the command
> > > > echo unsubscribe | mail [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > > To 
> > > unsubscribe, send mail to [EMAIL PROTECTED] with
> > > the word "unsubscribe" in the message body, e.g., run the command
> > > echo unsubscribe | mail [EMAIL PROTECTED]
> > 
> > =
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> > 
> >
> 
> To 
> unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]


Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Gilad Ben-Yossef

Marc A. Volovic wrote:

Quoth Rami Rosen:



Best thing will probably test also with a new kernel, with both
drivers ,tg3.c and the bcm5700, in all scenarios.



Admittedly, we have not played with 2.4.x with the tg3 driver, but all
tests we did on 2.6.x (x > 10) indicate that the tg3 fails to hold its own
when hammered by many interrupts.



Did you enable NAPI?

Gilad

--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
IL: +972.9.8650475 ext. 201  | Fax:+972.9.8850643
US: +1.360.2275194 ext. 201  | Cel:   +972.52.8260388

"I am Jack's Overwritten Stack Pointer"
-- Hackers Club, the movie

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Gilboa Davara
On Mon, 2005-08-01 at 17:50 +0300, Marc A. Volovic wrote:
> Quoth Rami Rosen:
> 
> > Best thing will probably test also with a new kernel, with both
> > drivers ,tg3.c and the bcm5700, in all scenarios.
> 
> Admittedly, we have not played with 2.4.x with the tg3 driver, but all
> tests we did on 2.6.x (x > 10) indicate that the tg3 fails to hold its own
> when hammered by many interrupts.
> 
> M

As far as I remember the tg3's NAPI support is disabled by default.
Did you manually enable it?

GIlboa



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Apache access problem

2005-08-01 Thread Shlomo Solomon
On Monday 01 August 2005 06:34, Amos Shapira wrote:
> On 8/1/05, Shlomo Solomon <[EMAIL PROTECTED]> wrote:
> > That doesn't seem to be the problem:
>
> I though you settled on the decision that the problem is the
> size of the file - could you justtry to create a file of just a little
> less than 2Gb size and fetch it, then icrease the same file to
> just a little over 2Gb and try to re-fetch it?

You must have me confused with someone else. My problem is with a **tiny** web 
page in the standard location as set up by the Apache installation - less 
than 2K ;-)

[EMAIL PROTECTED] solomon]$ ls -la /var/www/html/index*
-rw-rw-r--  1 root root 1299 Jul 30 21:15 /var/www/html/index.shtml


-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail 1.7.1 (KDE 3.2.3) on LINUX Mandrake 10.1


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Apache access problem

2005-08-01 Thread Shlomo Solomon
On Monday 01 August 2005 15:52, Karasik, Vitaly wrote:
> > That doesn't seem to be the problem:
> >
> > 1 - As far as I know, apache is running as group apache and
> > there's no problem with the group definition (or with any
> > other group definition).
> >
> > [EMAIL PROTECTED] solomon]$ cat /etc/group|grep apache
> > apache:x:78:
> >
> > 2 - I'm talking about one machine here so the possibility for
> > different groups on different machines is not relevant.
> >
> > 3 - Even if there had been a problem as described above, I
> > don't see why it would cause the permission problem since, as
> > I already wrote, all the directories in the path have the
> > search bit (x) set for owner, group and other.
> >
> > > >[EMAIL PROTECTED] solomon]$ ls -lad /var/www/html drwxr-xr-x  15
> > > >apache apache 720 Jul 31 00:07 /var/www/html/
> > > >[EMAIL PROTECTED] solomon]$ ls -lad /var/www drwxr-xr-x  11 apache
> > > >apache 272 Jan 23  2005 /var/www/
> > > >[EMAIL PROTECTED] solomon]$ ls -lad /var drwxr-xr-x  27
> >
> > root root 680
> >
> > > >Jan 31 20:09 /var/
>
> Shlomo,
>
> Can you please re-check (DocumentRoot in httpd.conf) that Apache is
> looking under /var/www/html for docs? BTW, there is some problem with
> server-status too. Where is your Apache ServerRoot? What about
> permissions for this dir?

I had already checked these, but here's the info. I don't see a problem - do 
you?

[EMAIL PROTECTED] solomon]$ cat /etc/httpd/conf/httpd.conf | more
### Main Configuration Section
### You really shouldn't change these settings unless you're a guru
###
ServerType standalone
ServerRoot /etc/httpd
#ServerName localhost
#LockFile /etc/httpd/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /etc/httpd/httpd.scoreboard
ErrorLog logs/error_log
LogLevel warn
ResourceConfig /dev/null
AccessConfig /dev/null
DocumentRoot /var/www/html

[EMAIL PROTECTED] solomon]$ ls -lad /etc
drwxr-xr-x  187 root root 14112 Aug  1 05:49 /etc/
[EMAIL PROTECTED] solomon]$ ls -lad /etc/httpd
drwxr-xr-x  6 root root 232 Jun 17  2004 /etc/httpd/





-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail 1.7.1 (KDE 3.2.3) on LINUX Mandrake 10.1


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: NAPI performance ; tg3 and broadcom driver

2005-08-01 Thread Marc A. Volovic
Gilad Ben-Yossef wrote:

> Did you enable NAPI?

Both no and yes ;-)...

Tried it both ways.

M

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: chumash for lin?

2005-08-01 Thread Moshe Wagner
You can always contribute to torah projects (starting new ones or
helping existing ones) even though Hebrew is your second language, as
long as you stick to programing and not to the technical stuff like
typing in text. The language of communication is almost always English
once you get to programing itself (the thread i linked to was about
the idea and that's why it could have been in Hebrew).

You can also contact writers of existing torah programs for win that
have no profit (otherwise they wont agree), and ask them to open the
source so it can be converted to linux. once that is done i am sure
someone will be happy to convert it.

Moshe 

On 8/1/05, Aaron <[EMAIL PROTECTED]> wrote:
> Nice but hebrew is my second language so for me to be involved the language 
> of communication should be english.
> I have a friend who programs torah stuff for windows I will ask him if he is 
> interested in working on some lin projects, although he thinks about $ so I 
> am not sure.
> 
> Aaron

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



P BOF on AP4

2005-08-01 Thread Gábor Szabó
It's a new item on AP4 and I hope many people will be interested.
I am organizing a BOF called  "Using P languages To Get Your Job Done"
or in short a P BOF.
There will be several Python and Perl ppl and even some Pugs developers.

I'd be glad to many people, both those who are interested what are those 
P languages worth and others, who are already use some of these languages.

Bring your notebook and show what you can do with your P language.

http://august.penguin.org.il/lectures.html#ab6

Gabor

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: low-level formatting?

2005-08-01 Thread Amos Shapira
On 8/1/05, Karasik, Vitaly <[EMAIL PROTECTED]> wrote:
> According to e2fsck manpage, you should run fsck -cc (man e2fsck) for
> marking bad blocks.
> I haven't tried this.

That's not low-level format - what it does is to tell the filesystem code how
to avoid bad blocks. But if I want to install, e.g. a swap partition or Windows
then I might be out of luck, as there is no way to tell them to avoid the bad
blocks (that I'm aware of).

"low-level format" takes advantage of the driver's capabilities for automatic
remapping of bad blocks and just causes the drive to check all the blocks
and re-map the bad ones. Once this is done the OS above should see the
disk as a clean surface.

Thanks,

--Amos

To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: low-level formatting?

2005-08-01 Thread Tzahi Fadida
Some years ago I saw a program called spinrite that refreshed the bad
sectors of a drive
and recovered information from bad blocks (obviously marking it back
after the refresh if it
really was a bad block). Maybe that is what you want.
Other then that, if the drive encounters a bad block it automatically
either mark it
or replaces it with a block from its replacement cache (which all new
drives have).
When you see bad blocks, it usually means there is no replacement for
these and its time
to replace the drive. Many times you'll hear a drive going back and
forth which could possibly
mean there were a lot of replacements in that area of reading.

Regards,
tzahi.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Amos Shapira
> Sent: Tuesday, August 02, 2005 1:02 AM
> To: linux-il
> Subject: Re: low-level formatting?
> 
> 
> On 8/1/05, Karasik, Vitaly <[EMAIL PROTECTED]> wrote:
> > According to e2fsck manpage, you should run fsck -cc (man 
> e2fsck) for 
> > marking bad blocks. I haven't tried this.
> 
> That's not low-level format - what it does is to tell the 
> filesystem code how to avoid bad blocks. But if I want to 
> install, e.g. a swap partition or Windows then I might be out 
> of luck, as there is no way to tell them to avoid the bad 
> blocks (that I'm aware of).
> 
> "low-level format" takes advantage of the driver's 
> capabilities for automatic remapping of bad blocks and just 
> causes the drive to check all the blocks and re-map the bad 
> ones. Once this is done the OS above should see the disk as a 
> clean surface.
> 
> Thanks,
> 
> --Amos
> 
> ==
> To unsubscribe, send mail to [EMAIL PROTECTED] 
> with the word "unsubscribe" in the message body, e.g., run 
> the command echo unsubscribe | mail [EMAIL PROTECTED]
> 
> 
> 



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: low-level formatting?

2005-08-01 Thread Yedidyah Bar-David
On Tue, Aug 02, 2005 at 09:01:55AM +1000, Amos Shapira wrote:
> On 8/1/05, Karasik, Vitaly <[EMAIL PROTECTED]> wrote:
> > According to e2fsck manpage, you should run fsck -cc (man e2fsck) for
> > marking bad blocks.
> > I haven't tried this.
> 
> That's not low-level format - what it does is to tell the filesystem code how
> to avoid bad blocks. But if I want to install, e.g. a swap partition or 
> Windows
> then I might be out of luck, as there is no way to tell them to avoid the bad
> blocks (that I'm aware of).

mkswap also has '-c'. In windows I think that doing a full (not quick)
format will also find and mark bad blocks.

I would still be interested in an answer to your question.
I know (and used) such tools for SCSI disks, not IDE.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]